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 


vb forms

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

Joined: 25 Jun 2008
Posts: 109

PostPosted: Mon Jul 28, 2008 4:46 pm    Post subject: vb forms Reply with quote

is there a way I can lock the windows so when someone using the trainer can't resize the window form? I try to select all and right-click then lock control, but that only lock the buttons, labels, etc...not the window itself...
Back to top
View user's profile Send private message MSN Messenger
Trow
Grandmaster Cheater
Reputation: 2

Joined: 17 Aug 2006
Posts: 957

PostPosted: Mon Jul 28, 2008 8:56 pm    Post subject: Reply with quote

Form.BorderStyle=1 or Form.BorderStyle=3

this should be done in design mode

_________________
Get kidnapped often.
Back to top
View user's profile Send private message
Orbit
Advanced Cheater
Reputation: 0

Joined: 09 Dec 2007
Posts: 74

PostPosted: Tue Jul 29, 2008 8:16 am    Post subject: Reply with quote

You can even add this cod ein your formresize

form1.height=(Type the height you need to be freeze)
form1.width=(Type the width you need to be freeze)

So each time a user resizes window it will go back to the original size

the one blland gave you does this automatticaly for you but it changes your form style to.

_________________
VB2008 Programmer Smile
Back to top
View user's profile Send private message
NINTENDO
Grandmaster Cheater Supreme
Reputation: 0

Joined: 02 Nov 2007
Posts: 1371

PostPosted: Wed Jul 30, 2008 9:21 am    Post subject: Reply with quote

Orbit wrote:
You can even add this cod ein your formresize

form1.height=(Type the height you need to be freeze)
form1.width=(Type the width you need to be freeze)

So each time a user resizes window it will go back to the original size

the one blland gave you does this automatticaly for you but it changes your form style to.


That will allow the resize first and then it will rollback to whatever you specifed. The first option is better.

_________________
Intel over amd yes.
Back to top
View user's profile Send private message Send e-mail AIM Address Yahoo Messenger MSN Messenger
Orbit
Advanced Cheater
Reputation: 0

Joined: 09 Dec 2007
Posts: 74

PostPosted: Wed Jul 30, 2008 11:45 am    Post subject: Reply with quote

Naablet wrote:
Orbit wrote:
You can even add this cod ein your formresize

form1.height=(Type the height you need to be freeze)
form1.width=(Type the width you need to be freeze)

So each time a user resizes window it will go back to the original size

the one blland gave you does this automatticaly for you but it changes your form style to.


That will allow the resize first and then it will rollback to whatever you specifed. The first option is better.


I just gave him an option

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

Joined: 25 Jun 2008
Posts: 109

PostPosted: Thu Jul 31, 2008 5:50 pm    Post subject: Reply with quote

ok...how about this.... since it a bit confusing...
I set the property to public and ready to code.


I'm on form2 with an infinite hp button. So how do I code it to get the flash variable?

i try
Code:
call myform.flash.setvariable = ("health", 9999)


and it says something that flash is not declear or something...



RE-EDIT


nevermind... I got it; thanks ya...

Code:

call myform.flash.movie.ToString()
call myform.flash.setvariable = ("health", 9999)

_________________
Back to top
View user's profile Send private message MSN Messenger
NINTENDO
Grandmaster Cheater Supreme
Reputation: 0

Joined: 02 Nov 2007
Posts: 1371

PostPosted: Fri Aug 01, 2008 7:04 am    Post subject: Reply with quote

asianking wrote:
ok...how about this.... since it a bit confusing...
I set the property to public and ready to code.


I'm on form2 with an infinite hp button. So how do I code it to get the flash variable?

i try
Code:
call myform.flash.setvariable = ("health", 9999)


and it says something that flash is not declear or something...



RE-EDIT


nevermind... I got it; thanks ya...

Code:

call myform.flash.movie.ToString()
call myform.flash.setvariable = ("health", 9999)


Dont use the "=" in the setvariable property.

_________________
Intel over amd yes.
Back to top
View user's profile Send private message Send e-mail AIM Address Yahoo Messenger MSN Messenger
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