VBS fake message...

p4nz3rm4d

Distinguished
Jun 1, 2010
65
0
18,590
Howzit guys.
i have a LAN party coming up, and since they pulled the "second mouse to annoy the #$%& out of me" trick, i wanted to get them back!
i was looking as some HARMLESS solutions, and thought a .vbs popup would be halerious!
iv looked everywhere, but any code i copy doesnt work!

iv been trying to use this:

x=msgbox("VIRUS DETECTED",16,"ERROR")

...but it doens work!
i save it as a .vbs file and i change it frm a .txt to All Files...but nothing works, as it comes up in notepad, and not the popup i want!
also, if theres a way to make it popup automatically, plz cld u share it?
many thanx in advance!!!
 

callumparker666

Distinguished
Nov 22, 2010
21
0
18,570



im not sue how different vbs and vb6 are but if i remember the syntax you either want this

msgbox("VIRUS DETECTED", _
16, _
"ERROR" )

also http://www.vb6.us/tutorials/understanding-msgbox-command-visual-basic