Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 4 years ago.
Improve this question
I am working on c# winforms.
after installing the application, if I keep the application open everyday without closing it,i want it to refresh data automatically.
I am using datetimepicker and getting data from files.
if the files are added into the folder it should be automatically update n keep running the application. Also wanted date to update everyday if application is open all the time.
Please help.
Use the timer control to achieve this. you can set interval time property.
if the files are added into the folder it should be automatically
update n keep running the application
For this use FileSystemWatcher Class.
Have you thought of writing a Windows Service which can run continuously and do all the update?This Windows app can just consume the Windows Service and whenever opened,will fetch the latest data.Simple!
Related
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
I want to create windows phone 8.1 silverlight app in offline mode.
Is there any way?
Please tell me. Any help would be greatly appreciated.
This is not an answer which will show you code, but just the high-level design that could be possible.
You want to display some data
Check if you have internet
2.1 If you do, check if you want to update (do you update every time you can, or do you update every X tries, X seconds, ...)
2.1.1 When you fetch the data, store it in a file or database.
2.2 If you don't, check if you have the result in a file or database
Show the data you got in step 2.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I am a novice software developer and I am building desktop applications using C#. I want to make my applications expire and generate a license file to activate the application after it expires. Meaning I want to include a time bomb to all my applications and detonate it by using the generated license file.
There are many ways to achieve this - the .NET-Way is described here in this MSDN-Article:
How to: License Components and Controls
If you are developing a windows 8 app and you want to find out a way to create a trial version of your app then I think the following article does a pretty good job of explaining how to do it.
http://msdn.microsoft.com/en-us/library/windows/apps/hh694065.aspx
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
I have developed an Application using C# and wpf. I also have used a cloud. So while creating an EXE, I am using the windows installer(msi). But because of this the Application is taking a long time to start up on a non-admin user. It takes about 7 minutes to start where as for an Admin user it hardly takes about 10 seconds.
As far as I have searched, the non-admin need to check access to files and also copy them in the local folder and then it starts. But can someone please explain a little better? and also give some suggestions for a quick startup on the non-admin user.
this MSDN Aricle may help you.
Improving Application Startup Time by Claudio Caldato
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
I'm having trouble creating an installation program for my Winforms application. I am using the Windows Installer and the publish function. It creates a nice setup program. After I run the setup on a client machine, I want to update the App.config file to point to a different database than was used for the setup. I have this setting in the app.config file. However, I am not able to update the app.config file on the client's machine. Temporarily, I am creating a new build when I want to change the database that the application points to.
Duplicate of...
Setup App.Config As Custom Action in Setup Project
?
The answer looks good...
http://raquila.com/software/configure-app-config-application-settings-during-msi-install/
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 9 years ago.
Improve this question
I have made a C# Windows Forms application and connected it with Microsoft SQL Server.
I want to allow all machines in the LAN to use the program and connect to the SQL server but without having to set up the program on all the machines.
I wondered if I can do this with ASP.NET.
How do I do it? Are there any tutorials for this sort of task?
Anything on the difference between web forms, MVC Web API .. ETC.
It's very easy! Create an empty Web Forms project, drag controls onto it in the same manner you did with your desktop application. Then add your code, objects, logic, etc => see what you've got in the browser and if you like that publish it to the server and guess what?...RIGHT! Now it's accessible over the network without any need to install the desktop version.
Hope that answers your question.