Click to See Complete Forum and Search --> : How to get full path of Netscape.exe ?


M.Anand
May 15th, 1999, 05:34 AM
How do I get the full Path of Netscape.exe ? Registry can have multiple entries (4.5(en),4.5(jp),4.06,etc.)
Any APIs ?

Thanks
Anand

M.Anand
Development - Lead ,
Satyam Infoway Limited,
Chennai - 600034
India

ksheeraj
May 16th, 1999, 04:34 AM
You can use API called FindFirst(...).
It will return the full path name.
ksheeraj

39639,Leslie St.
Apt #157
Fremont USA 94538

M.Anand
May 17th, 1999, 12:36 AM
Hi

Thanks for your reply. But I discarded FinfFirst option since it takes time along with FindNext and particularly if there are many drives in the system ( our application has around 7 or 8 partitions !! ) it will take lot of time.
I am looking for something in the registry but I have to read 2 or 3 keys before getting the exact path.
I think that may be the final option.

Anand



M.Anand
Development - Lead ,
Satyam Infoway Limited,
Chennai - 600034
India