Paul,
Once you find the MyServer.MyOLEPublicClass1, you get the value from the
CLSID key.
Then you'll look for the CLSID with that value. Here you'll find what you
need.
The InprocServer32 key will hold the filename, and usually the full path of
the EXE/DLL file.
HTH,
Tracy
Tracy Pearson
PowerChurch Software
Paul Newton wrote on 2017-07-20:
> Hi all
>
> Let's say that I have an out-of-process automation server (MyServer.EXE)
containing OLEPUBLIC classes like MyOLEPublicClass1 etc and then I use
CreateObject like this:
>
> o = CreateObject("MyServer.MyOLEPublicClass1")
>
> Class MyOLEPublicClass1 can determine the location of MyServer.EXE using
the _VFP.ServerName property but what I want to do is determine the
location of MyServer.EXE BEFORE I use CreateObject. I imagine this should
be possible via the registry (looking for an entry that refers to
"MyServer.MyOLEPublicClass1" but I cannot get further than that.
>
> Any ideas ? Thanks
>
> Paul Newton
>
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message:
http://leafe.com/archives/byMID/profox/[email protected]
** All postings, unless explicitly stated otherwise, are the opinions of the
author, and do not constitute legal or medical advice. This statement is added
to the messages for those lawyers who are too stupid to see the obvious.