VB6 Upgrade to VB.NET (1) APP Changes

zhaozj2021-02-17  62

VB6 Upgrade to VB.NET (1) APP Montaque

Many people don't know this change, now simply listed as follows:

Imports system.reflection.assembly

Imports system.diagnostics.fileversionInfo

'App.path

Application.Startuppath

'App.title

GetExecutingassembly.getname.name

'App.exename

GetExecutingAssembly.location

'App.major

GetversionInfo (getExecutingassembly.location) .productmajorpart

'App.minor

GetversionInfo (getExecutingassembly.Location) .productMinorpart

'App.revision

GetversionInfo (getExecutingassembly.location) .productbuildpart

'App.legalcopyrights

GetversionInfo (getExecutingassembly.location) .legalcopyright

'App.legaltrademarks

GetversionInfo (getExecutingassembly.location) .legaltrademarks

'App.companyname

GetversionInfo (getExecutingassembly.Location) .companyname

BY MONTAQUE

转载请注明原文地址:https://www.9cbs.com/read-30873.html

New Post(0)