PDA

Click to See Complete Forum and Search --> : Activex component cann't create object


best.alina
Dec 29th, 2010, 01:52 AM
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.

LaVolpe
Dec 29th, 2010, 09:48 PM
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.

best.alina
Dec 30th, 2010, 12:37 AM
hi,

(O/S) is Windows XP SP2.
It is 32 bit system.
I am registering dll file using regsvr32 manually.

LaVolpe
Dec 30th, 2010, 07:51 AM
Does sound odd. Do you have the source code for this app? If so, is it doing any unregistering via code of DLLs?

best.alina
Dec 30th, 2010, 11:17 PM
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.

LaVolpe
Jan 1st, 2011, 07:18 PM
For your client machines, how is your app installed? A typical Setup.exe package?
Are all the client machines that it fails on XP?

best.alina
Jan 2nd, 2011, 11:05 PM
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.