VB6 - Message Creator

All tutorials created in VB6 to be posted in here.
5 posts Page 1 of 1
Contributors
GoodGuy17
Coding God
Coding God
Posts: 1610
Joined: Mon Sep 07, 2009 12:25 am

VB6 - Message Creator
GoodGuy17
Hello everyone!
I a going to tell you how to make a program that creates msgboxes without the user needing to type any code at all! I am going to do my regular(step by step) OK! Here we go:
1. Open Vb6.
2. Select Standard Exe and click Open.
3. Resize your form and name it to what you want.
4. Create 2 Textboxes.
5. Make those 2 textbox's captions as follows: Title and Body and name them Title and Body.
6. Make 1 button and make it's caption Show Msg!
7. Double click the button and type:
Code: Select all
MsgBox (Body.Text), vbOKOnly, (Title.Text)
8. Press F5 and type something in the title box, then type something in the body box, then click the button! It should work!
Enjoy!
~GoodGuy17~ :D
User avatar
nelsonxd
Just Registered
Just Registered
Posts: 8
Joined: Thu Jul 08, 2010 4:55 pm

Re: VB6 - Message Creator
nelsonxd
I can use this in visual basic 08 or 2010
GoodGuy17
Coding God
Coding God
Posts: 1610
Joined: Mon Sep 07, 2009 12:25 am

Re: VB6 - Message Creator
GoodGuy17
You can only use this in VB6. As said.
User avatar
zachman61
VIP - Donator
VIP - Donator
Posts: 1891
Joined: Wed Dec 16, 2009 9:56 pm

Re: VB6 - Message Creator
zachman61
nelsonxd wrote:
I can use this in visual basic 08 or 2010
vb2008
msgbox ("body", "TITLE")
Nailing my feet to the floor is easier than using my own muscles to balance, but you don't see me doing that :)
User avatar
domipoppe
Dedicated Member
Dedicated Member
Posts: 50
Joined: Sun Oct 04, 2009 1:05 pm

Re: VB6 - Message Creator
domipoppe
@zachman61

well i think is it:
vb 2008:
---------------

MsgBox("Your Text under Title", MsgBoxStyle.###, "Title")

By ### you can use:

Cirtical
Information
and more!
Visit my website!
http://www.e-software.de.tc
English version: http://tinyurl.com/esoftwarenglish
Please take original (german) version, the english has many bugs

Go to my Softwaresite or Gamesite :)
I am german, don't be angry for my not so good english.
5 posts Page 1 of 1
Return to “VB6 Tutorials”