| View previous topic :: View next topic |
| Author |
Message |
killmanx27 Expert Cheater
Reputation: 1
Joined: 03 Oct 2010 Posts: 130 Location: Canada :D
|
Posted: Tue Dec 07, 2010 6:26 pm Post subject: How Do i make a popup on vb8 |
|
|
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
 
Last edited by killmanx27 on Wed Dec 22, 2010 11:59 pm; edited 1 time in total |
|
| Back to top |
|
 |
Jorg hi I post too much
Reputation: 7
Joined: 24 Dec 2007 Posts: 2276 Location: Minnesota
|
Posted: Tue Dec 07, 2010 6:58 pm Post subject: |
|
|
And its actually called VB.net
_________________
CEF will always stay alive. |
|
| Back to top |
|
 |
killmanx27 Expert Cheater
Reputation: 1
Joined: 03 Oct 2010 Posts: 130 Location: Canada :D
|
Posted: Tue Dec 07, 2010 7:18 pm Post subject: |
|
|
| Jorg hi wrote: |
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
  |
|
| Back to top |
|
 |
InternetIsSeriousBusiness Grandmaster Cheater Supreme
Reputation: 8
Joined: 12 Jul 2010 Posts: 1268
|
Posted: Tue Dec 07, 2010 7:27 pm Post subject: |
|
|
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 |
|
 |
XSV GTH Moderator
Reputation: 9
Joined: 12 Oct 2005 Posts: 1007 Location: USA
|
Posted: Tue Dec 07, 2010 7:29 pm Post subject: |
|
|
MessageBox.Show("MessageHere", "TitleOfMessage/Form")
_________________
|
|
| Back to top |
|
 |
killmanx27 Expert Cheater
Reputation: 1
Joined: 03 Oct 2010 Posts: 130 Location: Canada :D
|
Posted: Tue Dec 07, 2010 7:40 pm Post subject: |
|
|
| XSV wrote: | | MessageBox.Show("MessageHere", "TitleOfMessage/Form") |
Wow thanks
_________________
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
  |
|
| Back to top |
|
 |
killmanx27 Expert Cheater
Reputation: 1
Joined: 03 Oct 2010 Posts: 130 Location: Canada :D
|
Posted: Fri Dec 10, 2010 7:45 pm Post subject: |
|
|
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
  |
|
| Back to top |
|
 |
Jorg hi I post too much
Reputation: 7
Joined: 24 Dec 2007 Posts: 2276 Location: Minnesota
|
Posted: Fri Dec 10, 2010 9:18 pm Post subject: |
|
|
| 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 |
|
 |
XSV GTH Moderator
Reputation: 9
Joined: 12 Oct 2005 Posts: 1007 Location: USA
|
Posted: Fri Dec 10, 2010 10:15 pm Post subject: |
|
|
this code:
Dim test As New Form2
test.Show()
like you said works fine on vb2010...
_________________
|
|
| Back to top |
|
 |
killmanx27 Expert Cheater
Reputation: 1
Joined: 03 Oct 2010 Posts: 130 Location: Canada :D
|
Posted: Sat Dec 11, 2010 10:56 pm Post subject: |
|
|
| 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
  |
|
| Back to top |
|
 |
hcavolsdsadgadsg I'm a spammer
Reputation: 26
Joined: 11 Jun 2007 Posts: 5801
|
Posted: Sat Dec 11, 2010 10:59 pm Post subject: |
|
|
Post your code
Post the error
win
|
|
| Back to top |
|
 |
killmanx27 Expert Cheater
Reputation: 1
Joined: 03 Oct 2010 Posts: 130 Location: Canada :D
|
Posted: Sat Dec 11, 2010 11:05 pm Post subject: |
|
|
| 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
  |
|
| Back to top |
|
 |
hcavolsdsadgadsg I'm a spammer
Reputation: 26
Joined: 11 Jun 2007 Posts: 5801
|
Posted: Sat Dec 11, 2010 11:17 pm Post subject: |
|
|
| You started a C# project, not a VB.net project
|
|
| Back to top |
|
 |
killmanx27 Expert Cheater
Reputation: 1
Joined: 03 Oct 2010 Posts: 130 Location: Canada :D
|
Posted: Sat Dec 11, 2010 11:27 pm Post subject: |
|
|
| 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
 
Last edited by killmanx27 on Sun Dec 12, 2010 12:55 am; edited 1 time in total |
|
| Back to top |
|
 |
M.CORP Grandmaster Cheater Supreme
Reputation: 28
Joined: 28 Oct 2009 Posts: 1010
|
Posted: Sat Dec 11, 2010 11:47 pm Post subject: |
|
|
| 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?
_________________
|
|
| Back to top |
|
 |
|