Wrox Programmer Forums

Need to download code?

View our list of code downloads.

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

You are currently viewing the Beginning Visual Basic 2012 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
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old November 11th, 2014, 09:25 PM
Authorized User
Points: 101, Level: 2
Points: 101, Level: 2 Points: 101, Level: 2 Points: 101, Level: 2
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2005
Location: Stockton, ca, USA.
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Default Chapter 5 pg 147 point 8 Possible error

This the code that is shown in the book is:


Private Sub Form1_Load(sender As Object, e As EventArgs) Handles Me.Load
'Set the Hour property to current hour
Me.Hour = Now.Hour

When I first clicked on this item the code was this:

Private Sub Form1_Load(sender As Object, e As EventArgs) Handles My.Load
'Set the Hour property to current hour
Me.Hour = Now.Hour

Code in book shows me.load
When I clicked on the item is showed my.Load. and put a blue line there so I new there was a problem.
Would this change between Visual Studio Versions, because I am using 2013 version?

Thank You
__________________
Frank
Reply With Quote
  #2 (permalink)  
Old November 17th, 2014, 07:46 PM
Wrox Author
Points: 333, Level: 6
Points: 333, Level: 6 Points: 333, Level: 6 Points: 333, Level: 6
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Mar 2006
Location: , , .
Posts: 91
Thanks: 0
Thanked 5 Times in 5 Posts
Default

Frank,

In VS 2012, it can be Me. or MyBase. It cannot be My. You should download VS 2012 Express. It is free and will help you throughout the book. Most items will still work in VS2013 but some will need adjustments.
Reply With Quote
Reply


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
Parse Error on Chapter 14 pg 523 hozdaman BOOK: Beginning ASP.NET 4 : in C# and VB 3 August 10th, 2011 02:35 PM
Chapter 11 semantic error pg 295 notig BOOK: Beginning Visual C# 2010 0 September 28th, 2010 01:29 PM
Ch.5, pg.147 - textfields3 mvalentiner BOOK: Beginning Ruby on Rails 0 January 4th, 2010 06:29 PM
Chapter 5 pg 156-7 error in book? ericfields6483 BOOK: Beginning PHP5, Apache, and MySQL Web Development ISBN: 978-0-7645-7966-0 1 April 16th, 2009 04:18 PM



All times are GMT -4. The time now is 07:42 AM.


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