Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem using a DLL
Message
From
19/11/1997 19:29:37
 
 
To
19/11/1997 19:11:15
General information
Forum:
Visual Basic
Category:
ActiveX controls
Miscellaneous
Thread ID:
00061055
Message ID:
00061283
Views:
37
>The dim command only reserves memory locations for the Class
>
>To actually have something created as a Myproperty object you must use the Set MyProperty = New MyFormClass
>
>This will create a new object MyProperty containing MyFormClass.
>
>Until you used the set command MyProperty contains nothing.
>
>Think of it in the same way as if you would use a database
>
>Dim Mydb as database 'reserves memory space into which you can put a database object.
>
>Set Mydb = Opendatabase("DatabaseNAme") 'actually opens the database in the reserved space for it.
>
>You need to do the same.
>I think ;-), haven't tested it for you though ;-)

Thanks, I will try you suggestion.

I'm used to oObject=CREATEOBJECT('MyClass') and I need to get use to VB syntax. :)
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Previous
Reply
Map
View

Click here to load this message in the networking platform