Hi,
How can I add and embed manifest file in VB.net, in order to add UAC support to my application.
Hi,
How can I add and embed manifest file in VB.net, in order to add UAC support to my application.
Check this MSDN article. Create and Embed an Application Manifest (UAC)
You have to add a manifest specifying the privileges you require.
Choose Project->Add New Item..., and select Application Manifest File.
A sample manifest file will be created containing a <requestedExecutionLevel>
entry and an explanation what to do with it.
This only works with Visual Studio 2008 (and probably later).
To add the manifest to 2005, this blog entry might help. It looks rather complicated.