Appendix A. Controls in Visual Basic

This appendix lists Visual Basic properties (P), events (E), and methods (M) and their behavior in Visual Basic .NET for commonly used controls. The following tables compare controls in Visual Basic 6.0 and Visual Basic .NET.

App Object

Table A-1. App Object

VB 6.0

VB.NET

P/E/M

Upgrade Results

Status

App

App

Comments

 

Supported

  

CompanyName

 

Supported

EXEName

 

Supported

FileDescription

 

Supported

HelpFile

Compile errors

Not supported

Hinstance

 

Supported

LegalCopyright

 

Supported

LegalTrademarks

 

Supported

LogEvent method

Compile errors

Not supported

LogMode

Compile errors

Not supported

LogPath

Compile errors

Not supported

Major

 

Supported

Minor

 

Supported

NonModalAllowed

Compile errors

Not supported

OleRequestPendingMsgText

Compile errors

Not supported ...

Get Migrating to .NET: A Pragmatic Path to Visual Basic .NET, Visual C++ .NET, and ASP.NET now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.