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 


How Do i make a popup on vb8
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
killmanx27
Expert Cheater
Reputation: 1

Joined: 03 Oct 2010
Posts: 130
Location: Canada :D

PostPosted: Tue Dec 07, 2010 6:26 pm    Post subject: How Do i make a popup on vb8 Reply with quote

Can someone please tell me how to make pop ups?i tried with"Msg"but vb 8 says it doesnt know what that command means so i cant use it.I have tried "Dim" but same thing.

EDIT:sorry guys before i was using vb C# and not .net

_________________
Will is introducing his friend to his family.He goes to uncle phil and says"ALL OF THIS IS MY UNCLE PHIL" *waving around a big circle around uncle phil
Very Happy


Last edited by killmanx27 on Wed Dec 22, 2010 11:59 pm; edited 1 time in total
Back to top
View user's profile Send private message
Jorg hi
I post too much
Reputation: 7

Joined: 24 Dec 2007
Posts: 2276
Location: Minnesota

PostPosted: Tue Dec 07, 2010 6:58 pm    Post subject: Reply with quote

Code:
MessageBox.Show

And its actually called VB.net

_________________
CEF will always stay alive.
Back to top
View user's profile Send private message
killmanx27
Expert Cheater
Reputation: 1

Joined: 03 Oct 2010
Posts: 130
Location: Canada :D

PostPosted: Tue Dec 07, 2010 7:18 pm    Post subject: Reply with quote

Jorg hi wrote:
Code:
MessageBox.Show

And its actually called VB.net


I tried it but that didnt seem to work this is my code
Code:
MessageBox.Show("TESTING", 0 + 0, "lolz");
i only did that just to make sure it would work.I get 3 errors they are
[code]Error 1 The best overloaded method match for 'System.Windows.Forms.MessageBox.Show(string, string, System.Windows.Forms.MessageBoxButtons)' has some invalid arguments ha3
Error 2 Argument '2': cannot convert from 'int' to 'string' 40 ha3
Error 3 Argument '3': cannot convert from 'string' to 'System.Windows.Forms.MessageBoxButtons' 47 ha3

_________________
Will is introducing his friend to his family.He goes to uncle phil and says"ALL OF THIS IS MY UNCLE PHIL" *waving around a big circle around uncle phil
Very Happy
Back to top
View user's profile Send private message
InternetIsSeriousBusiness
Grandmaster Cheater Supreme
Reputation: 8

Joined: 12 Jul 2010
Posts: 1268

PostPosted: Tue Dec 07, 2010 7:27 pm    Post subject: Reply with quote

here is a simple message box:

on error rusume next
msgbox("HELLO WORLD")

if you want to make another form come up

form2.show

_________________
FLAME FLAME FLAME!!!@@@
Back to top
View user's profile Send private message
XSV
GTH Moderator
Reputation: 9

Joined: 12 Oct 2005
Posts: 1007
Location: USA

PostPosted: Tue Dec 07, 2010 7:29 pm    Post subject: Reply with quote

MessageBox.Show("MessageHere", "TitleOfMessage/Form")
_________________
Back to top
View user's profile Send private message
killmanx27
Expert Cheater
Reputation: 1

Joined: 03 Oct 2010
Posts: 130
Location: Canada :D

PostPosted: Tue Dec 07, 2010 7:40 pm    Post subject: Reply with quote

XSV wrote:
MessageBox.Show("MessageHere", "TitleOfMessage/Form")

Wow thanks Very Happy

_________________
Will is introducing his friend to his family.He goes to uncle phil and says"ALL OF THIS IS MY UNCLE PHIL" *waving around a big circle around uncle phil
Very Happy
Back to top
View user's profile Send private message
killmanx27
Expert Cheater
Reputation: 1

Joined: 03 Oct 2010
Posts: 130
Location: Canada :D

PostPosted: Fri Dec 10, 2010 7:45 pm    Post subject: Reply with quote

also how do i make like a form pop up i tried
Code:
On Error Resume Next
Dim Help As New Form2
Help.Show
that didnt work says like "On doesnt exist" and with other erros.Is there a site that shows lots of vb 2008 codes like the form pop up?Cause sometimes when people reply to me they dont work and they are prob for vb6
_________________
Will is introducing his friend to his family.He goes to uncle phil and says"ALL OF THIS IS MY UNCLE PHIL" *waving around a big circle around uncle phil
Very Happy
Back to top
View user's profile Send private message
Jorg hi
I post too much
Reputation: 7

