MsgBox

zack

Well-known member
Joined
Jun 9, 2005
Messages
65
Programming Experience
Beginner
Hi, Sir

I'm trying to create an 'enter' space in my msg box. I've forgeotten how to do it. What I remember is this...

MsgBox("Hi there." & clrf & "How are you?)

But this returns me an error. Do you have the solution for this? thx!
 
what exactly do you mean by an 'enter' space?

assuming i'm interpreting this correctly (of which i'm probably not) are you talking about a textbox like what the InputBox object has?
 
hmmm...
What I'm trying to get from the MsgBox is:

Hi there.
How are you?

Rather then...:

Hi there.How are you

Hope you understand me... =)
 
normally this will do:
VB.NET:
messagebox.show("Hi there." [color=Blue]& VbCrLf [/color]& "How are you?")
or you can put it as:
VB.NET:
messagebox.show("Hi there." & chr(13) & "How are you?")
 
Back
Top