Forum Topic: Msgbox

(287 views • 26 replies)

This topic is 1 page long.

<< < > >>
None

ZappingZap

Reply To Post Reply & Quote

Posted at: 6/18/09 08:33 PM

ZappingZap EVIL LEVEL 07

Sign-Up: 03/05/08

Posts: 22

Do any of you have cool things that you could do with an MSGbox. If you don't know haw to do one, just ask for help.

Whateva.

BBS Signature

None

littleMonsterGames

Reply To Post Reply & Quote

Posted at: 6/18/09 10:15 PM

littleMonsterGames DARK LEVEL 05

Sign-Up: 12/24/08

Posts: 340

What are you talking about, what language?

The LittleMonsterGames website: http://www.littlemonstergames.com - super fun, I promise :)

BBS Signature

None

urbn

Reply To Post Reply & Quote

Posted at: 6/19/09 02:24 AM

urbn FAB LEVEL 18

Sign-Up: 06/10/07

Posts: 2,287

What the hell are you talking about?

BBS Signature

None

VigilanteNighthawk

Reply To Post Reply & Quote

Posted at: 6/19/09 02:44 AM

VigilanteNighthawk LIGHT LEVEL 03

Sign-Up: 02/13/03

Posts: 1,692

I don't know, put Msg in it?


None

henke37

Reply To Post Reply & Quote

Posted at: 6/19/09 08:59 AM

henke37 NEUTRAL LEVEL 23

Sign-Up: 09/10/04

Posts: 3,550

It's the visual basic name for the windows api function MessageBoxW. It can take up to three resolution buttons depending on the chosen preset, an icon, a text message, a window title and an optional help button. That's it, it's a boring convenience function so that you don't need to write a full window class and message loop for a stupid Y/N question. It's less fun than graffiti.

Each time someone abuses hittest, God kills a kitten. Please, learn real collision testing.


None

ZappingZap

Reply To Post Reply & Quote

Posted at: 6/19/09 11:02 AM

ZappingZap EVIL LEVEL 07

Sign-Up: 03/05/08

Posts: 22

Okay. You have to open up notepad and then type this in:
x =msgbox("Text", 20,"Title")
and then save it as "Text.vbs"
When you open it, a box will show up.
There are other numbers you can put in except 20.
0-6 normal
16-20 Red X
46-50 Yello !
extra
32
64
4096
Buttons
0: OK
1: OK and Cancel
2: Abort, Retry, Ignore
3: Yes, No, Cancel
4: Yes and No
5: Retry and Cancel

Whateva.

BBS Signature

None

urbn

Reply To Post Reply & Quote

Posted at: 6/19/09 11:53 AM

urbn FAB LEVEL 18

Sign-Up: 06/10/07

Posts: 2,287

That's totally amazingly pointless... There is no application to what you are doing...

