View Full Version : How can I find a file location by registrykey?
sburon
09-08-2009, 05:06 AM
hallo,
I' just new is forum and sorry my english is not so good...
any way! here is my problem!
ich have to find a filelocation on a tragetsystem, the vism.ocx from Cache` (InterSystems) to update it whith a new version. is it posisibel whit sf8 :huh
hope anyone can help me!!
jassing
09-08-2009, 10:49 AM
OCX's get registered (regsvr32) and that does hold path info in the registry - you would need to know it's guid and use that to look up the path to it's current install location.
yes it's doable.
sburon
09-09-2009, 02:32 AM
Thank you jassing for your answer.
so I have the CLSID but whitch Registry function gives me the localfolder??
do you have an Idea?
sburon
09-09-2009, 04:30 AM
I find the solution for my probelm!
OLD = Registry.GetValue(HKEY_LOCAL_MACHINE, "SOFTWARE\\Classes\\CLSID\\{88F75483-0574-11D0-8085-0000C0BD354B}\\InprocServer32","NoName", false); -- NoName ist das worauf es ankommt!
I have seaching the hole time whith the rong parameter "vism.ocx" and I had to take "NoName"! :lol
Thanks erveryboy
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.