Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem using a DLL
Message
De
19/11/1997 19:29:37
 
 
À
19/11/1997 19:11:15
Information générale
Forum:
Visual Basic
Catégorie:
Contrôles ActiveX
Divers
Thread ID:
00061055
Message ID:
00061283
Vues:
32
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform