[RESOLVED] Somebody else can't use my applications?
Hi there,
Sometimes when I make a program, somebody else can't use it.
It gives an error >> runtime error '429': Active X component can't create object
I know it has to do with the components I use, I gave him the files he needed, in this case Microsoft Windows Common Controls and he copied it to the system32 folder. But he still couldn't use it. I didn't use any other components
Maybe because I'm using several forms?
Then I should probably make an installer?
Any help appreciated thanx :)
Re: Somebody else can't use my applications?
You should really make an installer. You can give somebody your ActiveX files, but it's not sure they are properly registered on the other computer.
Re: Somebody else can't use my applications?
I found some free installers, but you can't give the destination of the files. I mean you can, but it has to be all in the same folder. You can't copy one file into another folder
Is there a simple way to make an installer?
[Edit:] Never mind I found a good one :)
Re: Somebody else can't use my applications?
Don't know why searching for installer. Visual Studio has one!!
Re: Somebody else can't use my applications?
Yes it has, but that's Visual Studio...It's for VB.NET
Re: Somebody else can't use my applications?
No. Visual Basic 6 has it's own Package (setup, internet cab) and Deployment Wizard.
Re: Somebody else can't use my applications?
Quote:
Yes it has, but that's Visual Studio...It's for VB.NET
I think you're a little confused - there was Visual Studio before Visual Studio.Net, and VB6 was part of it (along with Visual C++, etc). ;)
VB6 (or Visual Studio 6) includes a tool called Package and Deployment Wizard (PDW), which admittedly isnt very good. A selection of good installers can be found in the FAQ of our Application Deployment forum.
Re: Somebody else can't use my applications?
Virtual,
Look in the Application Deployment forum for installers and some selective related apps.
Re: Somebody else can't use my applications?
Re: Somebody else can't use my applications?
Thanks a lot guys !
[Edit] I'm using INNO setup compiler, but how can I let it copy the OCX file to the system32 map? Do I just simply copy all OCX or DLLs that that I add and use in the project? I mean all ocx files I add by Project > Components
Re: Somebody else can't use my applications?
Quote:
Originally Posted by Virtual
Thanks a lot guys !
[Edit] I'm using INNO setup compiler, but how can I let it copy the OCX file to the system32 map? Do I just simply copy all OCX or DLLs that that I add and use in the project? I mean all ocx files I add by Project > Components
Any OCX used in your project needs to be deployed with your project.
Re: Somebody else can't use my applications?
Okay I found out how INNO works, thanks to your FAQ
but how do I know what files I also should include? I mean like OCX files. The files that are checked in the components window?
Re: Somebody else can't use my applications?
You will have to use another app to find your dependencies...
Re: Somebody else can't use my applications?
Think I found one. thanks all for your help
Resolved.