Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


{help} {VB 6}

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
NINTENDO
Grandmaster Cheater Supreme
Reputation: 0

Joined: 02 Nov 2007
Posts: 1371

PostPosted: Fri Aug 01, 2008 7:01 am    Post subject: {help} {VB 6} Reply with quote

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
View user's profile Send private message Send e-mail AIM Address Yahoo Messenger MSN Messenger
atom0s
Moderator
Reputation: 205

Joined: 25 Jan 2006
Posts: 8588
Location: 127.0.0.1

PostPosted: Fri Aug 01, 2008 7:33 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
NINTENDO
Grandmaster Cheater Supreme
Reputation: 0

Joined: 02 Nov 2007
Posts: 1371

PostPosted: Fri Aug 01, 2008 7:35 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail AIM Address Yahoo Messenger MSN Messenger
atom0s
Moderator
Reputation: 205

Joined: 25 Jan 2006
Posts: 8588
Location: 127.0.0.1

PostPosted: Fri Aug 01, 2008 7:41 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites