Results 1 to 12 of 12

Thread: .OCA and .DEP included in the installation package - Good idea?

  1. #1

    Thread Starter
    Hyperactive Member Krass's Avatar
    Join Date
    Aug 2000
    Location
    Montreal
    Posts
    489
    I am having the following error when loading my application on an old 486 with windows 95:

    Run-time error '0', I press OK and the following message appears: Run-time error '372': Failed to load control 'vbalListBar' from VBALLBAR6.OCX. Your version of VBALLBAR6.OCX may be outdated. Make sure you are using the version of the control that was provided with your application.

    Vballbar6.oca and .dep were copied from the installation package (that came from the computer on which I develop). I need to know why I'm getting this error. I deleted .OCA and .DEP from the 486 - it still doesn't work. Moreover, the same installation package worked on a Win98 machine..

    Should I try rebuilding the installation package without the .OCA and .DEP? I'm beginning to think, from what I've read, that these files are to be created from the computer who uses the OCX.

    Any tips? ThankS!!
    Chris

  2. #2
    Frenzied Member
    Join Date
    Jun 2000
    Location
    East Providence, RI
    Posts
    1,715
    I had a similar problem 2 days ago, the key is to replace those 2 files through DOS becuase windows is probobbly reading the file so when you run the setup, its has lots of ON ERROR RESUME NEXT things in it, so when it sees that windows is reading the file, it doesn't replace it

    If it doesn't work through dos then you can download the latest version of the ocxs and stuff

    hope that helps


    Dimava
    NXSupport - Your one-stop source for computer help

  3. #3

    Thread Starter
    Hyperactive Member Krass's Avatar
    Join Date
    Aug 2000
    Location
    Montreal
    Posts
    489
    Why would it help to copy these 2 files back? I mean, before performing my installation package on the 486, all the files (.OCX, .OCA and .DEP) were not there. They didn't work from the FIRST time.

    What is your opinion on wheter or not I should include the programming machine's .OCA and .DEP in the installation package?

    I hope I made myself clear... Thanks to you!
    Chris

  4. #4
    Frenzied Member
    Join Date
    Jun 2000
    Location
    East Providence, RI
    Posts
    1,715
    oh ok, I see what you are saying, I think that you should include the programming machine's .oca and .dep in the installation package
    NXSupport - Your one-stop source for computer help

  5. #5

    Thread Starter
    Hyperactive Member Krass's Avatar
    Join Date
    Aug 2000
    Location
    Montreal
    Posts
    489
    No further idea on why it doesn't work?
    Chris

  6. #6

    Thread Starter
    Hyperactive Member Krass's Avatar
    Join Date
    Aug 2000
    Location
    Montreal
    Posts
    489
    Also, do you have an idea of what's a .TLB file? Should I also include these in my installation package?
    Chris

  7. #7
    Frenzied Member
    Join Date
    Jun 2000
    Location
    East Providence, RI
    Posts
    1,715
    Conclusion:

    why not just run the Package and Deployment wizard, and that should take care of every thing for you

    dimava
    NXSupport - Your one-stop source for computer help

  8. #8

    Thread Starter
    Hyperactive Member Krass's Avatar
    Join Date
    Aug 2000
    Location
    Montreal
    Posts
    489
    I am using InstallMaster 8.1 (from WISE). This is supposed to read VB project and pack in all the necessary files.

    I believe it's because of win95, because the same package is working on win98. But I'm still hoping it's not the installer's fault.
    Chris

  9. #9
    Frenzied Member
    Join Date
    Jun 2000
    Location
    East Providence, RI
    Posts
    1,715
    Conclustion: (continued)

    try using the P & D Wizard, and if that works, then its your installer, if not then you'll have to look deeper into what might be causing the problem

    Dimava
    NXSupport - Your one-stop source for computer help

  10. #10
    Guest
    The .oca file is the typelibrary info for the ocx. It will create itself when you use the ocx, so doesn't need to be distributed.

    The .dep file is the dependancy file of a given project/component. This is the file that the P & D wizard queries when building a setup kit to include any sub file (eg. project A uses OCX B, which in turn requires DLL C. The dep file for OCX B is useful so that DLL C can be included in the setup for Project A)

    vballbar6 requires the SSubTmr.dll to run, so you need to make sure that you have included that in the setup kit as well (usingthe dep file for vballbar6 would have meant the the setupkit included the ssubtmr.dll file)

    - gaffa

  11. #11
    Frenzied Member
    Join Date
    Jun 2000
    Location
    East Providence, RI
    Posts
    1,715
    I just realized.... make sure that you registar the OCX's and DLL's
    NXSupport - Your one-stop source for computer help

  12. #12

    Thread Starter
    Hyperactive Member Krass's Avatar
    Join Date
    Aug 2000
    Location
    Montreal
    Posts
    489
    My components are registered correctly and ssubtmr.dll was already included.

    The computer with win95 seemed to have a lot of problems because of Internet Explorer that wasn't installed. I'll get rid of the control showing a .html file in my project.
    Chris

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