| | |
Can I have a message box pop up in a form that is called via ShowDialog?
Please support our VB.NET advertiser: Intel Parallel Studio Home
![]() |
•
•
Join Date: Jan 2009
Posts: 22
Reputation:
Solved Threads: 1
I have a form that is called w/ ShowDialog. Inside that form, I want to pop a message box to ask the user a question, but it doesn't show.
Form:
Then, inside that form:
Is this possible to get working?
Form:
VB.NET Syntax (Toggle Plain Text)
Dim someFrame as myFrame = new myFrame someFrame.ShowDialog()
Then, inside that form:
VB.NET Syntax (Toggle Plain Text)
Dim ans As MsgBoxResult ans = MsgBox(transarr(16), MsgBoxStyle.YesNo + MsgBoxStyle.SystemModal, "WARNING!") If ans = MsgBoxResult.Yes Then 'do something Else 'do something else End If
Is this possible to get working?
![]() |
Similar Threads
- Custom Message Box (Visual Basic 4 / 5 / 6)
- non-modal message box (VB.NET)
- How to Give Custom Message Box (Visual Basic 4 / 5 / 6)
- how to display the message box in asp.net (ASP.NET)
- Message Box (VB.NET)
- message box (ASP.NET)
- how to show message box in ASP.NET using VB (ASP.NET)
- sample message box. (ASP.NET)
- message box (ASP.NET)
- Dialog Box alongwith Form (Visual Basic 4 / 5 / 6)
Other Threads in the VB.NET Forum
- Previous Thread: Issue using Like in VB query to Access DB
- Next Thread: Keypress event
| Thread Tools | Search this Thread |
.net .net2008 2008 access advanced application array basic beginner browser button buttons center click client code combo convert cuesent data database datagrid datagridview date datetimepicker designer dissertation dissertations dissertationtopic eclipse excel exists fade filter forms function generatetags gridview html images input internet listview map mobile module monitor msaccess net number objects open panel pdf picturebox picturebox2 port position print printing problem read regex remove right-to-left save search searchvb.net select serial settings shutdown socket sqldatbase sqlserver survey temperature textbox timer timespan transparency txttoxmlconverter user usercontol vb vb.net vba vbnet visual visualbasic visualbasic.net visualstudio.net visualstudio2008 web winforms winsock wpf wrapingcode xml year






