MsgBox confusion

  • Thread starter Thread starter Radith Silva
  • Start date Start date
R

Radith Silva

I need to use the MsgBox function like I used to in VB 6.0

So all i do is:

MsgBox ("Please provide Input")

BUT IN .NET:

The error reads "msgbox is a namespace"

The IDE always converts "MsgBox" to "msgbox" (ie. changes case)

Thanx
 
Hi Radith,

You can use the MsgBox too.

I do not know directly what is wrong in your code.

Although there can be some small benefits by using the MsgBox function, I am
always using

messagebox.show("Please provide Input")

I hope this helps?

Cor
 
* Radith Silva said:
I need to use the MsgBox function like I used to in VB 6.0

So all i do is:

MsgBox ("Please provide Input")

BUT IN .NET:

The error reads "msgbox is a namespace"

The IDE always converts "MsgBox" to "msgbox" (ie. changes case)

Start the object browser and look for "msgbox". Does one of the
libraries you are using introduce this namespace?

If there is a name conflict, you can use 'Interaction.MsgBox(...)'.
 
Back
Top