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 


Visual Basic 2008
Goto page Previous  1, 2, 3  Next
 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
Blader
I post too much
Reputation: 2

Joined: 19 Jan 2007
Posts: 2049

PostPosted: Mon Nov 26, 2007 7:27 pm    Post subject: Reply with quote

skate4lifee wrote:
PhantomLancer wrote:
ok ive got it to close form1.... but it also closes form 2... it shows for a split second then vanishes


oh sorry...you could do this.

Code:
form1.visible = false


Although that takes up memory, so it's best to unload/close it, unless it's going to be used for later, then query unload/unload it all at once

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

Joined: 11 Nov 2007
Posts: 356

PostPosted: Mon Nov 26, 2007 7:28 pm    Post subject: Reply with quote

skate4lifee wrote:
PhantomLancer wrote:
ok ive got it to close form1.... but it also closes form 2... it shows for a split second then vanishes


oh sorry...you could do this.

Code:
form1.visible = false


ok thanks that worked now on form 2...

i have number picking thingy with the up arrow raising the number and down arrow lowering the number anyone can help me with a code that places the number of text boxes the same as the number the person chose

would it be

If number = 1 then Textbox3.Visible = True?

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

Joined: 11 Nov 2007
Posts: 356

PostPosted: Mon Nov 26, 2007 7:33 pm    Post subject: Reply with quote

skate4lifee wrote:
Blader wrote:
skate4lifee wrote:
PhantomLancer wrote:
ok ive got it to close form1.... but it also closes form 2... it shows for a split second then vanishes


oh sorry...you could do this.

Code:
form1.visible = false


Although that takes up memory, so it's best to unload/close it, unless it's going to be used for later, then query unload/unload it all at once


yeah i realized what i did was wrong also.

PhantomLancer, it won't work because form1 is the main form so even if you close form2 and make form1 invisible the program will still be running.

Having a problem my backspace button isnt working...

_________________


Last edited by PhantomLancer on Mon Nov 26, 2007 7:34 pm; edited 1 time in total
Back to top
View user's profile Send private message
Devilizer
Master Cheater
Reputation: 0

Joined: 22 Jun 2007
Posts: 451

PostPosted: Mon Nov 26, 2007 7:33 pm    Post subject: Reply with quote

Right clik -> Insert snippets.

You can explore the some functions there.
Back to top
View user's profile Send private message
Blader
I post too much
Reputation: 2

Joined: 19 Jan 2007
Posts: 2049

PostPosted: Mon Nov 26, 2007 7:36 pm    Post subject: Reply with quote

Someone can convert again lulz

First I think you should make an invisible text box, and here is code for button

Declare stuff:
Dim number as string
number = Val(text1.text)

Up and down button:
Code:

number = number + 1


Down:
Code:
number = number - 1
If number <1 Then
MsgBox("Can't go under 0")



Textbox stuff:

Code:
If number = 2 Then
text2.visible = True

Then all your other stuff

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

Joined: 11 Nov 2007
Posts: 356

PostPosted: Mon Nov 26, 2007 8:07 pm    Post subject: Reply with quote

i figured how to make it close when you click cancel?

@ blader...
i did the Dim Number As String Number Val(text4.text) and it gave me an error.. Sad

_________________


Last edited by PhantomLancer on Mon Nov 26, 2007 8:32 pm; edited 1 time in total
Back to top
View user's profile Send private message
PhantomLancer
Master Cheater
Reputation: 0

Joined: 11 Nov 2007
Posts: 356

PostPosted: Mon Nov 26, 2007 8:33 pm    Post subject: Reply with quote

skate4lifee wrote:
PhantomLancer wrote:
i figured how to make it close when you click cancel?

@ blader...

so i do this...

Textbox4.Visible = False

If Number = Number + 1

Textbox4.Visible = True ?


what would you like to do? why do you want an invisible textbox?


ok say the person pick 8....

a new form would open up and have 8 text boxes saying

Insert Item ID

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

Joined: 11 Nov 2007
Posts: 356

PostPosted: Mon Nov 26, 2007 9:13 pm    Post subject: Reply with quote

Well ACTUALLY i need over 1000 Little Check Boxes....

for a bot im making for gaia that loads clothes...

It will automatically put the clothes on your person for you...

i need a code that brings up a window with a scroller and all those little check boxes XD

also with the name of each item.. (i got alot of work ahead of me)

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

Joined: 11 Nov 2007
Posts: 356

PostPosted: Mon Nov 26, 2007 10:54 pm    Post subject: Reply with quote

skate4lifee wrote:
PhantomLancer wrote:
Well ACTUALLY i need over 1000 Little Check Boxes....

for a bot im making for gaia that loads clothes...

It will automatically put the clothes on your person for you...

i need a code that brings up a window with a scroller and all those little check boxes XD

also with the name of each item.. (i got alot of work ahead of me)


a listview might be a better approach instead of all those check boxes, you can use the listview's double click property to choose the item you want to add/take off so if the item is on then take off item elseif item is off put it on.


hmm il look into that...

Well are you familiar with gaia? if so, there is alot of items.. and i need to have all of them into this...

the user will then select each item and in a picture on the right side of the form what the avatar will look like (when i put on a item) then after the proccess there is a button thats got saved on it and the button saves the Outfit, Now.. when i reopen the bot it will have a new feature... LOAD which enabled them to type the name of a outfit and it automatically loads it and does there avatar that way Smile

right now i have a question how do i open ALL the forms in a folder... when i save mine its in a folder Called OutfitLoader1.1

and it has everything in it... but wont open em all.. any help?

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

Joined: 11 Nov 2007
Posts: 356

PostPosted: Tue Nov 27, 2007 7:39 pm    Post subject: Reply with quote

skate4lifee wrote:
PhantomLancer wrote:
skate4lifee wrote:
PhantomLancer wrote:
Well ACTUALLY i need over 1000 Little Check Boxes....

for a bot im making for gaia that loads clothes...

It will automatically put the clothes on your person for you...

i need a code that brings up a window with a scroller and all those little check boxes XD

also with the name of each item.. (i got alot of work ahead of me)


a listview might be a better approach instead of all those check boxes, you can use the listview's double click property to choose the item you want to add/take off so if the item is on then take off item elseif item is off put it on.


hmm il look into that...

Well are you familiar with gaia? if so, there is alot of items.. and i need to have all of them into this...

the user will then select each item and in a picture on the right side of the form what the avatar will look like (when i put on a item) then after the proccess there is a button thats got saved on it and the button saves the Outfit, Now.. when i reopen the bot it will have a new feature... LOAD which enabled them to type the name of a outfit and it automatically loads it and does there avatar that way Smile

right now i have a question how do i open ALL the forms in a folder... when i save mine its in a folder Called OutfitLoader1.1

and it has everything in it... but wont open em all.. any help?


it will only show the main .exe file that you have assigned, you can use code such as form2.show or form2.visible = true to show the second form. are you asking this because the first form is the password information and the second form is where the 'magic' happens? Razz


well do you know where to find a HTTPWrapper? i need it to get the files from the site..

_________________
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
Goto page Previous  1, 2, 3  Next
Page 2 of 3

 
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