Home
VB Migration Partner
Resources
Migration services
FAQ
Contact us
Overview
Main features
Testimonials
Manual
Knowledge base
Troubleshooting
Code Samples
Videos
VB6 vs VB.NET language
VB6 vs VB.NET controls
White Papers
Book Chapters
Articles
VB6 Bulk Analyzer
Downloads
Our partners
Resources
VB6 vs VB.NET language
This section describes the differences between VB6 and VB.NET languages.
For a list of differences between VB6 and VB.NET controls, see
here
.
VB Keywords
#Const
#If, #ElseIf, #Else, #End If
Abs
AscB
AddressOf
AppActivate
Array
Atn
Calendar
CDate, IsDate
ChrB
Close#
Const
CreateObject
CStr, Str
CVar
CVErr
Date, Date$
Debug.Print
Declare
DefBool, DefByte, DefCur, DefDate, DefDbl, DefInt, DefLng, DefObj, DefSng, DefStr, DefVar
Dim
Dim (arrays)
Dir
DoEvents
End
EndIf
EOF#
Eqv
Erase
Error
FileAttr
FileDateTime
Format
Get#
GoSub
ImeStatus
Imp
Implements
Input#
InputB
InputBox
InstrB
IsEmpty
IsMissing
IsNull
Left
LeftB
Len
LenB
Let, Set
Line Input#
Load
LoadPicture
LoadResBitmap, LoadResData, LoadResString
LOC#
Lock#
LOF#
LSet
MidB
Mod
MsgBox
Name
Next
ObjPtr
On … GoSub
On … Goto
Open#
Option Base
Option Explicit
Option Private
Property Get, Property Let, Property Set
Print, Print#
Put#
ReDim
Rem
Return
Right
RightB
RSet
SavePicture
Seek#
Spc
Split
Sqr
Static
Stop
StrConv
String, String$
StrPtr
TAB
Time, Time$
Timer
To
Type … End Type
TypeName
TypeOf
Unload
Unlock#
UserControl
VarPtr
Wend
Width#
Write#
Language
Integer data types
Currency data type
Variant data type
Type declaration suffixes
Fixed-length strings
Conversions between Date and Double types
Conversions between String and Byte arrays
Conversions from Boolean values
VB.NET keywords
Block variables
Auto-instancing variables
Auto-instancing arrays
Parameter default passing mechanism
Optional parameters
ParamArray parameters
Assignments between arrays
Assignments between Structures
Structure initialization
Method calls
Late-bound method calls
Fields passed by reference to a method
Uninitialized local variables
References to methods defined in modules
Event handlers
Name collisions for Type…End Type blocks
Sub Main
Member shadowing
Null propagation
Enum member names
References to enum members
Date variables in For…Next loops
Multi-dimensional arrays in For Each…Next loops
File operations with UDTs
Collections can’t be modified inside For Each…Next loops
DAO.DBEngine object
ByVal keyword in method calls
Declare statements pointing to Visual Basic runtime
Resource files
Image format tests
Remarks starting with three apostrophes
Classes and ActiveX components
Property procedures
Properties with both Let and Set procedures
Optional parameters in Property procedures
Initialize event
Terminate event
Default properties (definitions)
Default properties (references)
Default functions
Default members and COM clients
Member description
Classes and interfaces
Fields inside interfaces
Collection classes
Public COM classes
PublicNotCreatable classes
SingleUse classes
Global classes
DataEnvironment classes
PropertyPages
UserDocuments
Sub Main in ActiveX DLL projects
MTS components
ObjectControl interface
IObjectConstruct interface
Persistable classes
InitProperties, WriteProperties, and ReadProperties events
ADO data source and data consumer classes
AddIn classes
WebClass components
DHTML Page components
Built-in objects
App
Clipboard
Collection
DataEnvironment
DataObject
Forms
LicenseInfo and Licenses
Printer and Printers
PropertyBag
Screen
VBControlExtender
External objects
Binding and BindingCollection
Dictionary
FileSystemObject
ObjectContext and SecurityProperty
RegExp
StdDataFormat and StdDataFormats
Follow
Francesco Balena on VB6 migration’s group on
search
Read
Microsoft Corp’s official case study
of a VB6 conversion using VB Migration Partner.
Code Architects and its partners offers remote and onsite
migration services
.
More details
Subscribe to our free newsletter for useful VB6 migration tips and techniques.
newsletter
To learn more about your VB6 applications, run
VB6 Analyzer
on your source code and
send us
the generated text file. You will receive a detailed report about your VB6 applications and how VB Migration Partner can help you to quickly and effectively migrate it to .NET.
Get free advice
A fully-working, time-limited Trial Edition of VB Migration Partner allows you to test it against your actual code
Get the Trial
The price of VB Migration Partner depends on the size of the VB6 application, the type of license, and other factors
Request a quote
Migrating a VB6 application in
10 easy steps
Comparing
VB Migration Partner with Upgrade Wizard
Migration tools:
Feature Comparison Table
All whitepapers
Code Architects S.r.l.
© 2024 - all rights reserved