Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Visual Basic > VB 2010 > BOOK: Stephens' Visual Basic Programming 24-Hour Trainer
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
BOOK: Stephens' Visual Basic Programming 24-Hour Trainer
This is the forum to discuss the Wrox book Stephens' Visual Basic Programming 24-Hour Trainer by Rod Stephens; ISBN: 978-0-470-94335-9
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Stephens' Visual Basic Programming 24-Hour Trainer 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 October 21st, 2012, 05:59 PM
Registered User
Points: 5, Level: 1
Points: 5, Level: 1 Points: 5, Level: 1 Points: 5, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Oct 2012
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Lesson 9: Initializing new forms?

Hi, I'm having trouble working through lesson 9's step-by-step at the end. I'm also running VS2008 so I don't know if that is the problem, but here goes:

I'm trying to declare and initialize the form variables.

"Dim frmGettingThere as New GettingThereForm()"

I'm getting an error that says "Type 'GettingThereForm' is not defined." This applies for the three other forms created by this exercise.

I get the impression I'm supposed to define a class or something for this form (or maybe this works as intended in VS2010?) but the lesson does not say how.

Any help would be appreciated!
Reply With Quote
  #2 (permalink)  
Old October 21st, 2012, 06:42 PM
Rod Stephens's Avatar
Wrox Author
Points: 2,996, Level: 22
Points: 2,996, Level: 22 Points: 2,996, Level: 22 Points: 2,996, Level: 22
Activity: 22%
Activity: 22% Activity: 22% Activity: 22%
 
Join Date: Jan 2006
Location: , , .
Posts: 600
Thanks: 1
Thanked 84 Times in 83 Posts
Default

Quote:
I get the impression I'm supposed to define a class or something for this form (or maybe this works as intended in VS2010?) but the lesson does not say how.
You're on the right track! In this project you need to add a couple of forms for the code to display as dialogs.

Open the Project menu and select Add Windows Form. Then use the Properties window to change the form's name to "GettingThereForm" and you should be all set.
__________________
Rod

Rod Stephens, Microsoft MVP

Essential Algorithms: A Practical Approach to Computer Algorithms

(Please post reviews at Amazon or wherever you shop!)
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
Initializing a ragged array during run time p197 scolty BOOK: Beginning C# 3.0 : An Introduction to Object Oriented Programming ISBN: 978-0-470-26129-3 2 February 21st, 2011 05:31 PM
chapter 8: initializing multidimension arrays ew6014 BOOK: Beginning C# 3.0 : An Introduction to Object Oriented Programming ISBN: 978-0-470-26129-3 1 February 19th, 2010 12:14 AM
initializing variables vin_0x1 Classic ASP Components 2 April 16th, 2006 07:59 PM
Error whilst initializing the report server lidsurfer BOOK: Professional SQL Server Reporting Services ISBN: 0-7645-6878-7 0 November 3rd, 2004 04:17 PM
Initializing a database davest Access 4 January 16th, 2004 09:08 AM



All times are GMT -4. The time now is 04:02 PM.


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