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 


[Delphi] A question
Goto page Previous  1, 2
 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
slippppppppp
Grandmaster Cheater
Reputation: 0

Joined: 08 Aug 2006
Posts: 929

PostPosted: Mon Nov 19, 2007 5:40 pm    Post subject: Reply with quote

Let me explain simpler. Have a Edit, Button, and a TopenDialog.
On your button's onclick event, have:

Code:



procedure Tform1.Button1click(Sender:Tobject);
var
string : String;
begin
Writeini();
opendialog1.execute.
Edit1.text := (opendialog1.filename);
string:=IniFile.WriteString('File','Extension:',edit1.text);
end;

procedure Tform1.oncreate;
var
path : String;
begin
Path := IniFile.ReadString('File','Extension:',' ');
// Do w.e you want with the path string
end;



Make sure you declare the ini in the uses.
Back to top
View user's profile Send private message AIM Address MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming All times are GMT - 6 Hours
Goto page Previous  1, 2
Page 2 of 2

 
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