dll problem
Hi All,
I created a dll and registred regsvr32 and it success message, after that I called that using VB code (createobject("myobj") it works fine. It's all happend in developer machine.
but, I tried run the same in other machine which don't have VISUAL STUDIO
then it gives the following error
Run-time error 429 - ActiveX component can't create object.
In this machine also I register the same DLL in regsvr32 and I got success message. But when I run the VB.EXE(Which I took it from developer machine) it gives this error.
pls tell me how to solve this.
Thanks
# 1 Re: dll problem
Running VB.exe on a machine where Visual Studio (or Visual Basic alone) is not installed wouldn't work anyway.
Is it that you may have other object references in your application? Maybe you need to regsvr32 some other components, too? Are you referring to objects from within the dll?
If you install VisualStudio temporarily on the problem machine, does the error still occur?
WoF at 2007-11-9 19:33:14 >

# 2 Re: dll problem
Seems you need to install the vb runtime on the client machine.
You can download it from:
http://www.microsoft.com/downloads/details.aspx?FamilyId=7B9BA261-7A9C-43E7-9117-F673077FFB3C&displaylang=en
hspc at 2007-11-9 19:34:18 >

# 3 Re: dll problem
When I run the vb.exe, it shows the form; when I click the button in the form( Which creates the object), then only this error occured.
Run-time error 429 - ActiveX component can't create object.
My client machine is XP.
I developed this DLL and VB.exe is WINDOWS 2000. In this machine everything working fine.
R u sure I have to Install VB runtime on the client machine
# 4 Re: dll problem
R u sure I have to Install VB runtime on the client machine
Yes, if it's not already installed.
Does your DLL have any other dependencies (calls other DLLs)?
hspc at 2007-11-9 19:36:18 >
