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 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.