-
MsgBox twice
Hi!!!
I have seen that with the VB .Net I call once a message box. Often, and I don't know why, .Net recall twice my msgbox.
This is a bug of .Net, becaue I can't explain why. I've already installed the service pack 1 and 2.
Do you know more about it?
If you know something about it please tell me!!
Thank you very much!!!
Silvia
-
I can't tell you if it's a bug or not, but I use messageboxes often and I don't have your problem.
Only thing is that in VB.NET there are 2 kind of messageboxes.
Microsoft.VisualBasic.MsgBox
Which is the same as in VB6
and
System.Windows.Forms.MessageBox
This one is based on a Windows.Form and has some more features.
I don't which one you are using, but try using the MessageBox.Show()
Maybe that helps you with your problem.
-
Thank you very much for your reply.
I use the hold Microsoft.VisualBasic.MsgBox
I try what happened if I use the System.Window.Forms.MessageBox and then I tell you...
This is my first program in VB ( normally I program in VC++ ) and I don't know very well the environment. ....
Once again I thank you for your help
Have a nice day!!!
Silvia
-
Hi!!!
I have tried to substitute the MsgBox with the Window.Forms.MessageBox, but it doesn't work.
The program recall certainly fuction twice and recall twice Message Box.. I don't understand...
Maybe it's my computer... I really don't know
Thank you very much
Silvia