Results 1 to 7 of 7

Thread: Activex component cann't create object

  1. #1

    Thread Starter
    New Member
    Join Date
    Dec 2010
    Posts
    4

    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.

  2. #2
    VB-aholic & Lovin' It LaVolpe's Avatar
    Join Date
    Oct 2007
    Location
    Beside Waldo
    Posts
    19,541

    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.
    Insomnia is just a byproduct of, "It can't be done"

    Classics Enthusiast? Here's my 1969 Mustang Mach I Fastback. Her sister '67 Coupe has been adopted

    Newbie? Novice? Bored? Spend a few minutes browsing the FAQ section of the forum.
    Read the HitchHiker's Guide to Getting Help on the Forums.
    Here is the list of TAGs you can use to format your posts
    Here are VB6 Help Files online


    {Alpha Image Control} {Memory Leak FAQ} {Unicode Open/Save Dialog} {Resource Image Viewer/Extractor}
    {VB and DPI Tutorial} {Manifest Creator} {UserControl Button Template} {stdPicture Render Usage}

  3. #3

    Thread Starter
    New Member
    Join Date
    Dec 2010
    Posts
    4

    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.

  4. #4
    VB-aholic & Lovin' It LaVolpe's Avatar
    Join Date
    Oct 2007
    Location
    Beside Waldo
    Posts
    19,541

    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?
    Insomnia is just a byproduct of, "It can't be done"

    Classics Enthusiast? Here's my 1969 Mustang Mach I Fastback. Her sister '67 Coupe has been adopted

    Newbie? Novice? Bored? Spend a few minutes browsing the FAQ section of the forum.
    Read the HitchHiker's Guide to Getting Help on the Forums.
    Here is the list of TAGs you can use to format your posts
    Here are VB6 Help Files online


    {Alpha Image Control} {Memory Leak FAQ} {Unicode Open/Save Dialog} {Resource Image Viewer/Extractor}
    {VB and DPI Tutorial} {Manifest Creator} {UserControl Button Template} {stdPicture Render Usage}

  5. #5

    Thread Starter
    New Member
    Join Date
    Dec 2010
    Posts
    4

    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.

  6. #6
    VB-aholic & Lovin' It LaVolpe's Avatar
    Join Date
    Oct 2007
    Location
    Beside Waldo
    Posts
    19,541

    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?
    Insomnia is just a byproduct of, "It can't be done"

    Classics Enthusiast? Here's my 1969 Mustang Mach I Fastback. Her sister '67 Coupe has been adopted

    Newbie? Novice? Bored? Spend a few minutes browsing the FAQ section of the forum.
    Read the HitchHiker's Guide to Getting Help on the Forums.
    Here is the list of TAGs you can use to format your posts
    Here are VB6 Help Files online


    {Alpha Image Control} {Memory Leak FAQ} {Unicode Open/Save Dialog} {Resource Image Viewer/Extractor}
    {VB and DPI Tutorial} {Manifest Creator} {UserControl Button Template} {stdPicture Render Usage}

  7. #7

    Thread Starter
    New Member
    Join Date
    Dec 2010
    Posts
    4

    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.

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