Results 1 to 5 of 5

Thread: error running EXE file...

  1. #1

    Thread Starter
    New Member
    Join Date
    Sep 2009
    Posts
    4

    error running EXE file...

    hey all,

    i ve made an EXE file of a vb6.0 project...
    when i try to run on a systems which doesnot have vb in it,, it gives me an error ...

    ive even used INNO set up but the error says...
    "COmponent MSADODC.OC or one of its dependencies not correctly registered . a file is missing or invalid."

    NOTE: ive used a access file & an excel file also which i ve included to script the EXE file..

    pls hep me wid dis,,,

  2. #2
    Hyperactive Member
    Join Date
    May 2008
    Location
    >> ( ҉ )
    Posts
    413

    Re: error running EXE file...

    This is not VB6.0 section, but i suggest you to use newer version of VB.

  3. #3
    PowerPoster
    Join Date
    Sep 2003
    Location
    Edmonton, AB, Canada
    Posts
    2,629

    Re: error running EXE file...

    why would you get a newer version of VB? that wouldn't help at all.

    you need to make sure the computers you're running your executable on has the dependency that you've made use of within your application. the filenames of the dependencies that you can require could be found out by either looking at the extra plugins you've loaded within the VB IDE, or by running the application on another computer and taking note of the filename of the dependency you're missing. for example, MSADODC.OC is most likely a typo of MSADODC.OCX, which is a dependency file for ADO. ADO is used to connect to Access. if you're using Access, anyone using your application needs this dependency. there might also be one for any Excel controls you've placed on your form, too.

    then, once you have the filenames, you can take them from your computer and either compile them into your executable (by making a reference file) or bundle them with your application in a zip file so that they can be found on run-time.

    either way, like mentioned before -- this isn't the VB section, and I haven't had VB installed for years, so I'm not really willing to help you through anything that I've just described. you probably want to get some help in the VB section of this forum.

  4. #4
    Super Moderator si_the_geek's Avatar
    Join Date
    Jul 2002
    Location
    Bristol, UK
    Posts
    41,974

    Re: error running EXE file...

    Thread moved to the 'Application Deployment' forum, which is where questions about installing/distributing your software belong

  5. #5
    PowerPoster isnoend07's Avatar
    Join Date
    Feb 2007
    Posts
    3,237

    Re: error running EXE file...

    You can run the PDW wizard and get all the dependency files you need including the MSADODC.OCX
    Waiting for a full featured smart phone with out marrying a provider
    Go Android
    Go raiders

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