Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
BOOK: Wrox's Visual Basic 2005 Express Edition Starter Kit ISBN: 978-0-7645-9573-8
This is the forum to discuss the Wrox book Wrox's Visual Basic 2005 Express Edition Starter Kit by Andrew Parsons; ISBN: 9780764595738
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Wrox's Visual Basic 2005 Express Edition Starter Kit ISBN: 978-0-7645-9573-8 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 Search this Thread Display Modes
  #1 (permalink)  
Old March 28th, 2008, 03:49 PM
Authorized User
 
Join Date: Mar 2008
Location: , , .
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Default Chapter7 Again

I have reachedf the dizzy heights of page 138 (no mean feat) and am tryin to run the application to test it. My problem is that when I click the Save button, the debugger throws me back into the code at the section;

 Public Property Person() As Person 'defines content of text boxes.
        Get
            With mPerson
                .FirstName = txtFirstName.Text

and a message box....

Use the "new" keyword to create an object instance.

Can anybody still reading this forum offer any advice?

Cheers

Reply With Quote
  #2 (permalink)  
Old March 28th, 2008, 06:57 PM
Authorized User
 
Join Date: Mar 2008
Location: , , .
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Found it...

It looks like I removed a couple of lines I shouldn't have when I was removing the test data from earlier. The section involved was as shown below.

Dim objPerson As New Person
        objPersonalDetails.Person = objPerson
        Me.Text = "Personal Organizer - Viewing " + _
        objPersonalDetails.Person.DisplayName

Sorry to have wasted your time.

Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
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
problem on Utils.java of chapter7 Jim0602 BOOK: Beginning Cryptography with Java 2 June 2nd, 2007 12:55 AM



All times are GMT -4. The time now is 01:51 AM.


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