App

App

No direct equivalent to upgrade to. Individual properties and methods are upgraded as shown in the table.

Visual Basic 6

Type

Visual Basic .NET

Type

Comments

Property

System.Diagnostics.FileVersionInfo.GetVersionInfo(System.Reflection.Assembly.GetExecutingAssembly.- Location).Comments

Method

CompanyName

Property

System.Diagnostics.FileVersionInfo.GetVersionInfo(System.Reflection.Assembly.GetExecutingAssembly.Location).CompanyName

Method

EXEName

Property

VB6.GetEXEName

Method

FileDescription

Property

System.Diagnostics.FileVersionInfo.GetVersionInfo(System.Reflection.Assembly.GetExecutingAssembly.- Location).FileDescription

Method

HelpFile

Property

No mapping

HInstance

Property

VB6.GetHInstance

Method

LegalCopyright

Property

System.Diagnostics.FileVersionInfo.GetVersionInfo(System.Reflection.Assembly.GetExecutingAssembly.- Location).LegalCopyright

Method

LegalTrademarks

Property

System.Diagnostics.FileVersionInfo.GetVersionInfo(System.Reflection.Assembly.GetExecutingAssembly.- Location).LegalTrademarks

Method

LogEvent

Method

No mapping

LogMode

Property

No mapping

LogPath

Property

No mapping

Major

Property

System.Diagnostics.FileVersionInfo.GetVersionInfo(System.Reflection.Assembly.GetExecutingAssembly.- Location).FileMajorPart

Method

Minor

Property

System.Diagnostics.FileVersionInfo.GetVersionInfo(System.Reflection.Assembly.GetExecutingAssembly.- Location).FileMinorPart

Method

NonModalAllowed

Property

No mapping

OleRequestPendingMsgText

Property

No mapping

OleRequestPendingMsgTitle

Property

No mapping

OleRequestPendingTimeout

Property

No mapping

OleServerBusyMsgText

Property

No mapping

OleServerBusyMsgTitle

Property

No mapping

OleServerBusyRaiseError

Property

No mapping

OleServerBusyTimeout

Property

No mapping

Path

Property

VB6.GetPath

Method

PrevInstance (Boolean)

Property

UBound(Diagnostics.Process.GetProcessesByName(Diagnostics.Process.- GetCurrentProcess.ProcessName)) > 0

Expression

ProductName

Property

System.Diagnostics.FileVersionInfo.GetVersionInfo(System.Reflection.Assembly.GetExecutingAssembly.- Location).ProductName

Method

RetainedProject

Property

No mapping

Revision

Property

No mapping

StartLogging

Method

No mapping

StartMode

Property

No mapping

TaskVisible

Property

No mapping

ThreadID

Property

No mapping

Title

Property

System.Reflection.Assembly.GetExecutingAssembly.GetName.Name

No mapping for Set

Method

UnattendedApp

Property

No mapping



Upgrading Microsoft Visual Basic 6.0to Microsoft Visual Basic  .NET
Upgrading Microsoft Visual Basic 6.0 to Microsoft Visual Basic .NET w/accompanying CD-ROM
ISBN: 073561587X
EAN: 2147483647
Year: 2001
Pages: 179

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net