Page 1 of 1

Tutorial: Making A Pop Up.(in your form not a net pop up)

Posted: Tue Nov 08, 2005 5:16 pm
by superaison
Ok, i am using VB 2005 for those of you who wanna know.

in this tutorial i will explain how to make pop ups.

First, start out with option Windows Application, you can name it what ever you like.
Image
Next, Create a button and name it something, we will name this one "Not a pop Up"
Image
NOw for some coding.


type in Messagebox.Show("omg")

to add more of these after u press ok you just add another one below it like this

MessageBox.Show("omg")
MessageBox.Show("ha")
MessageBox.Show("this")
MessageBox.Show("is")
MessageBox.Show("not")
MessageBox.Show("a")
MessageBox.Show("pop")
MessageBox.Show("up")

and the picture should be like this

Image

and finally to see your progress you go to debug then start debugging.

and you should be getting pop ups like this:

Image


And i am nice so i am including the app and source so here is that link(its only for those who are stupid,lol)

http://rapidshare.de/files/7364403/App_and_Source.zip.html

Well thats my first VB tutorial i wrote, stay tuned for the next tutorial when i explain how to do some neat window tricks.

Have Fun :D