Consulting

Results 1 to 6 of 6

Thread: Run exe file without ocx

  1. #1
    VBAX Regular
    Joined
    May 2008
    Posts
    17
    Location

    Run exe file without ocx

    I have created an exe file in vb6. In the project I have used some ocx like MSINET.ocx. If I run the exe in other computer which does not have vb I have "MSINET.ocx" missing error. If I paste the ocx in the same folder it works fine. Is there any way to run exe file without the support of ocx.

  2. #2
    Moderator VBAX Master Tommy's Avatar
    Joined
    May 2004
    Location
    Houston, TX
    Posts
    1,184
    Location
    No not unless you write the code to do what the ocx does.

  3. #3
    VBAX Regular
    Joined
    May 2008
    Posts
    17
    Location
    I am using ccrpani6.ocx and I using following code for using this ocx
    ccrpAnimation1.OpenStandardAVIResource (aniresFTPDownload)
    I have the above ocx file in my system. If I want to run the exe file in which I have used the ccrpani6.ocx in other systems I am getting "Ocx missing" error. Is there any way to add reference to the ocx file

  4. #4
    Moderator VBAX Master Tommy's Avatar
    Joined
    May 2004
    Location
    Houston, TX
    Posts
    1,184
    Location
    I would think you need to use the package and deployment wizard to package your application and make a setup program to install it.

  5. #5
    VBAX Regular
    Joined
    May 2008
    Posts
    17
    Location
    In 2 ways I can create setup

    1. Package & Wizard
    2. MSI Package

    Is there any way to run the exe file alone without creating the setup.

  6. #6
    Moderator VBAX Master Tommy's Avatar
    Joined
    May 2004
    Location
    Houston, TX
    Posts
    1,184
    Location
    Not and guarantee that it will run/work properly.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •