Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Visual Basic > VB 2012 > Beginning Visual Basic 2012
|
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 software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old November 11th, 2014, 10:25 PM
Authorized User
 
Join Date: Jun 2005
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
 
Old November 17th, 2014, 08:46 PM
Wrox Author
 
Join Date: Mar 2006
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.





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 07: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





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.