(I'm not saying that this does not have an application, simply what he is doing).
BBS Signature

None

drakelord-nK

Reply To Post Reply & Quote

Posted at: 6/19/09 01:16 PM

drakelord-nK DARK LEVEL 11

Sign-Up: 02/17/05

Posts: 50

MessageBox(NULL, L"Hey there.", L"I like fried chicken!", 0);


None

Wonderful

Reply To Post Reply & Quote

Posted at: 6/19/09 02:05 PM

Wonderful FAB LEVEL 13

Sign-Up: 07/27/08

Posts: 856

MessageBox.Show("OP is a skiddy");

Posted from Linux. Distro may vary.


None

Jon-86

Reply To Post Reply & Quote

Posted at: 6/19/09 02:44 PM

Jon-86 NEUTRAL LEVEL 13

Sign-Up: 01/30/07

Posts: 3,859

At 6/18/09 08:33 PM, ZappingZap wrote: Do any of you have cool things that you could do with an MSGbox.

I can take user input in the form of button presses using a message box because I'm so cool ;-)

PHP Main :: C++ Main :: Java Main :: irc.freenode.net

BBS Signature

Elated

wobbo

Reply To Post Reply & Quote

Posted at: 6/19/09 03:29 PM

wobbo NEUTRAL LEVEL 08

Sign-Up: 05/14/09

Posts: 74

At 6/18/09 10:15 PM, littleMonsterGames wrote: What are you talking about, what language?

he's talking about vbScript

BBS Signature

Elated

wobbo

Reply To Post Reply & Quote

Posted at: 6/19/09 03:33 PM

wobbo NEUTRAL LEVEL 08

Sign-Up: 05/14/09

Posts: 74

um...
ya know, i let my computer crash with vbs,
i wanted to make a "virus" wich will turn off your pc everytime you turn it on,
but it didn't went like that, after using that "virus", all my deskpot-icons where disappeared
(including the recycle bin) and i can't put anything back to my desktop,
and couldn't use my right mouse button anywhere in windows explorer

BBS Signature

None

Wonderful

Reply To Post Reply & Quote

Posted at: 6/19/09 03:50 PM

Wonderful FAB LEVEL 13

Sign-Up: 07/27/08

Posts: 856

At 6/19/09 03:33 PM, wobbo wrote: um...
ya know, i let my computer crash with vbs,
i wanted to make a "virus" wich will turn off your pc everytime you turn it on,
but it didn't went like that, after using that "virus", all my deskpot-icons where disappeared
(including the recycle bin) and i can't put anything back to my desktop,
and couldn't use my right mouse button anywhere in windows explorer

Good riddance, every 12 year old kid who reads a tutorial on VB thinks he can go make viruses.

Posted from Linux. Distro may vary.


Elated

wobbo

Reply To Post Reply & Quote

Posted at: 6/19/09 03:58 PM

wobbo NEUTRAL LEVEL 08

Sign-Up: 05/14/09

Posts: 74

but to make a fun auto-spawn-pop-up-window copy the following lines

msgbox"this is fun"
msgbox"this is fun"
msgbox"this is fun"
msgbox"this is fun"
msgbox"this is fun"

and if ya want an inputbox or something, copy the following line

msgbox"let's go"
fun=inputbox("do you think this is fun?")
If fun = "yes" Then
WScript.Echo"i think it's fun too"
End if
If fun = "no" Then
WScript.Echo"well, i think it's fun."

End if

then save it as "name".vbs

enjoy

BBS Signature

None

wobbo

Reply To Post Reply & Quote

Posted at: 6/19/09 04:00 PM

wobbo NEUTRAL LEVEL 08

Sign-Up: 05/14/09

Posts: 74

At 6/19/09 03:50 PM, Wonderful wrote:
At 6/19/09 03:33 PM, wobbo wrote: um...
ya know, i let my computer crash with vbs,
i wanted to make a "virus" wich will turn off your pc everytime you turn it on,
but it didn't went like that, after using that "virus", all my deskpot-icons where disappeared
(including the recycle bin) and i can't put anything back to my desktop,
and couldn't use my right mouse button anywhere in windows explorer
Good riddance, every 12 year old kid who reads a tutorial on VB thinks he can go make viruses.

yep, you're totally right, i don't care, the only thing i wanted to say was that my f***ing computer was crashed while using vbs

BBS Signature

None

Wonderful

Reply To Post Reply & Quote

Posted at: 6/19/09 04:02 PM

Wonderful FAB LEVEL 13

Sign-Up: 07/27/08

Posts: 856

At 6/19/09 04:00 PM, wobbo wrote: yep, you're totally right, i don't care, the only thing i wanted to say was that my f***ing computer was crashed while using vbs

Correction; your computer crashed while trying to make malicious scripts in VBS. It's hard to give sympathy in this situation.

Posted from Linux. Distro may vary.


None

ZappingZap

Reply To Post Reply & Quote

Posted at: 6/19/09 04:21 PM

ZappingZap EVIL LEVEL 07

Sign-Up: 03/05/08

Posts: 22

That's an awesome one.

Whateva.

BBS Signature

None

Jon-86

Reply To Post Reply & Quote

Posted at: 6/19/09 04:31 PM

Jon-86 NEUTRAL LEVEL 13

Sign-Up: 01/30/07

Posts: 3,859

At 6/19/09 04:21 PM, ZappingZap wrote: That's an awesome one.

Not really!

This reminds me of that "post your cool batch scripts" thread from a wee while back, which was equally pointless and not interesting in the slightest :P

PHP Main :: C++ Main :: Java Main :: irc.freenode.net

BBS Signature

None

urbn

Reply To Post Reply & Quote

Posted at: 6/20/09 09:15 PM

urbn FAB LEVEL 18

Sign-Up: 06/10/07

Posts: 2,287

VBS is so 1996.

BBS Signature

None

ZappingZap

Reply To Post Reply & Quote

Posted at: 6/24/09 10:39 PM

ZappingZap EVIL LEVEL 07

Sign-Up: 03/05/08

Posts: 22

At 6/20/09 09:15 PM, urbn wrote: VBS is so 1996.

WTF?

Whateva.

BBS Signature

None

Wonderful

Reply To Post Reply & Quote

Posted at: 6/24/09 11:15 PM

Wonderful FAB LEVEL 13

Sign-Up: 07/27/08

Posts: 856

At 6/24/09 10:39 PM, ZappingZap wrote:
At 6/20/09 09:15 PM, urbn wrote: VBS is so 1996.
WTF?

Go away.

Posted from Linux. Distro may vary.


None

Super-Yombario

Reply To Post Reply & Quote

Posted at: 6/25/09 12:56 AM

Super-Yombario FAB LEVEL 06

Sign-Up: 03/16/07

Posts: 1,156

At 6/24/09 10:39 PM, ZappingZap wrote: WTF?

My reaction to this topic.

So you're telling is that you need help restoring your desktop after you tried to destroy your own computer?

RIP Ed McMahon - RIP Farrah Fawcett - RIP Michael Jackson
But wait, there's more...
RIP Billy Mays


None

zNelson24

Reply To Post Reply & Quote

Posted at: 6/25/09 04:43 PM

zNelson24 DARK LEVEL 10

Sign-Up: 03/19/07

Posts: 228

<HTML>
<body>

<h1 align="center" onclick="alert('YOU BROKE THE SYSTEM!')"><u>throw StupidityException</u></h1>

</body>
</HTML>

Go nuts...


None

Jon-86

Reply To Post Reply & Quote

Posted at: 6/25/09 07:09 PM

Jon-86 NEUTRAL LEVEL 13

Sign-Up: 01/30/07

Posts: 3,859

A wonder if:

ZappingZap is ZiggyZack99

oh a do wonder!

PHP Main :: C++ Main :: Java Main :: irc.freenode.net

BBS Signature

None

ZappingZap

Reply To Post Reply & Quote

Posted at: 7/3/09 07:00 PM

ZappingZap EVIL LEVEL 07

Sign-Up: 03/05/08

Posts: 22

At 6/25/09 07:09 PM, Jon-86 wrote: A wonder if:

ZappingZap is ZiggyZack99

oh a do wonder!

no

Whateva.

BBS Signature

None

urbn

Reply To Post Reply & Quote

Posted at: 7/3/09 07:07 PM

urbn FAB LEVEL 18

Sign-Up: 06/10/07

Posts: 2,287

At 7/3/09 07:00 PM, ZappingZap wrote: no

Why are you still here?

BBS Signature

None

bgraybr

Reply To Post Reply & Quote

Posted at: 7/3/09 10:41 PM

bgraybr DARK LEVEL 09

Sign-Up: 06/30/08

Posts: 2,174

It amused me for about ten seconds. Completely useless code though... why would you make a thread about it in programming?

The following sentence is true. The previous sentence is false. O_o PARADOX!
Linux Users Club | Linketylinklinklinklink...


All times are Eastern Standard Time (GMT -5) | Current Time: 10:22 AM

<< Back

This topic is 1 page long.

<< < > >>
You need a Grounds Gold Account to post on the NG BBS! If you don't have one, click here to sign up now! It's fast, free, and easy — and opens up tons of great NG features!