These VB6 features have been removed from VB.NET. They will generate an error.
- Fixed length strings and arrays.
- GOSUB and RETURN
- Defint
- the OLE container control
- There are no shape or line controls
- Dynamic Data Exhange (DDE)
- the Form.PrintForm method
- the Name property for forms and controls at run time
- DAO is no longer supported. Upgrade to ADO prior to conversion.
- Webclasses
- VB 5.0 controls
- ActiveX documents should either be rewritten as user controls or left in Visual Basic 6.0.
- The following functions will no longer return Null:
- Chr,
- Command,
- CurDir,
- Date,
- Environ,
- Error,
- Hex,
- LCase,
- LTrim,
- Oct,
- Right,
- RTrim,
- Space,
- Str,
- Time,
- Trim,
- UCase
In previous versions of Visual Basic, DefBool, DefByte, DefInt, DefLng, DefCur, DefSng, DefDbl, DefDec, DefDate, DefStr, DefObj and DefVar are used in the declarations section of a module to define a range of variables as a certain type. For example, DefInt A-C defines all variables beginning with the letter A, B, or C as an integer. Instead of using Def<type> statements, you should explicitly declare variables.
- Computed GoTo/GoSub
- Option Base
- VarPtr, ObjPtr, StrPtr
- LSet
- the As Any variable type in a Declare statement
|
MS VB 6 Upgrade Home
VB 6 Upgrade Assessment Tool
How to: Add Visual Basic 6.0 File System Controls to Your Application
VB 6 to .NET Upgrade BLOG
Help for VB 6 Users
MS Interop Forms Toolkit
Office Development with Visual Studio
Upgrading to VB 2008 |