Activex component can't create object
hi,:wave:
i searched the internet and tried their suggestions,
but nothings seems to work for me.
i compiled a program in vb6, and it runs in windows me and also in xp.
but in other machine it has an error
Activex component can't create object
please give an advice
thanks
:ehh:
Re: Activex component can't create object
do the other machines have the activex installed?
Re: Activex component can't create object
yes, i tried it in other computer with ME, and it works, but wiht other computer with ME, the error appears...
please help
thanks
Re: Activex component can't create object
as you do not specify what activex you are try to create and do not say if you have installed it with your application, very hard to be able to help
Re: Activex component can't create object
i made an application in VB6, and its working fine in xp and also in ME,
but when i copy/paste the apps in different machine with ME,
theres an error
Activex component can't create object
maybe its the comdlg32 from vb6? i dont know
Re: Activex component can't create object
What dependencies does your project use? What is checked in the project references window, what is checked in your toolbox (Ctrl+T)? The activeX's must be registered on whatever Win9x machine you are running it on. You can't just copy and paste the ocx/dll to their system folder and expect it to work. #1 below should solve your problems, #2 below is a manual workaround that may need to be handled for every dependency.
1. Recommend creating a Setup.exe file using VB's Package & Deployment Wizard & having them install via the setup app, or
2. Telling the owners of the other machine to register the ocx/dll with RegSvr32
Re: Activex component can't create object
in references
the ff are checked:
Visual Basic for applications
visual basic runtime objects and procedures
visual basic objects and procedures
OLE Automation
Windows Script Host Object Model
ActiveX Dll to perform Migration of MS Repository V1 to V2
in components
the ff are checked:
microsoft common dialog control 6.0
please help
thanks in advance
Re: Activex component can't create object
Quote:
Originally Posted by
homer.favenir
in references
the ff are checked:
Visual Basic for applications
visual basic runtime objects and procedures
visual basic objects and procedures
OLE Automation
Windows Script Host Object Model
ActiveX Dll to perform Migration of MS Repository V1 to V2
in components
the ff are checked:
microsoft common dialog control 6.0
please help
thanks in advance
Are you doing any Office Automation Work. If you are programming using office Automation, then you should have office installed in the client locations
Re: Activex component can't create object
when do you get the error? when the program starts or on some specific action
do you have any error handling to help determine where the error occurs
are you using any instances of createobject
you may need to write out to a log file at regular intervals to find exactly where the error occurs so you can locate the missing /unregistered ocx or dll