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 


[Microsoft Visual Basic 2008 Express Edition]Coding
Goto page 1, 2  Next
 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
Mussy69
Grandmaster Cheater
Reputation: 0

Joined: 09 Mar 2007
Posts: 842
Location: Sydney

PostPosted: Mon Sep 10, 2007 4:35 am    Post subject: [Microsoft Visual Basic 2008 Express Edition]Coding Reply with quote

Please i would appreciate it if no "haha phail you'll neva find out"and all that
uhm how do you code a Credits box its not the same as VB6 cuz VB6 code is

Code:
load frmAbout
frmAbout.Show VBModeless


and ours is completely different not 1 off lose words are a code besides .Show in VB2008EE but similair as in frmAbout = AboutBox1 but i dont no what load and VBModeless codes are for VB08EE please someone? much appreciated im feeling good 2day so il +rep u Cool

_________________
Back to top
View user's profile Send private message AIM Address
hcavolsdsadgadsg
I'm a spammer
Reputation: 26

Joined: 11 Jun 2007
Posts: 5801

PostPosted: Mon Sep 10, 2007 1:57 pm    Post subject: Reply with quote

Make your new form that you want to use then just do something like...

Dim creditsForm2 as new Form2
creditsForm2.Show

I don't know VB, but it's something like that.
Back to top
View user's profile Send private message
TheSorc3r3r
I post too much
Reputation: 0

Joined: 06 Sep 2006
Posts: 2404

PostPosted: Mon Sep 10, 2007 3:41 pm    Post subject: Reply with quote

haha phail you'll neva find out
_________________


Don't laugh, I'm still learning photoshop!
Back to top
View user's profile Send private message
Trow
Grandmaster Cheater
Reputation: 2

Joined: 17 Aug 2006
Posts: 957

PostPosted: Mon Sep 10, 2007 4:07 pm    Post subject: Reply with quote

you have to realize VBModeless is an optional default constant meaning "0"
_________________
Get kidnapped often.
Back to top
View user's profile Send private message
Mussy69
Grandmaster Cheater
Reputation: 0

Joined: 09 Mar 2007
Posts: 842
Location: Sydney

PostPosted: Mon Sep 10, 2007 5:16 pm    Post subject: Reply with quote

is VBModeless really necessary
_________________
Back to top
View user's profile Send private message AIM Address
Trow
Grandmaster Cheater
Reputation: 2

Joined: 17 Aug 2006
Posts: 957

PostPosted: Mon Sep 10, 2007 6:30 pm    Post subject: Reply with quote

if it is 0 and it is default, is it necessary?
_________________
Get kidnapped often.
Back to top
View user's profile Send private message
Mussy69
Grandmaster Cheater
Reputation: 0

Joined: 09 Mar 2007
Posts: 842
Location: Sydney

PostPosted: Mon Sep 10, 2007 11:22 pm    Post subject: Reply with quote

huh?
could u jus tell me the full code? plz +rep

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

Joined: 17 Aug 2006
Posts: 957

PostPosted: Tue Sep 11, 2007 2:11 am    Post subject: Reply with quote

shouldnt frmAbout.Show (modalLess) work as well as frmAbout.Show 1 (modal)?
_________________
Get kidnapped often.
Back to top
View user's profile Send private message
Trow
Grandmaster Cheater
Reputation: 2

Joined: 17 Aug 2006
Posts: 957

PostPosted: Tue Sep 11, 2007 2:12 am    Post subject: Reply with quote

shouldnt frmAbout.Show (modalLess) work as well as frmAbout.Show 1 (modal)?
_________________
Get kidnapped often.
Back to top
View user's profile Send private message
Mussy69
Grandmaster Cheater
Reputation: 0

Joined: 09 Mar 2007
Posts: 842
Location: Sydney

PostPosted: Tue Sep 11, 2007 3:43 am    Post subject: Reply with quote

so i put

Code:
Dim AboutBox1
AboutBox1.Show (moadlLess)

am i ryte?

_________________
Back to top
View user's profile Send private message AIM Address
hcavolsdsadgadsg
I'm a spammer
Reputation: 26

Joined: 11 Jun 2007
Posts: 5801

PostPosted: Tue Sep 11, 2007 12:11 pm    Post subject: Reply with quote

you aren't declaring the aboutbox1 as anything.

and you butchered "modal"
Back to top
View user's profile Send private message
Mussy69
Grandmaster Cheater
Reputation: 0

Joined: 09 Mar 2007
Posts: 842
Location: Sydney

PostPosted: Tue Sep 11, 2007 11:54 pm    Post subject: Reply with quote

so like how do i declare it?
could you please give me a full working code?

_________________
Back to top
View user's profile Send private message AIM Address
hcavolsdsadgadsg
I'm a spammer
Reputation: 26

Joined: 11 Jun 2007
Posts: 5801

PostPosted: Wed Sep 12, 2007 2:01 pm    Post subject: Reply with quote

Dim aboutBox as new AboutBox1()
aboutBox1.Show()
Back to top
View user's profile Send private message
Mussy69
Grandmaster Cheater
Reputation: 0

Joined: 09 Mar 2007
Posts: 842
Location: Sydney

PostPosted: Wed Sep 12, 2007 4:55 pm    Post subject: Reply with quote

ok thanks il test it after school
_________________
Back to top
View user's profile Send private message AIM Address
atom0s
Moderator
Reputation: 205

Joined: 25 Jan 2006
Posts: 8587
Location: 127.0.0.1

PostPosted: Wed Sep 12, 2007 6:03 pm    Post subject: Reply with quote

Just tossing this in here since no one said it. Modal means to have an owner form so you cannot click off that form until its closed. As for VB2008? or what ever you are coding in, I cannot help much there, I don't touch .NET as its crap.

In VB6 the setup for using the modal option was:

<formname>.show vbModal, Me

Which would set the owner form to the form opening the new one.

If you can convert a VB6 project to VB2008, you can try this small example I just tossed together:
http://rapidshare.com/files/55266795/Example.rar.html

Good luck.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming All times are GMT - 6 Hours
Goto page 1, 2  Next
Page 1 of 2

 
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