Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Immediate Window
Message
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
01057119
Message ID:
01057143
Vues:
9
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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform