Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 753169
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T14:51:58+00:00 2026-05-14T14:51:58+00:00

How I can find path for installed application from VB.net if i know the

  • 0

How I can find path for installed application from VB.net if i know the name of application exe file?
Thanks!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-14T14:51:58+00:00Added an answer on May 14, 2026 at 2:51 pm

    If you mean any arbitrary application (not the one that’s running), there’s really no other way than to search the hard drive for that .exe’s file name.

    If you can at least be confident that it’s in the Program Files folder, this should give you what you need.

    string[] files = System.IO.Directory.GetFiles(
                Environment.GetFolderPath(Environment.SpecialFolder.ProgramFiles), 
                "Yourexe.exe", System.IO.SearchOption.AllDirectories);
    

    This will give you back a string array of the paths to all files that have that name within the Program Files folder.

    If you can’t assume that it’s in Program Files, then you can substitute any directory.

    string rootDirectory = System.IO.DriveInfo.GetDrives()[0].RootDirectory.FullName;
    
    string[] files = System.IO.Directory.GetFiles(
                rootDirectory, 
                "Yourexe.exe", System.IO.SearchOption.AllDirectories);
    

    That will search the entire primary hard drive. Again, you can substitute any root path you like for the rootDirectory variable.

    It should be noted that these options are relatively slow; there is, unfortunately, no fast way to accomplish this without knowing more information about where it might be installed.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

How can I find the path to the user's temp folder (e.g. C:\Users\lisnil\AppData\Local\Temp) from
I can't seem to find the function to remove a shape or path from
How I can find the path where Microsoft visual Studio is installed. I need
Given virtual directory and port can you find the actual path of a web
How can I make it possible for a Java applet find xuggle path? I
What algorithm can be used to find the longest path in an unweighted directed
In *nix systems one can use which to find out the full path to
now I am doing an Android application.I have to read a file from sdcard.I
i built a very simple application in vb.net, installed it, it worked. then i
I am new to java and I have to transfer file from Android application

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.