-
Aug 24th, 2021, 11:15 AM
#1
Thread Starter
PowerPoster
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
-
Aug 24th, 2021, 11:19 AM
#2
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.
-
Aug 24th, 2021, 11:26 AM
#3
Thread Starter
PowerPoster
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?
-
Aug 24th, 2021, 11:54 AM
#4
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.
-
Aug 24th, 2021, 12:08 PM
#5
Thread Starter
PowerPoster
Re: Visual Studio 6.0 on Windows 10: why the ocx files aren't registed?
Originally Posted by dilettante
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?
-
Aug 24th, 2021, 12:17 PM
#6
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.
-
Aug 24th, 2021, 12:39 PM
#7
Thread Starter
PowerPoster
-
Aug 24th, 2021, 07:31 PM
#8
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.
-
Aug 25th, 2021, 01:04 AM
#9
Re: Visual Studio 6.0 on Windows 10: why the ocx files aren't registed?
Originally Posted by joaquim
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
-
Aug 25th, 2021, 12:42 PM
#10
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.
-
Aug 26th, 2021, 12:37 AM
#11
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|