| View previous topic :: View next topic |
| Author |
Message |
NINTENDO Grandmaster Cheater Supreme
Reputation: 0
Joined: 02 Nov 2007 Posts: 1371
|
Posted: Fri Aug 01, 2008 7:01 am Post subject: {help} {VB 6} |
|
|
Hello.
How would you detect whenever a game is installed or not on a machine using vb?
I really dont know and I really need help with it.
_________________
Intel over amd yes. |
|
| Back to top |
|
 |
atom0s Moderator
Reputation: 205
Joined: 25 Jan 2006 Posts: 8588 Location: 127.0.0.1
|
Posted: Fri Aug 01, 2008 7:33 am Post subject: |
|
|
Depends on the game itself. Usually, game installers allow you to set the path for where the game gets installed to, which in most cases will have a registry entry added for the game then. You can pull the path to the game folder from it's registry entry (if one is made) and append the path string with the games exe name. Then check if the file exists in that folder.
But, not all games will create registry entries so theres no "clear-cut" way to do it for all games.
_________________
- Retired. |
|
| Back to top |
|
 |
NINTENDO Grandmaster Cheater Supreme
Reputation: 0
Joined: 02 Nov 2007 Posts: 1371
|
Posted: Fri Aug 01, 2008 7:35 am Post subject: |
|
|
| Wiccaan wrote: | Depends on the game itself. Usually, game installers allow you to set the path for where the game gets installed to, which in most cases will have a registry entry added for the game then. You can pull the path to the game folder from it's registry entry (if one is made) and append the path string with the games exe name. Then check if the file exists in that folder.
But, not all games will create registry entries so theres no "clear-cut" way to do it for all games. |
really? So you can't access the list of installed applications using vb?
_________________
Intel over amd yes. |
|
| Back to top |
|
 |
atom0s Moderator
Reputation: 205
Joined: 25 Jan 2006 Posts: 8588 Location: 127.0.0.1
|
Posted: Fri Aug 01, 2008 7:41 am Post subject: |
|
|
| Naablet wrote: | | Wiccaan wrote: | Depends on the game itself. Usually, game installers allow you to set the path for where the game gets installed to, which in most cases will have a registry entry added for the game then. You can pull the path to the game folder from it's registry entry (if one is made) and append the path string with the games exe name. Then check if the file exists in that folder.
But, not all games will create registry entries so theres no "clear-cut" way to do it for all games. |
really? So you can't access the list of installed applications using vb? |
You can, that info is also stored in the registry, but that doesn't mean the game has added an entry to that list. What game are you referring to?
_________________
- Retired. |
|
| Back to top |
|
 |
|