Hi I have a windows form project. I have changed something in my project that has stopped my msgbox's from working. When you click on a button nothing happens. They used to work!!
I have set up a test on my project and put
in my form1_load method.
This will show a message box with Yes and No Buttons on it. But when I press either button nothing happens.
I have created a new project put this code in and it works fine. I realise I have done something to the project but I cannot for the life of me figure out what.
Target Framework 3.5
Visual Studio 2012
Hope you can help
Paul
I have set up a test on my project and put
Code:
Dim box444 As MsgBoxResult = MsgBox("yes NO", MessageBoxButtons.YesNo)
If box444 = MsgBoxResult.Yes Then
MsgBox("oh yes", MessageBoxIcon.Information)
End If
This will show a message box with Yes and No Buttons on it. But when I press either button nothing happens.
I have created a new project put this code in and it works fine. I realise I have done something to the project but I cannot for the life of me figure out what.
Target Framework 3.5
Visual Studio 2012
Hope you can help
Paul