Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Instantiating variables
Message
General information
Forum:
Visual Basic
Category:
Coding, syntax & commands
Title:
Instantiating variables
Miscellaneous
Thread ID:
00406736
Message ID:
00406736
Views:
44
I have no consistency in instantaiting objects, but maybe I should. Are there any advantages to using either of these:

Dim oConn As Connection, oRS As Recordset
or
Dim oConn As ADODB.Connection, oRS As ADODB.Recordset

And

Dim oBizObj As New myClass
or
Dim oBizObj As myClass
Set oBizObj = New myClass
George
Next
Reply
Map
View

Click here to load this message in the networking platform