Post

 Resources 

Console

Home | Profile | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 VBGamer
 VBGamer
 [HELP] ActiveX DLL
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

PW7962
Squire

USA
33 Posts

Posted - Jul 05 2006 :  10:39:06 AM  Show Profile  Visit PW7962's Homepage  Send PW7962 an AOL message  Reply with Quote
I have made ActiveX DLLs and tried to use ones made by other people, but I keep getting an error. The code should be %100 correct.

-I define a variable as the part of the activex dll I want it to be
dim name as dllpart
-Set the variable (This is where I get the error)
set name = new dllpart
-Unload the variable
set name = nothing

When i use the code for setting the variable I get this error:
Run-time error '429':  
  
ActiveX component can't create object


I do not see any problems with the code but I continue to get errors. Any help or thought would be appriciated. Thanks -PW

Star Fantasy Unlimited Programmer

http://starfantasy.forumer.com

VBBR
Moderator

Brazil
617 Posts

Posted - Jul 09 2006 :  12:31:25 PM  Show Profile  Reply with Quote
You need to register the variables with regsvr32. Although VB should do that automatically when you check the DLL in "References".

regsvr32.exe abcde.dll


Whatever. Who knows...
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
VBGamer © Go To Top Of Page
This page was generated in 0.09 seconds. Snitz Forums 2000

Copyright © 2002 - 2004 Eric Coleman, Peter Kuchnio , et. al.