![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
![]() |
| |
| | #1 (permalink) |
| | OCX files moveable to other folder? Change search path for OCX files possible? After installation of a program some new *.ocx files were put into several different folders. I wanted to group them together. Can I just move them into the installation directory of the program? How is the search path of programs for their ocx files? Do they automatically search at first in their own directory and subsequently in other locations? Can I adjust the search path of a certain program (e.g. by defining a PATH environment variable like in Java)? Richard |
My System Specs![]() |
| | #2 (permalink) |
| | Re: OCX files moveable to other folder? Change search path for OCX files possible? Hello Richard , Quote: > After installation of a program some new *.ocx files were put into several > different folders. > I wanted to group them together. OCX files are registred at the target location AFAIK they follow common COM / ACTIVEX registration rules so if you want to alter there location you should first unregister the files with the /U switch copy the files to the new location and then register them again Quote: > Can I just move them into the installation directory of the program? > How is the search path of programs for their ocx files? > Do they automatically search at first in their own directory and > subsequently in other locations? i believe that the correct order was Registry location , Application path of calling process , and then system32 directory so one of the above threaa location should indeed work . However to prevent registry polution i would unregister and reregister the assmblies if i were you Quote: > Can I adjust the search path of a certain program (e.g. by defining a PATH > environment > variable like in Java)? java is multi platform so that is the reasson that java has a config file for that You cross posted this to microsoft.public.dotnet.languages.vb and indeed with Dotnet assemblies you have the ability to add different locations for every referenced assembly . HTH Michel Posseth "Richard Blackley" <blackboard@xxxxxx> schreef in bericht news:49b38515$0$30232$9b4e6d93@xxxxxx-online.net... Quote: > After installation of a program some new *.ocx files were put into several > different folders. > I wanted to group them together. > > Can I just move them into the installation directory of the program? > > How is the search path of programs for their ocx files? > Do they automatically search at first in their own directory and > subsequently in other locations? > > Can I adjust the search path of a certain program (e.g. by defining a PATH > environment > variable like in Java)? > > Richard > |
My System Specs![]() |
![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| Change default destination folder for extracted .zip files. | Vista General | |||
| How to change the default destination folder for saving files | Vista file management | |||
| change permission on all files inside a folder or hundreds of file inside a folder | Vista security | |||
| How to I change default install folder c:/Program Files ? | Vista file management | |||
| Change Favorites-Folder Path | Vista General | |||