Application slow on Startup [closed] - c#

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

Related

Windows application to run continously [closed]

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!

What is the best way to track a users usage time in Windows 7 with C# [closed]

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 7 years ago.
Improve this question
I'd like to write an app in C# (Winforms) that tracks a users time spent on their PC and if they are on it for an hour then tell them to go and have a break.
If they lock the machine then the counter is to be reset, I've seen examples of uptime for the machine and for idle time but nothing for actual time spent working at their PC.
If I can get some pointers as to the best way to accomplish this it would be appreciated. i.e .dll to use or reference etc
You could try using GetLastInputInfo for the idle time and a SessionSwitchEventHandler for the workstation lock/unlock.

How to set time expiry to windows application in c#? [closed]

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

Remote Screen Viewing application [closed]

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 looking for a way to remotely share my screen with another computer, the main problem is that I need to integrate it into my current C# application. I have been doing research and was looking for someone who has already done this.
I am thinking from my research that I will need a piece of client software installed on the target machine to view the screen.
In theory I would like to view six separate screens from one computer and if possible have the ability to control the remote screen, just to verify I do not want to have a Remote Desktop like connection but a live view of the target computer.
Hoping someone can help.
Cheers,
Ben
You may need to implement piece of remote desktop in your code. There are plenty of resources addressed this problem some of them below.
http://bobcravens.com/2009/04/create-a-remote-desktop-viewer-using-c-and-wcf/
http://www.codeproject.com/Articles/43705/Remote-Desktop-using-C-NET
http://stackoverflow.com/questions/10311770/
http://www.codeproject.com/Articles/33979/Multi-RDP-Client-NET

Setting System Clock in licensing [closed]

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 7 years ago.
Improve this question
I have developed a c# application that I wish to sell.You'll must be knowing that many people just reverse their system clock and keep using the software.How to prevent that
any ideas?
The easiest and most safe way would be to require access to the net to validate the time.
But access to the net is a strict requirement, especially for some scenarios of usage.
In alternative you could try to keep an encrypted file in which you store the last time your application was launched. If the system clock on the next launch of your application is earlier than your stored last launch something must be fishy.

Categories

Resources