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.