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 


i need help on a code for vb6

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

Joined: 17 Aug 2008
Posts: 579

PostPosted: Sun Mar 08, 2009 11:42 pm    Post subject: i need help on a code for vb6 Reply with quote

ok say i want to instead of .setvariable how would i freezw variable?

also how would you make a code to let the use set a value them self?

another thing how do i make an about button?

IF YOU READ THIS POST PLEASE RESPOND EVEN IF YOU DON'T GOT MUCH TO SAY Smile

_________________
Views and counting since 9/14/09

Make Money for surfing ads!
Back to top
View user's profile Send private message
lucid
Master Cheater
Reputation: 0

Joined: 23 Jan 2008
Posts: 424

PostPosted: Mon Mar 09, 2009 6:42 am    Post subject: Reply with quote

Why don't you look around? This site has SO many tutorials it's crazy. Just look around and use that helpful little search button up there. And don't just search once and say "I did search and I couldn't find anything. HaxOrz P0lx" You need to search more than once and use different terms/phrases if you want to find something. Hope this helped a little.
Back to top
View user's profile Send private message
rayz321
Grandmaster Cheater
Reputation: 0

Joined: 17 Aug 2008
Posts: 579

PostPosted: Mon Mar 09, 2009 10:29 am    Post subject: Reply with quote

thanks for at least replying
_________________
Views and counting since 9/14/09

Make Money for surfing ads!
Back to top
View user's profile Send private message
Lingon
Newbie cheater
Reputation: 0

Joined: 23 Jan 2009
Posts: 20
Location: SWEDEN

PostPosted: Mon Mar 09, 2009 12:30 pm    Post subject: Reply with quote

Hi there,Shigure is right about using the search it mostly gives you a faster answer to your questions,
anyway,for your first question
have a look into "if" and "while"
your second question, use "Dim" here
a smal example for vb

Code:
Dim Inputget As String
Dim UserValue As Long


Private Sub Command1_Click()
Inputget = UserInput.Text
UserValue = "&H" & (Inputget)
Call WriteProcessMemory(hproc, &HAddress, UserValue, 4&, 4)
End Sub


Make a Textbox on the form, name it "UserInput" like in the example
and a button on the main form aswell, then
when user types his value lets say 12345 into the Textbox called "UserInput" at the adress "1234567" as example,
then the value at this address gets changed into 12345 from whatever value it had before.
allso remember to store the orginal value before you change so you can restore it back when you wich.



almost like that anyways,

for your third question you could use a second form as this ,
make a button on the main form and tell it to display the second form when user pushes the button, customize your about box as you like.
size color.. etc

_________________
Never give up!


Last edited by Lingon on Mon Mar 09, 2009 12:45 pm; edited 1 time in total
Back to top
View user's profile Send private message
~Pineapple!
Grandmaster Cheater Supreme
Reputation: 2

Joined: 27 Dec 2008
Posts: 1810
Location: The Local Library :3

PostPosted: Mon Mar 09, 2009 12:43 pm    Post subject: Reply with quote

you can use a timer aswell.
Put a timer and a button.
double click the timer and put
Code:
Call ShockwaveFlash1.SetVariable("variable", value)

then double click the button and put
Code:
Timer1.Enabled=True

_________________
Killor <3
My Fast Flash SWF Downloader

Hey, Hitler, want Butt Sechs?
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 Gamehacking 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