Deployment and Environment Information
The My.Application
property basically allows managing the following environment information:
• Getting information on the ClickOnce deployment for the current application
• Retrieving environment variables
• Writing entries to the Windows Applications log
• Retrieving command line arguments
Next you see in detail how you can get/set such information using My.Application
.
Deployment Information
It can be useful to get information on the state of the deployment if your application has been installed via the ClickOnce technology (discussed in detail in Chapter 55, “Deploying Applications with ClickOnce”). You might want to provide the ability of downloading files on-demand or to implement additional behaviors ...
Get Visual Basic® 2010 Unleashed now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.