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 display error

 
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: Sat Aug 16, 2008 8:34 pm    Post subject: vb forms display error Reply with quote

I coded form1 to display form2.. When I open form 2 then close and re-open, I have this error!



my code for the button press is:

Code:

form2.show()


This means I can only open form2 once... I can't open twice or more...

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

Joined: 30 Oct 2006
Posts: 1597

PostPosted: Sat Aug 16, 2008 8:50 pm    Post subject: Reply with quote

that don't seem to be the error.

show the whole code, you seen to kill it XD

_________________

Back to top
View user's profile Send private message
pkedpker
Master Cheater
Reputation: 1

Joined: 11 Oct 2006
Posts: 412

PostPosted: Sat Aug 16, 2008 10:01 pm    Post subject: Reply with quote

read the error

Cannot access disposed object..

disposed means erased gome doesn't exist anymore NULL zero 0.

Object name: Form2..

Form 2 is gone.. doesn't exist anymore its unloaded figure out why it doesn't exist? maybe u closed it?


if you want to make a close button make close do.. Form2.hide.. or something it will be invisible.. when u want to make it visible do Form2.show in form1 but deleting it.. won't make it possible to show.
Back to top
View user's profile Send private message
asianking
Expert Cheater
Reputation: 0

Joined: 25 Jun 2008
Posts: 109

PostPosted: Mon Aug 18, 2008 9:15 pm    Post subject: Reply with quote

thanks a lot...that works... Form2.hide really did the work... Could have notice that sooner... I no expert in vb, but I'm getting there... await for my game trainer...
_________________
Back to top
View user's profile Send private message 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