|
-
Jan 31st, 2000, 11:44 PM
#1
Thread Starter
New Member
What is the meaning of the error:
Error: 426 ActiveX Component cann't create object.
I am getting this error when I am trying to run my VB application.
I don't know what I am missing.
The same application is running on a a different machine with no problem.
I appreciate your help.
Laxmi
-
Feb 1st, 2000, 01:23 AM
#2
If u r using, Microsoft remote data object 2.0 and then, if MSRDO20.DLL is available on the other machine, then try copying it onto ur machine(in system directory).uncheck 'Microsoft remote data object' in references before copying and check back after u copy it. My guess is that ur remote data object (DLL) is corrupted.
-
Feb 1st, 2000, 01:43 AM
#3
Thread Starter
New Member
Rashmi,
I tried copying msrdo20.dll. But it didn't help. Any other idea?
Thank you,
Laxmi
-
Feb 1st, 2000, 02:02 AM
#4
Try registering it. Go to Dos Prompt, type system directory path and then regsvr32.exe and then again system directory path and then MSRDO20.DLL
Eg:if suppose ur system directory is in c:\ and (ur OS is 95), then
c:\windows\system\regsvr32.exe c:\windows\sytem\MSRDO20.DLL
If this fails, then I have no answers....
-
Feb 1st, 2000, 02:33 AM
#5
Thread Starter
New Member
Rashmi,
I tried that too. It didn't help.
Thanks for your help. I will let you know when I succed what's the problem.
Thank you,
Laxmi
-
Feb 1st, 2000, 12:21 PM
#6
Frenzied Member
Check the existance (and version) of any .OCX, .DLL etc etc files that your program uses - if this error pops up as soon as the program runs check for any components you have sitting on the MDI form (eg Crystal Reports, CommonDialog etc) as these are the usual culprit.
------------------
Mark "Buzby" Beeton
VB Developer
[email protected]
-
Feb 1st, 2000, 12:22 PM
#7
Some ActiveX component or control may be missing or is not registered properly. U can register an activeX component using regsvr32.exe.
Best thing is to identify for which component its giving the error and then delete and copy it from the other machine, where it is working.
-
Feb 1st, 2000, 12:32 PM
#8
Thread Starter
New Member
Buzby,
Thanks for your response.
This is what I have in my declarations.
Public g_db As Database
Public g_cn As rdoConnection
Public g_en As rdoEnvironment
and
This is how I am giving connection.
It's giving the error when it hits first line below.
--> Set g_en = rdoEnvironments(0)
Set g_cn = g_en.OpenConnection( _
dsName:="ORACLE32", _
Prompt:=rdDriverNoPrompt, _
ReadOnly:=False, _
Connect:="uid=ideal;pwd=ideal;DBQ=prod")
I appreciate any help
Laxmi
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|