Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Creating DLL
Message
From
09/05/2003 00:27:25
 
General information
Forum:
Visual Basic
Category:
ActiveX controls
Title:
Miscellaneous
Thread ID:
00786601
Message ID:
00786630
Views:
26
Hi Eric .. one more question.. what the difference if I use below code:

private myobj as object

private sub Form_load()
set myobj=createobject("mydll.class1")
end sub

private sub test()
myobj.run = true
myobj.var1=450
myobj.formula=2
myobj.constant=10
msgbox myobj.result
end sub

private sub Form_unload(cancel as integer)
set myobj=nothing
end sub

and what is your suggestion?

thanks and have a nice day

Regards
Winan
Previous
Reply
Map
View

Click here to load this message in the networking platform