VBS fake message...

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!!!
1 answer Last reply
More about fake message
  1. p4nz3rm4d said:
    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!!!



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

    Quote:

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


    also http://www.vb6.us/tutorials/understanding-msgbox-command-visual-basic
Ask a new question

Read More

Programming VBS Apps