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 


Is it Possible?

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

Joined: 13 Nov 2006
Posts: 1900

PostPosted: Sun Sep 02, 2007 1:06 pm    Post subject: Is it Possible? Reply with quote

to set settings in C++? cuz im having troubles...

ive made an app.config file,

Code:
<configuration>
    <appSettings file="SaveTest">
      <add key="text1" value="HI" />
      <add key="text2" value="HI" />
    </appSettings>
</configuration>


but im not sure how to call it in my form?

ive tried this:

Code:
   private: System::Void Form1_Load(System::Object^  sender, System::EventArgs^  e) {
             ConfigurationSettings::GetConfig("appSettings");
             text1->Text = ConfigurationSettings::AppSettings["text1"];
          }


but it doesnt work, can someone plz help me with this?

_________________
Back to top
View user's profile Send private message
Programmer
Cheater
Reputation: 0

Joined: 02 Sep 2007
Posts: 48

PostPosted: Sun Sep 02, 2007 5:50 pm    Post subject: Reply with quote

C++.NET? .. .BLEGH!
Back to top
View user's profile Send private message
lurc
Grandmaster Cheater Supreme
Reputation: 2

Joined: 13 Nov 2006
Posts: 1900

PostPosted: Sun Sep 02, 2007 5:55 pm    Post subject: Reply with quote

thanks, that helps alot JEEZ dont post if it doesnt have a meaning
_________________
Back to top
View user's profile Send private message
Programmer
Cheater
Reputation: 0

Joined: 02 Sep 2007
Posts: 48

PostPosted: Sun Sep 02, 2007 6:05 pm    Post subject: Reply with quote

Try coding in proper C++. Its more fun and you learn more!
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