i wonder how can i change installation path of ocx ? basically installation folder is
Folder: C:\Windows\Downloaded Program Files\
can i change the installation to another folder ?
as example
Folder:
C:\User\username\AppData\Local\Microsoft\Windows\Temporary Internet Files\Low\
can i modify activex installation path ?
Forum kuralları
Forum kurallarını okuyup, uyunuz!
Forum kurallarını okuyup, uyunuz!
can i modify activex installation path ?
بِسْمِ اللهِ الرَّحْمنِ الرَّحِيمِ
in god i trust with every movement i do
graduated student and looking for knowledge
in god i trust with every movement i do
graduated student and looking for knowledge
Re: can i modify activex installation path ?
Actually i don't now but maybe from registry or before unregister ocx file with regsvr32 after reinstall with new path.
look this
http://digital.ni.com/public.nsf/allkb/ ... F700615B7A
look this
http://digital.ni.com/public.nsf/allkb/ ... F700615B7A
Re: can i modify activex installation path ?
i wonder how i found some activex add ons that maded with delphi have specific path
بِسْمِ اللهِ الرَّحْمنِ الرَّحِيمِ
in god i trust with every movement i do
graduated student and looking for knowledge
in god i trust with every movement i do
graduated student and looking for knowledge
Re: can i modify activex installation path ?
You must travel in the Registry.
(1) Goto "\TypeLib" under "HKEY_CLASSES_ROOT"
(2) Do "GetKeyNames" to a stringlist
(3) Do a loop under "\TypeLib" and open each list members like this
- Now you are in a registry folder like this : "HKEY_CLASSES_ROOT\TypeLib\{BB599B3B-6C2D-4F1B-A8C4-A354B712A0B9}"
(4) Try to open this key '1.0\0\win32'
(5) if success get first string value to a variable and ask if there is ".OCX" extension. İf exists then take it on a result list.
Now you can do search in result list which is outside the "c:\windows" path..
(1) Goto "\TypeLib" under "HKEY_CLASSES_ROOT"
(2) Do "GetKeyNames" to a stringlist
(3) Do a loop under "\TypeLib" and open each list members like this
Kod: Tümünü seç
if Reg.OpenKey('\TypeLib\'+Trim(slList[idx]), False) then ...
(4) Try to open this key '1.0\0\win32'
(5) if success get first string value to a variable and ask if there is ".OCX" extension. İf exists then take it on a result list.
Now you can do search in result list which is outside the "c:\windows" path..

Re: can i modify activex installation path ?
thank you very much mrmarman and Garkas that was helpful
بِسْمِ اللهِ الرَّحْمنِ الرَّحِيمِ
in god i trust with every movement i do
graduated student and looking for knowledge
in god i trust with every movement i do
graduated student and looking for knowledge