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 


[VB6] INI module

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

Joined: 21 Jun 2006
Posts: 1944
Location: Florida

PostPosted: Thu Nov 08, 2007 6:00 pm    Post subject: [VB6] INI module Reply with quote

I wrote the ini module for my monkeystoryhelper 3.0
It has the following abilities:
CreateIni: This will create an ini file
Format

Code:
'CreateIni Name of ini file, location, Use app path, Use confirmation


Example:

Code:
'CreateIni "Settings", vbNullString, True, False
'This will make Settings.ini in your apps location without a confirmation
'CreateIni "Settings", "C:\", False, True
'This will make Settings.ini in C:\ folder with a confirmation


WriteX: This will allow you to write up to 5 keys(and values at once)
Format:
Code:
WriteX path, section, key, value, use app path, name if in apppath, key2, value2, key3, value3, key4, value4, key5, value 5

Code:
WriteX vbNullString, "Settings", "Password", "Flowers", True, "Settings", "Path", "C:\Hi"


Check: checks to see if the ini exists
Format:
Code:
 Check Path, use app path, if use app path filename

Example:
Code:
msgbox Check C:\test.ini, false, vbnullstring
would return true or false if test.ini exists in C:\

ReadiniX: Reads from ini a specific keys value
format:
Code:
msgbox ReadiniX( Path, section, key, use app path, filename in app path)

Example:
Code:
 Pass = ReadIniX(vbNullString, "Settings", "Password", True, "Settings")
Would read the value from password in the settings section from the Settings.ini in my programs app path


DeleteIni: Delete an ini file
Format:
Code:
Deleteini Path, useapp path, filename in app path

Example:
Code:
Deleteini vbnullstring, true, "Settings"


Module attached



The Extension 'rar' was deactivated by an board admin, therefore this Attachment is not displayed.

Back to top
View user's profile Send private message
Lorrenzo
Moderator
Reputation: 4

Joined: 02 Jun 2006
Posts: 3744

PostPosted: Thu Nov 08, 2007 7:19 pm    Post subject: Reply with quote

Sweeeeeeeet.
Oh yes, I <3 the Helper.

Actually, nvr used it, but looks great.

_________________
LAWLrrenzolicious
Back to top
View user's profile Send private message
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