Msgbox Problem

broodkop

New member
Joined
Mar 10, 2006
Messages
2
Programming Experience
1-3
I am using Visual Studio 2003 Enterprise Architect on a Windows 2000 OS. When trying to create a simple messagebox usin the following:
msgbox("hello")
The messagebox displays but the text hello does not appear and the button does not contain any text. I have tried reinstalling Visual Studio but this did not seem to fix the problem. Is there a way to fix this problem? Inputbox works fine.

Ta
 
MessageBox.Show("Hello", "Title", MessageBoxButtons.OKCancel, MessageBoxIcon.Error)

Several options are here also,
"Hello" is the text
"Title" is the text in the title bar.
MessageBoxButtons.OKCancel displays the OK and Cancel Buttons
MessageBoxIcon.Error shows the red X icon

There are several options for each (MessageBoxButtons & MessageBoxIcon)

Try it with the options and see what stuff shows up and what doesn't.

Hope this helps.
 
Back
Top