CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Apr 1999
    Posts
    57

    How to get full path of Netscape.exe ?

    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

  2. #2
    Join Date
    May 1999
    Posts
    35

    Re: How to get full path of Netscape.exe ?

    You can use API called FindFirst(...).
    It will return the full path name.
    ksheeraj

    39639,Leslie St.
    Apt #157
    Fremont USA 94538

  3. #3
    Join Date
    Apr 1999
    Posts
    57

    Re: How to get full path of Netscape.exe ?

    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured