Results 1 to 4 of 4

Thread: [RESOLVED] Missing ocx

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Jan 2008
    Posts
    139

    Resolved [RESOLVED] Missing ocx

    When i send the .exe made by vb, and my friends try to run it throws error, of missing ocx component. Why is that? The problem started just after i added a common dialog box...is that the problem??

    Thank You

  2. #2
    PowerPoster lintz's Avatar
    Join Date
    Mar 2003
    Location
    The 19th Hole
    Posts
    2,697

    Re: Missing ocx

    Yes that's the problem. You should create an installer and send it to your friends (which will include all required OCX, DLL's etc....) whenever you create a new EXE.

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Jan 2008
    Posts
    139

    Re: Missing ocx

    So if i take the commom dialog box, the error will disappear?

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

    Re: Missing ocx

    Not just the common dialog - all of the components/references that your program needs (which includes some standard ones that all VB programs need).

    The best way to do that is to create an installation package, using a tool like Package & Deployment Wizard that comes with VB, or one of the many others that are available (several of which are listed in our Application Deployment FAQ, along with several articles that may help you).

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