Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Immediate Window
Message
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
01057119
Message ID:
01057143
Views:
8
Try
System.Windows.Forms.MessageBox.Show("Hello");
or add
using System.Windows.Forms;
to the top of the cs file.

If that doesn't work then you might have to check if the Show method accepts only 1 parameter in v2.0 (it does in v1.1).

Einar

>Hi
>
>I just tried the MessageBox in the immediate window in VS2005 and I get the following error.
>
>MessageBox.Show("Hello");
>The name 'MessageBox' does not exist in the current context
>what am I doing wrong?
>
>TIA
>Stuart
Semper ubi sub ubi.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform