User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the Visual Basic 4 / 5 / 6 section within the Software Development category of DaniWeb, a massive community of 423,734 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,356 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our Visual Basic 4 / 5 / 6 advertiser: Programming Forums

Dialog Box

Join Date: Apr 2008
Posts: 34
Reputation: techtix is an unknown quantity at this point 
Rep Power: 1
Solved Threads: 4
techtix techtix is offline Offline
Light Poster

Re: Dialog Box

  #2  
Apr 5th, 2008
MsgBox is a function with a return parameter available. The syntax is as follows:

ReturnVal = MsgBox(Prompt, Options, Title)
Options is a combination of your buttons, icons, and default button.

Example: ReturnVal = MsgBox("Do you want to continue?", VBYesNo + VBQuestion + VBDefaultButton1, "Closing")
The allowable values are listed on the Microsoft MSDN Library web site
http://msdn2.microsoft.com/en-us/lib...82(VS.60).aspx
Reply With Quote  
All times are GMT -4. The time now is 1:22 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC