Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem using a DLL
Message
From
24/11/1997 11:05:06
 
 
To
22/11/1997 19:43:29
Nicolas Bastien
Point Exe Informatique Inc.
Montréal, Quebec, Canada
General information
Forum:
Visual Basic
Category:
ActiveX controls
Miscellaneous
Thread ID:
00061055
Message ID:
00061939
Views:
42
>You could declare your variable as
>
> Dim MyProperty as MyServer.MyFormClass
>
>And you could direcly instiance your object by using :
> Dim MyProperty as new MyFormClass
>Or
> Dim MyProperty as new MyServer.MyFormClass

I can now execute the dim line. However, the set line returns "Invalid use of New keyword".

Dim MyProperty As fournier.maforme
Set MyProperty = New fournier.maforme
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
Next
Reply
Map
View

Click here to load this message in the networking platform