CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 5 of 5

Thread: OCX files

  1. #1
    Join Date
    Feb 2001
    Location
    Israel
    Posts
    94

    OCX files

    I read some of the postings around and understood many had my problem which is:
    I made an exe file (with VB of course) which I want to distribute , but as soon as I sent it to some1 it claimed it misses some ocx files (or that the files are not correctly registered). I tried with the VB package add-in but it didn't work either, everytime it promts that some system files are out of date, and do nothing about it....
    I know there is the option of fusion, but it is too exepnsive.
    Is there any other way????

    Thanks in advnce
    Lev


  2. #2
    Join Date
    Jan 2000
    Location
    Olen, Belgium
    Posts
    2,477

    Re: OCX files

    I had this error before. It is a known problem at M$, and is described in TechNet. The problem is that it will try to replace the system files, but for one reason or another fails to do so. More information (and resolutions) can be found at http://support.microsoft.com/support.../Q191/0/96.ASP

    Tom Cannaerts
    [email protected]

    Programming today is a race between software engineers striving to build bigger and better idot-proof programs, and the universe trying to produce bigger and better idiots. So far, the universe is winning -- Rich Cook
    Tom Cannaerts
    email: [email protected]
    www.tom.be (dutch site)

  3. #3
    Join Date
    Jul 2000
    Location
    Milano, Italy
    Posts
    7,726

    Re: You're Smart

    These are really precious informations. Thanks for sharing, I will rate you tomorrow (=out of votes for today).

    Special thanks to Lothar "the Great" Haensler, Tom Archer, Chris Eastwood, TCartwright, Bruno Paris
    and all the other wonderful people who made and make Codeguru a great place.
    Come back soon, you Gurus.

    The Rater
    ...at present time, using mainly Net 4.0, Vs 2010



    Special thanks to Lothar "the Great" Haensler, Chris Eastwood , dr_Michael, ClearCode, Iouri and
    all the other wonderful people who made and make Codeguru a great place.
    Come back soon, you Gurus.

  4. #4
    Join Date
    Feb 2001
    Location
    Israel
    Posts
    94

    Re: OCX files

    I intend to send it to someone as a demo, and I cannot ask him to follow all these steps, is there any other way to evercome it?

    Lev


  5. #5
    Join Date
    Jan 2000
    Location
    Olen, Belgium
    Posts
    2,477

    Re: OCX files

    I believe the error is situated with the oleaut32.dll. You should be sure to create the install package on a PC which has nothing much installed on it. I'm can't quite remember, but you must replace the files in a specific folder. I think this is the vb_installation_folder\setupkit\kitfil32\sys32 for VB5, and vb_installation_folder\wizards\pdw\redist for VB6 (not sure about that). Adviced is to replace the files with an older version, like the ones that come with Office 97 or so.

    Tom Cannaerts
    [email protected]

    Programming today is a race between software engineers striving to build bigger and better idot-proof programs, and the universe trying to produce bigger and better idiots. So far, the universe is winning -- Rich Cook
    Tom Cannaerts
    email: [email protected]
    www.tom.be (dutch site)

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