Results 1 to 11 of 11

Thread: Visual Studio 6.0 on Windows 10: why the ocx files aren't registed?

  1. #1

    Thread Starter
    PowerPoster joaquim's Avatar
    Join Date
    Apr 2007
    Posts
    3,904

    Visual Studio 6.0 on Windows 10: why the ocx files aren't registed?

    i installed the Visual Studio 6.0 on Windows 10.
    i installed, using the Inno Setup installer, my own VB6 applications... but the ocx aren't recognize\found or something...
    it's something about Windows 10?
    the ocx files are on exe folder
    VB6 2D Sprite control

    To live is difficult, but we do it.

  2. #2
    PowerPoster
    Join Date
    Feb 2006
    Posts
    24,482

    Re: Visual Studio 6.0 on Windows 10: why the ocx files aren't registed?

    Why would you suspect Windows 10? Nothing has changed substantially in this regard since Vista came out at the end of 2006.

    My guess would be that your No-No Setups only worked by luck on Windows XP for users in the Administrators or Power Users groups and are probably breaking numerous rules that are now more consistently enforced through UAC.

  3. #3

    Thread Starter
    PowerPoster joaquim's Avatar
    Join Date
    Apr 2007
    Posts
    3,904

    Re: Visual Studio 6.0 on Windows 10: why the ocx files aren't registed?

    so can i resgist the ocx manually on Windows 10?
    VB6 2D Sprite control

    To live is difficult, but we do it.

  4. #4
    PowerPoster
    Join Date
    Feb 2006
    Posts
    24,482

    Re: Visual Studio 6.0 on Windows 10: why the ocx files aren't registed?

    Sure, as long as you do it properly. That means placing the OCXs where they belong (as spelled out within the associated .DEP file) and then registering it from an elevated process.

  5. #5

    Thread Starter
    PowerPoster joaquim's Avatar
    Join Date
    Apr 2007
    Posts
    3,904

    Re: Visual Studio 6.0 on Windows 10: why the ocx files aren't registed?

    Quote Originally Posted by dilettante View Post
    Sure, as long as you do it properly. That means placing the OCXs where they belong (as spelled out within the associated .DEP file) and then registering it from an elevated process.
    i don't have the .dep file... tell me how can i regist the ocx file?
    VB6 2D Sprite control

    To live is difficult, but we do it.

  6. #6
    PowerPoster
    Join Date
    Feb 2006
    Posts
    24,482

    Re: Visual Studio 6.0 on Windows 10: why the ocx files aren't registed?

    Every OCX that shipped with VB6 should have a DEP file. Most competent 3rd party developers also provide a DEP file to developers.

    Without that you don't know where the OCX should be copied, unless you were given the information as text in the OCX's documentation. DEP files are really for proper setup packagers to determine the target without manual intervention.


    There is actually more to proper installing. For example you should check for an existing copy and make sure you aren't trying to install an older version. Failure to do this is one reason No-No Setups often break other applications. No-No Uninstalls also think they own the machine and will unceremoniously delete an OCX when they are done with it.

    No-No is EVIL. Do not use it.

  7. #7

    Thread Starter
    PowerPoster joaquim's Avatar
    Join Date
    Apr 2007
    Posts
    3,904

    Re: Visual Studio 6.0 on Windows 10: why the ocx files aren't registed?

    i found the DEP files.. are on project, folder, of ocx file...
    but damn... i must retest and rebuild the entire project for use my own ocx files
    these wasn't my own problem, but something between OS's
    at least i have all the ocx projects
    VB6 2D Sprite control

    To live is difficult, but we do it.

  8. #8
    PowerPoster
    Join Date
    Jan 2020
    Posts
    3,746

    Re: Visual Studio 6.0 on Windows 10: why the ocx files aren't registed?

    Make an EXE with only one OCX, manually register the OCX control and try it. If this is useful, then you only need to write a REG.BAT file for registration. You can also load OCX controls without registration.

  9. #9
    PowerPoster Arnoutdv's Avatar
    Join Date
    Oct 2013
    Posts
    5,872

    Re: Visual Studio 6.0 on Windows 10: why the ocx files aren't registed?

    Quote Originally Posted by joaquim View Post
    i installed the Visual Studio 6.0 on Windows 10.
    i installed, using the Inno Setup installer, my own VB6 applications... but the ocx aren't recognize\found or something...
    it's something about Windows 10?
    the ocx files are on exe folder
    After you installed VB6 you should normally install the external OCX files you want to use in your projects using the original installers from the suppliers.
    If you use freeware or your own create components then you normally can register them using the VB6 IDE.
    (Add components/references)

    Using the setup package of your compiled application is not the correct way

  10. #10
    PowerPoster
    Join Date
    Feb 2006
    Posts
    24,482

    Re: Visual Studio 6.0 on Windows 10: why the ocx files aren't registed?

    Is the issue here installing VB6 on a machine? I had guessed the problem was with using your legacy scripted setups to install programs compiled and packaged elsewhere based on what you said in post #1. I suppose I was wrong about that.

  11. #11
    PowerPoster
    Join Date
    Feb 2012
    Location
    West Virginia
    Posts
    14,205

    Re: Visual Studio 6.0 on Windows 10: why the ocx files aren't registed?

    I'm not totally sure what the question or issue is myself. Could be that it is an app that was not installed properly but sounds more like VB not installed properly.

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