HI ALL,
How can I make exe(VS 6.0) file run as administrator in Windows 7?
I don't want the user to press right click on the file and run it as administartor, I want my exe file run as admin automaticly once he press double click on the file.
I tried to use manifest file, created .res and added to project.
Its not helped got warning project already have .res file.Newly added .res file was ignored.
Is there's some code I've to put in my submain or in the windows registry?
Or how to use manifest file in VS6.0??
3 Replies - 565 Views - Last Post: 07 February 2012 - 03:48 AM
Topic Sponsor:
#1
How can I make exe(VC++: VS6.0) file run as administrator
Posted 05 February 2012 - 12:17 PM
Replies To: How can I make exe(VC++: VS6.0) file run as administrator
#2
Re: How can I make exe(VC++: VS6.0) file run as administrator
Posted 05 February 2012 - 01:00 PM
Set the properties on the desktop shortcut to the exe
#3
Re: How can I make exe(VC++: VS6.0) file run as administrator
Posted 07 February 2012 - 02:20 AM
Thanks a lot for your reply.
End user do not want to set these thing...so I have to give option either through manifest file or providing admin privildege through the code.
Added .RES file to the project.But getting warning as
Minium.res : warning LNK4059: PRJ.res already specified; additional resource file ignored
And also Iam not sure how to embed the manifest file in Visual basic 6.0 for VC++ project.
Please help me in resolving this issue..
End user do not want to set these thing...so I have to give option either through manifest file or providing admin privildege through the code.
Added .RES file to the project.But getting warning as
Minium.res : warning LNK4059: PRJ.res already specified; additional resource file ignored
And also Iam not sure how to embed the manifest file in Visual basic 6.0 for VC++ project.
Please help me in resolving this issue..
Page 1 of 1
|
|

New Topic/Question
Reply



MultiQuote





|