Click here to Skip to main content
15,895,667 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I am a newbie with dotnet.I have a project its an hospital management system.When i copy and paste the exe of the software on the desktop and click on it it just doesnot work.However when i create a shortcut of the same exe on the desktop and click on the shortcut it works just fine.I dont want to keep my code on the clients computer.How can i make my exe work on client computer where i have all the required softwares already installed to support the application.Any help would really be appreciated.
Thanks in advance.
Gourav Sharma.
Posted
Comments
Sergey Alexandrovich Kryukov 9-Feb-13 1:23am    
It does not see to make much sense but... Is it only one executable file, do DLLs or something? If you copy 1 exe file along and there is something else of course it should not work.
—SA

1 solution

right click on exe ==> property==> compatibility ==> check run this program as an administrator
 
Share this answer
 
Comments
Gourav Sharma from Jammu 9-Feb-13 2:02am    
Mr Patel I have already done that but it just doenot showup at all...
Mr. Mahesh Patel 10-Feb-13 23:16pm    
Is there any dependency of that exe?
If any dependency is there, you should have to put that dependency with it.
Please check for any dependency like DLL, OCX files...

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900