Hello,
I need help displaying a MsgBox (I know this sounds pathetic, but read on).
When I try showing a MsgBox using the MsgBox() function, I just get nothing.
But, when I try showing a MsgBox using the MessageBox.Show() function, it returns that the default button was pressed. However, the messege box didn't show.
This is a Windows Forms app that is started by a service. NOTE: When I start the app by itself, everything works fine.
Environment: Microsoft Visual Studio Express 2012 for Windows Desktop with the target framework set to 4.0.
Maxwell.
P.S.Attachment 94699
I need help displaying a MsgBox (I know this sounds pathetic, but read on).
When I try showing a MsgBox using the MsgBox() function, I just get nothing.
VB.NET Code:
Dim MsgBox_Result As Integer = MsgBox(Msg, Msg_buttons, Msg_Title)
But, when I try showing a MsgBox using the MessageBox.Show() function, it returns that the default button was pressed. However, the messege box didn't show.
VB.NET Code:
Dim MsgBox_Result As Integer = MessageBox.Show(Msg, Msg_Title, Msg_buttons, Msg_icon, Msg_defaultb, MessageBoxOptions.ServiceNotification)
This is a Windows Forms app that is started by a service. NOTE: When I start the app by itself, everything works fine.
Environment: Microsoft Visual Studio Express 2012 for Windows Desktop with the target framework set to 4.0.
Maxwell.
P.S.Attachment 94699