Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Visual Basic > VB 2010 > BOOK: Beginning Microsoft Visual Basic 2010
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
BOOK: Beginning Microsoft Visual Basic 2010
This is the forum to discuss the Wrox book Beginning Visual Basic 2010 by Thearon Willis, Bryan Newsome; ISBN: 9780470502228
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning Microsoft Visual Basic 2010 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 August 4th, 2010, 07:21 PM
Registered User
 
Join Date: Aug 2010
Location: UK
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Exclamation chapter 18 ASP.NET anomaly.

Hello. I recently Borrowed this particular book from the library. (ISBN 978-0-470-50222-8 to make sure it's the right book.) I'm not a programmer, however, I do have a mild interest in the subject, often scratching the surface of different languages but never going too far past the 'hello world' examples.

Anyway, I decided to have a go at the simple web page on page 558. However, things didn't go as smoothly as I would have liked. The problems started at paragraph 7. If anyone here can help solve these problems i'd be happy.

Within this paragraph look for the following sentences:

1.'Create an event handler for the HTML input (Button) and add a title to the page.' Ok, I think I did this.

2.'On the tag navigator, click Source to change to HTML view.' I couldn't find a HTML view button although the code above was html... I'm not sure what's going on here.

No html view:
http://i231.photobucket.com/albums/e...fault_aspx.jpg

3.'In the client Object & Events combo box, choose btnClient.' Where the heck is the 'client Object & Events combo box'? I can't even find it on the internet never mind in this program!

4.'Next, select onclick in the event combo box'... What and where the heck is the 'event combo box'? I'm not sure it even exists!

The downloaded help dosen't work, even though the help page shows locally installed files.

Installing help:
http://i231.photobucket.com/albums/e...nstallhelp.jpg

Grayed out!:
http://i231.photobucket.com/albums/e...elocalhelp.jpg

Someone else is having a similar problem here with s2005:

Chapter 17 Web Forms

Who writes this stuff!

Regards

Syex
Reply With Quote
  #2 (permalink)  
Old August 6th, 2010, 12:19 PM
Imar's Avatar
Wrox Author
Points: 71,164, Level: 100
Points: 71,164, Level: 100 Points: 71,164, Level: 100 Points: 71,164, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 16,948
Thanks: 79
Thanked 1,555 Times in 1,532 Posts
Default

Quote:
click Source to change to HTML view.' I couldn't find a HTML view button
If your quote is correct, It says click Soure to switch to HTML so I am not sure why you are looking for an HTML button? The code you see (with the HTML / markup is called HTML view which you got after you clicked the Source button..

Quote:
Where the heck is the 'client Object & Events combo box'?
If you're in HTML view, you should see two drop down lists right above the code editor (the HTML view), provided you're working with the right document type. What type of page do you have open?

Quote:
What and where the heck is the 'event combo box'?
Same story: above HTML view, next to the Client Object and Events combo

Quote:
Who writes this stuff!
Authors, typically. I am not sure I understand your problems exactly. Everything you've quoted makes perfect sense to me within Visual Studio. Looks like you or the book missed some important basics.

Cheers,

Imar
__________________
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Follow me on Twitter

Author of Beginning ASP.NET 4.5 : in C# and VB, Beginning ASP.NET Web Pages with WebMatrix
and Beginning ASP.NET 4 : in C# and VB.
Did this post help you? Click the button below this post to show your appreciation!
Reply With Quote
  #3 (permalink)  
Old August 7th, 2010, 10:34 AM
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

Did you do any other chapters in the book or did you just start on this example? If you look at the previous chapter, page 546 Figure 17-19 or 17-20 you can see the Client Objects and Events combo box in those figures. I am not really sure I understand what is going on here so any more detail would make it easier to help you. Bryan
Reply With Quote
  #4 (permalink)  
Old August 8th, 2010, 06:53 AM
Registered User
 
Join Date: Aug 2010
Location: UK
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Lightbulb

Thanks Imar. I'm working on a default.aspx page as in the example in the book. Your right about the source view, must have been a mental block, now that i've slowed down a bit, It's clear as day!
However, I still don't see two drop down lists right above the code editor (the HTML view), with the combo boxes in. I've had a look at p.546, I'll study this chapter.

By the way, could someone help out with the 'help' problem? The fact that I can't use offline help as described in original post.

I'll keep going and let you know how I get on. Thanks for help so far.

Syex
Reply With Quote
  #5 (permalink)  
Old August 8th, 2010, 07:25 AM
Imar's Avatar
Wrox Author
Points: 71,164, Level: 100
Points: 71,164, Level: 100 Points: 71,164, Level: 100 Points: 71,164, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 16,948
Thanks: 79
Thanked 1,555 Times in 1,532 Posts
Default

I don't have the book so I can't help you with the Help stuff.

I just compared VS 2008 and VS 2010, and I do see the Client Objects drop down in 2008, but not in 2010.

Turns out it's hidden by default in VS 2010 when you choose the Web Developer profile. You can turn it on like this:

1. Choose Tools | Options
2. Expand Text Editor | HTML | General (you may need to enable Show all settings to see this item)
3. Check off the "Navigation Bar" item.

Hope this helps,


Imar
__________________
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Follow me on Twitter

Author of Beginning ASP.NET 4.5 : in C# and VB, Beginning ASP.NET Web Pages with WebMatrix
and Beginning ASP.NET 4 : in C# and VB.
Did this post help you? Click the button below this post to show your appreciation!
Reply With Quote
  #6 (permalink)  
Old August 9th, 2010, 06:20 AM
Registered User
 
Join Date: Aug 2010
Location: UK
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Wink

Thanks Imar, that solved the problem.

The help problem has also fixed itself, I can add content using help manager. So all good there. Now i'm gonna finish the web page, which dosen't really do anything!

It's all part of the learning process.

Syex
Reply With Quote
  #7 (permalink)  
Old August 9th, 2010, 06:27 AM
Registered User
 
Join Date: Aug 2010
Location: UK
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Success! The client and server buttons work. Until next time...
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
Chapter 18 rock1233 BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3 1 November 14th, 2009 02:35 PM
CHAPTER 18 example not working also! diegoborgh BOOK: Beginning JavaServer Pages 0 May 26th, 2005 11:16 PM
Chapter 18 - Struts rollopa JSP Basics 0 September 14th, 2003 03:23 PM



All times are GMT -4. The time now is 10:25 PM.


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