Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Visual Basic > VB 2015 > Beginning Visual Basic 2015
Password Reminder
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Beginning Visual Basic 2015
This is the forum to discuss the Wrox book Beginning Visual Basic 2015 by Bryan Newsome; ISBN: 978-1-119-09211-7
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Beginning Visual Basic 2015 section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Display Modes
  #1 (permalink)  
Old June 28th, 2018, 05:32 AM
Registered User
Points: 13, Level: 1
Points: 13, Level: 1 Points: 13, Level: 1 Points: 13, Level: 1
Activity: 100%
Activity: 100% Activity: 100% Activity: 100%
Join Date: May 2018
Posts: 3
Thanks: 1
Thanked 0 Times in 0 Posts
Default Chapter 7 MesageBox Buttons

I am having problems with Windows.Forms.DialogResult.OK. Windows.Forms is underlined in red and it tells me Forms is not a member of Windows. I have read and re-read all of the book up to chapter 7 retyped the code over and over again and even copied and pasted from the examples and still get the same result. I did find that if I copy and paste the file MessageBox Buttons.vbproj from the folder MessageBox Buttons From the examples downloaded then it works fine. Can You please help tell me what I am doing wrong.

Many Thanks
Reply With Quote
  #2 (permalink)  
Old July 4th, 2018, 04:30 PM
Points: 3, Level: 1
Points: 3, Level: 1 Points: 3, Level: 1 Points: 3, Level: 1
Activity: 50%
Activity: 50% Activity: 50% Activity: 50%
Join Date: Jul 2018
Location: USA
Posts: 1
Thanks: 0
Thanked 1 Time in 1 Post
Default VB

Your call to MessageBox.A show needs to pass MessageBoxButtons.YesNo to get the Yes/No buttons instead of the OK button.

Last edited by jminatel; July 9th, 2018 at 09:04 AM. Reason: spam link
Reply With Quote
The Following User Says Thank You to james_drag For This Useful Post:
Harrycat310 (July 5th, 2018)

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Chapter 15, Toolbar buttons tqu BOOK: Ivor Horton's Beginning Visual C++ 2010 1 May 3rd, 2011 10:44 PM
Buttons plb BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 4 August 12th, 2007 12:36 AM
buttons over and under rahzan Access VBA 4 April 7th, 2005 11:35 AM
'ok buttons' hiker Beginning VB 6 2 March 22nd, 2004 01:30 PM

All times are GMT -4. The time now is 06:39 AM.

Powered by vBulletin®
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.