Joined: 24 Dec 2007
Posts: 2276
Location: Minnesota

PostPosted: Fri Dec 10, 2010 9:18 pm    Post subject: Reply with quote

Code:
Dim Help As new Form2
Help.Show()


Make sure you have already made a form named "Form2".

_________________
CEF will always stay alive.
Back to top
View user's profile Send private message
XSV
GTH Moderator
Reputation: 9

Joined: 12 Oct 2005
Posts: 1007
Location: USA

PostPosted: Fri Dec 10, 2010 10:15 pm    Post subject: Reply with quote

this code:

Dim test As New Form2
test.Show()

like you said works fine on vb2010...

_________________
Back to top
View user's profile Send private message
killmanx27
Expert Cheater
Reputation: 1

Joined: 03 Oct 2010
Posts: 130
Location: Canada :D

PostPosted: Sat Dec 11, 2010 10:56 pm    Post subject: Reply with quote

XSV wrote:
this code:

Dim test As New Form2
test.Show()

like you said works fine on vb2010...


I dont know why but it still says that Dim still doesnt exist.Should i download another vb 8?

_________________
Will is introducing his friend to his family.He goes to uncle phil and says"ALL OF THIS IS MY UNCLE PHIL" *waving around a big circle around uncle phil
Very Happy
Back to top
View user's profile Send private message
hcavolsdsadgadsg
I'm a spammer
Reputation: 26

Joined: 11 Jun 2007
Posts: 5801

PostPosted: Sat Dec 11, 2010 10:59 pm    Post subject: Reply with quote

Post your code
Post the error

win
Back to top
View user's profile Send private message
killmanx27
Expert Cheater
Reputation: 1

Joined: 03 Oct 2010
Posts: 130
Location: Canada :D

PostPosted: Sat Dec 11, 2010 11:05 pm    Post subject: Reply with quote

slovach wrote:
Post your code
Post the error

win


my code
Code:
Dim test as new Form2;
            test.Show();


Errors (6)
Code:
Error   1   The type or namespace name 'Dim' could not be found (are you missing a using directive or an assembly reference?)   21   13   Warefare 1917
Error   2   Only assignment, call, increment, decrement, and new object expressions can be used as a statement      21   17   Warefare 1917
Error   3   Invalid expression term 'as'   21   22   Warefare 1917
Error   4   ;  Projects\Warefare 1917\Form1.cs   21   22   Warefare 1917
Error   5   ; Projects\Warefare 1917\Form1.cs   21   25   Warefare 1917
Error   6   A new expression requires (), [], or {} after type   
where it says theres suppose to be a ; it wants it to replace the "as" and the"new"
_________________
Will is introducing his friend to his family.He goes to uncle phil and says"ALL OF THIS IS MY UNCLE PHIL" *waving around a big circle around uncle phil
Very Happy
Back to top
View user's profile Send private message
hcavolsdsadgadsg
I'm a spammer
Reputation: 26

Joined: 11 Jun 2007
Posts: 5801

PostPosted: Sat Dec 11, 2010 11:17 pm    Post subject: Reply with quote

You started a C# project, not a VB.net project
Back to top
View user's profile Send private message
killmanx27
Expert Cheater
Reputation: 1

Joined: 03 Oct 2010
Posts: 130
Location: Canada :D

PostPosted: Sat Dec 11, 2010 11:27 pm    Post subject: Reply with quote

slovach wrote:
You started a C# project, not a VB.net project


OO how do i change?(sorry im a noob)

EDIT:oops sorry i downloaded only vb C# and not the visual Basic one

_________________
Will is introducing his friend to his family.He goes to uncle phil and says"ALL OF THIS IS MY UNCLE PHIL" *waving around a big circle around uncle phil
Very Happy


Last edited by killmanx27 on Sun Dec 12, 2010 12:55 am; edited 1 time in total
Back to top
View user's profile Send private message
M.CORP
Grandmaster Cheater Supreme
Reputation: 28

Joined: 28 Oct 2009
Posts: 1010

PostPosted: Sat Dec 11, 2010 11:47 pm    Post subject: Reply with quote

XSV wrote:
this code:

Dim test As New Form2
test.Show()

like you said works fine on vb2010...

I think it's just:
test.Show()

killmanx27 wrote:
slovach wrote:
You started a C# project, not a VB.net project


OO how do i change?(sorry im a noob)

Copy and paste?

_________________
Shameless Self Advertising Very Happy!
Steam
Just lurking around...
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 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