VB 2008 Tutorial - How to use Message Boxes

Use this board to post your code snippets - tips and tricks
7 posts Page 1 of 1
Contributors
User avatar
tvs praveen
Top Poster
Top Poster
Posts: 205
Joined: Tue Dec 08, 2009 6:20 am

This is a simple tutorial which i will show you how to make a Message Box

Insert 1 Button

Double click and insert this code into Button1
Code: Select all
Dim Mymessagebox
Mymessagebox = MsgBox("Message, Hello man!, How r u?", MsgBoxStyle.Exclamation, "How to use Message boxes Tutorial")

*******************Thanks for reading my tutorial, I think this Tutorial will be most helpful to you!*******************

If you want any custom tutorial for you or you need any help in VS.NET, VB.NET, Software Coding, Designing and much more any help in Computer stuffs just ask me

Mostly i will help everyone in coding and design stuffs in on Computer

- Best regards hehaho;

- Tvs Praveen wahooo;

- Thanks CodeNStuff! for this amazing Website cooll;
Last edited by tvs praveen on Wed Jan 06, 2010 6:32 am, edited 4 times in total.
NoWayIn
VIP - Donator
VIP - Donator
Posts: 444
Joined: Sat Nov 21, 2009 11:16 pm

You can shorten your time by taking out dim Mymessagebox
User avatar
Robby
VIP - Donator
VIP - Donator
Posts: 417
Joined: Mon Aug 03, 2009 4:01 am

good tutorial as it is.

yes u can take out dim mymessagebox.

P.S

im from India :)
My current Projects Listed Below:
Toixt++ Text Editor Just 10 or less more features to go!
Image
Image
User avatar
Nery
Co-Admin Moderator
Co-Admin Moderator
Posts: 1117
Joined: Mon Sep 07, 2009 8:11 pm

In my opinion this isn't a tutorial, its just a piece of code.
Beginners that look at this will not understand what each part of that piece of code does. In the thread title it says "How to use Message Boxes" and its content shows nothing! Explain the Message Box properly.
User avatar
MasterCoding
Top Poster
Top Poster
Posts: 156
Joined: Sat Oct 24, 2009 4:26 pm

or you can use this code
Code: Select all
msgbox"("Type Here The Message Box Text")
NoWayIn
VIP - Donator
VIP - Donator
Posts: 444
Joined: Sat Nov 21, 2009 11:16 pm

This should go into quick snips :D
User avatar
Robby
VIP - Donator
VIP - Donator
Posts: 417
Joined: Mon Aug 03, 2009 4:01 am

isn't this alreaDY in quick snips ??

lol maybe it got moved or sometihng.
My current Projects Listed Below:
Toixt++ Text Editor Just 10 or less more features to go!
Image
Image
7 posts Page 1 of 1
Return to “Quick Snips”