Results 1 to 8 of 8

Thread: ActiveX

  1. #1

    Thread Starter
    New Member
    Join Date
    Feb 1999
    Location
    Rochester.MI, USA
    Posts
    6

    Post

    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

  2. #2
    Guest

    Post

    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.

  3. #3

    Thread Starter
    New Member
    Join Date
    Feb 1999
    Location
    Rochester.MI, USA
    Posts
    6

    Post

    Rashmi,

    I tried copying msrdo20.dll. But it didn't help. Any other idea?

    Thank you,
    Laxmi

  4. #4
    Guest

    Post

    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....

  5. #5

    Thread Starter
    New Member
    Join Date
    Feb 1999
    Location
    Rochester.MI, USA
    Posts
    6

    Post

    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

  6. #6
    Frenzied Member Buzby's Avatar
    Join Date
    Jan 1999
    Location
    UK
    Posts
    1,670

    Post

    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]



  7. #7
    Guest

    Post

    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.

  8. #8

    Thread Starter
    New Member
    Join Date
    Feb 1999
    Location
    Rochester.MI, USA
    Posts
    6

    Post

    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
  •  



Click Here to Expand Forum to Full Width