Activex component cann't create object
hi
I am getting error when we "ActiveX component can't create object" for vb6.0 exe. It is giving error for scrrun.dll. I register it using regsvr32.
VB6.0 Exe is running fine after registering it.But after some time if we close exe and re-run it.it again shows error "ActiveX component can't create object" .
So i need to again register that dll again.
Please reply with solution.
Thanks and regards.
Re: Activex component cann't create object
Welcome to the forums.
What operating system (O/S) is the dll being registered on? And is it a 32 or 64 bit system?
How are you registering it? Via code or manually?
In the mean time, try searching forum for regsvr32 and your O/S. You might find an answer.
Re: Activex component cann't create object
hi,
(O/S) is Windows XP SP2.
It is 32 bit system.
I am registering dll file using regsvr32 manually.
Re: Activex component cann't create object
Does sound odd. Do you have the source code for this app? If so, is it doing any unregistering via code of DLLs?
Re: Activex component cann't create object
Hi,
I have source code.It does not contain code for unregistered dll.
It is working fine on many machine.Error occurred on some client machines.
It is working fine before some days on this machine.
I need to register that dll again and again.Error occurred on restart of machine sometimes.
Please reply with solution.
Re: Activex component cann't create object
For your client machines, how is your app installed? A typical Setup.exe package?
Are all the client machines that it fails on XP?
Re: Activex component cann't create object
On some client machine it require to register dll's again and again and other machines same setup is working fine.All machine is having window's XP.