Sign in to follow this  
Hardguy

Visual Basic: Getting installed program path

Recommended Posts

Hardguy    244
Hi, I am making a launch application for a game and need to know how see if the program is installed. If possible I would like to know: - How to get a list of programs currently installed + the path it is installed to? And if this is not possible: - How to read from the registry? I need the code in Visual Basic and I need it to work in Windows 2000/XP/Vista. I would be very thankful for any help!

Share this post


Link to post
Share on other sites
TheAdmiral    1122
Well it is possible, but I'd imagine you must work directly from the registry. That is, unless somebody has written a library for this purpose (it may be worth Googling before you waste too much time).

Before we go into detail, could you tell us which version of VB you are using? VB6 and VB.net are two very different beasts.

Admiral

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this