Results 1 to 7 of 7

Thread: [RESOLVED] Missing Component IN VB6

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Jan 2008
    Posts
    139

    Resolved [RESOLVED] Missing Component IN VB6

    Hi, i have an app made in VB6, everything works fine in my pc, but when i make it .exe, and send it to other pcs, it says:"Missing .ocx component"(dont remember name).

    The error happened just when i add a save dialog box. That can be the problem?? Thank you

    Any1 help??

  2. #2
    Former Admin/Moderator MartinLiss's Avatar
    Join Date
    Sep 1999
    Location
    San Jose, CA
    Posts
    33,431

    Re: Missing Component IN VB6

    I moved your thread to here because what you have is a deployment (= distribution) problem. VB6's exe's are not stand-alone so they usually need other things to run properly that are not included in the exe. To get around the problem use the Package & Deployment Wizard that comes with VB or Inno and create an installation package to send to the people who will then install your app.

  3. #3
    VB For Fun Edgemeal's Avatar
    Join Date
    Sep 2006
    Location
    WindowFromPoint
    Posts
    4,255

    Re: Missing Component IN VB6

    Use the Package & Deployment Wizard, it will let you create a setup.exe and include all the needed components for the project.

  4. #4

    Thread Starter
    Addicted Member
    Join Date
    Jan 2008
    Posts
    139

    Re: Missing Component IN VB6

    Ok, but tht creates a setup.exe? or makes it setup and then other extension..?
    And if it makes it exe, do i only need to send to my friends the setup.exe?? Or i need to send other files too??

    Ive used tht program tht VB has, but it created lots of files, and when i ran the installation, the background was horrible!

    Can i make installation package with other program instead of the VB app??

    Thank you

  5. #5
    Former Admin/Moderator MartinLiss's Avatar
    Join Date
    Sep 1999
    Location
    San Jose, CA
    Posts
    33,431

    Re: Missing Component IN VB6

    If you use the P&D Wizard you need to send everything in the "Package" folder to your friends. That will be 3 files, namely setup.exe, the CAB file and Setup.lst.

    And yes you don't have to use the P&D Wizard but most many other installers cost money. As I said you can use Inno and that's free.

  6. #6

    Thread Starter
    Addicted Member
    Join Date
    Jan 2008
    Posts
    139

    Re: Missing Component IN VB6

    And for example i have "Inno" when i put browse, wht file should i use, the .exe?frm?orvbe?

  7. #7
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: Missing Component IN VB6

    Is this related to your missing ocx thread?

    Is the problem in this thread still open?

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