Last time, I showed you how to adjust the application manifest to customize your application’s UAC behavior. Well, as it turns out, there’s a slight difference in this procedure if you’re using VB instead of C#. God forbid things work the same way between languages built on the same framework…
Anyway, if you’re using VB, you won’t see an option for adding an Application Manifest File. Rather than trying to add this new item, here’s what you need to do:
- Go to your project’s properties (double-click My Project in Solution Explorer).
- Click on the Application tab.
- Click View UAC Settings.
You’ll now be looking at your application’s manifest, and you can carry on as I originally described.
Wondering where these settings are saved? Well, they’re still in a manifest file, but you’ll have to do a bit more work to find it. In Solution Explorer, turn on Show All Files. Then, expand the My Project folder. You should see a file called app.manifest there. This file is created automatically the first time you click View UAC Settings, even if you don’t make any changes.
No comments:
Post a Comment