Implement the VB6 App Object in VB.NET
Category:C#, VB.NET, ASP.NET
Author:Intelligent Solutions Inc.
Version Compatibility: Visual Basic.NET
The App Object is not supported in VB.NET. This snippet shows you to reproduce some of it's properties. You need to use two objects: FileVersionInfo from System.Diagnostics assembly (returned by GetVersionInfo Function) and Assembly from the System.Reflection assembly (returned by the GetExecutingAssembly function).
Instructions: Copy the declarations and code below and paste directly into your VB project.