Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Active X component cannot create an object !
Message
From
05/06/1998 12:57:04
 
 
To
05/06/1998 10:08:31
General information
Forum:
Visual Basic
Category:
VBScript
Miscellaneous
Thread ID:
00105124
Message ID:
00105224
Views:
33
>Hello,
>
>I created an Active X Dll an register it with 'regsvr32'. It's ok, but when i use the 'CreateObject' to instanciate the class which is in the Dll, then the following error appear : "Active X component cannot create the object".
>Is there someone who known how to resolve this problem ?
>
>Thanks in advance.

Afin d'utiliser un DLL ActiveX dans une application VB il faut:
1-Ajouter une référence au DLL (menu projet/références)
2-Déclarer une variable: DIM X as MyObj.MyClass
3-Instancier l'objet: Set X = New MyObj.MyClass

Voilà.
Guy Barrette, MCSD
============
Blog http://weblogs.asp.net/guybarrette
Microsoft Regional Director, Montreal, Canada www.microsoft.com/rd
MVP, ASP.NET http://mvp.support.microsoft.com/
President, Montreal Visual Studio User Group www.guvsm.net
INETA Regional Rep for Quebec www.ineta.org
UniversalThread Magazine Columnist (.NET Books Review Column) www.utmag.com
Tech Chair French Track, DevTeach 2004 & 2005 www.devteach.com
Business Architect, Microsoft Team - Nurun Inc www.nurun.com
XBox Live Gamer Tag: Slomo QC CA
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform