You "Import" namespace, not Class. MessageBox is a class in
System.Windows.Forms namespace.
So your *.vb file should look like:
Import System.Windows.Forms
Not:
Import System.Windows.Forms.MessageBox
"Bernard Bourée" <be*****@bouree.net> wrote in message
news:%2******************@TK2MSFTNGP14.phx.gbl...
Mattias Sjögren a écrit : Bernard,
When I try to import the System.Windows.Forms.MessageBox
I get a meesage saying that it is not avalaible ?
How to solve it ?
First of all, make sure you ahve a reference to the
System.Windows.Forms.dll assembly.
Mattias
Mattias
Yes I have the System.Windows.Forms in my references
Bernard