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 


[Question]Running Code With Code - VB6

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

Joined: 21 Nov 2007
Posts: 188
Location: Out of my mind, back in five minutes.

PostPosted: Sat Dec 29, 2007 7:13 am    Post subject: [Question]Running Code With Code - VB6 Reply with quote

I was wondering if it would be possible if you have, say, a message box that reads from a text file and displays what is in a variable; but then you changed what was in the variable, (in the text file) so something like this:
Code:

[GEN]
1= " & form1.text1.text & "


I know that is not correct, since I have tried it before. But, is that possible to do somehow?

~Elec0

_________________
Back to top
View user's profile Send private message MSN Messenger
Trow
Grandmaster Cheater
Reputation: 2

Joined: 17 Aug 2006
Posts: 957

PostPosted: Sun Dec 30, 2007 7:19 pm    Post subject: Reply with quote

do you want to rephrase?
_________________
Get kidnapped often.
Back to top
View user's profile Send private message
lurc
Grandmaster Cheater Supreme
Reputation: 2

Joined: 13 Nov 2006
Posts: 1900

PostPosted: Sun Dec 30, 2007 7:24 pm    Post subject: Reply with quote

are you talking about writing an XML or INI File with setting variables

like so when u load ur form it loads that variable that was saved?

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

Joined: 21 Nov 2007
Posts: 188
Location: Out of my mind, back in five minutes.

PostPosted: Sun Dec 30, 2007 7:31 pm    Post subject: Reply with quote

Not quite.

Example:
Code:

call msgbox(getvar(app.path & "/example.txt", "[EX]", "EXAMPLE"))

     Example.txt text
EXAMPLE=form1.text1.text="blahblah"


But, if you do that, then you only get form1.text1.text="blahblah".

_________________
Back to top
View user's profile Send private message MSN Messenger
Trow
Grandmaster Cheater
Reputation: 2

Joined: 17 Aug 2006
Posts: 957

PostPosted: Sun Dec 30, 2007 7:34 pm    Post subject: Reply with quote

so are you trying to execute vb code?

so say if I = "msgbox(""Hello"")", then if you have code like
Code:
I

then it shows a message box?

_________________
Get kidnapped often.
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