CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 6 of 6
  1. #1
    Join Date
    Jun 2001
    Posts
    11

    Embedding OCX files

    I have tried my exe application on other computers, only to see a box saying i need this ocx file (tabctl32.ocx) in order to run it.

    I supply it, and it works very well.
    Im just wondering how, if its possible, to embed this ocx file so i am just left with an exe stanalone. Thanks

    PS> can i embed dlls too?


  2. #2
    Join Date
    Sep 2000
    Location
    Ottawa, Ontario
    Posts
    356

    Re: Embedding OCX files

    You cannot link them into your exe, you have to create a install package that includes them. To do this run the Package and Deployment Wizzard on your project.

    Jean-Guy


  3. #3
    Join Date
    Jun 2001
    Location
    Memphis, TN
    Posts
    146

    Re: Embedding OCX files

    I'm only a novice but maybe this will help... Use the package and deployment wizard add-in to create a setup routine for your application. If that wizard does not automatically detect that your application will require that file, you can add it in manually when the wizard prompts you to give the okay on all the files that it has already included with the package. Hope that helps!


  4. #4
    Join Date
    Jun 2001
    Posts
    11

    Re: Embedding OCX files

    thanks

    ....so um...

    where do i find this package and deployment wizard ?


  5. #5
    Join Date
    Jun 2001
    Location
    Memphis, TN
    Posts
    146

    Re: Embedding OCX files

    Click on the Add-ins Menu and go to the Add-in Manager. You should be able to check the Package and Deployment Wizard Add-in. If you don't see it there you might wanna search your VBasic or VStudio cdrom because it should have installed the add-in unless you did a custom install without add-ins.


  6. #6
    Join Date
    Apr 2000
    Location
    South Carolina,USA
    Posts
    2,210

    Re: Embedding OCX files

    I recently answered this question for someone else. Here is the thread. There are half a dozen replys here, I had three. It describes getting the P+D wizard and how to find it on the CDROM if is it not installed. LOok at all my replys for the several things to try in getting the P+D installed correctly
    http://63.236.73.79/cgi-bin/bbs/wt/s...age=0&Limit=25

    John G

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

Featured