Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Visual Basic > VB 2005 > BOOK: Beginning Visual Basic 2005 ISBN: 978-0-7645-7401-6
Password Reminder
Register
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
BOOK: Beginning Visual Basic 2005 ISBN: 978-0-7645-7401-6
This is the forum to discuss the Wrox book Beginning Visual Basic 2005 by Thearon Willis, Bryan Newsome; ISBN: 9780764574016
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning Visual Basic 2005 ISBN: 978-0-7645-7401-6 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
DRM-free e-books 300x50
 
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old May 16th, 2006, 11:21 AM
Registered User
 
Join Date: May 2006
Location: lebanon, NH, USA.
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default page 565- Building your first site.


The book instructs you to add a line of code to change the page directive to reference the master page.

However, i get an invalid character message when i enter the code in the book. It does not like the "<%@" characters!


Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
<% @MasterLanguage="VB" CodeFile="MasterPage.master.vb" Inherits="Masterpage" %>

Is this supposed to be entered in the declarations?
Has anyone gotten this to work?
Do i have a syntax error?

Any leads are appreciated.

Thanks.

Tom aka numbskull



  #2 (permalink)  
Old May 18th, 2006, 08:41 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

Hey Tom,

Try placing it at the top of the aspx source page. It looks like you are on the .vb code behind page.

Bryan

 


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
building a membership site- help busteronline BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6 1 July 31st, 2008 01:48 AM
p565 building your firstr site. lanzetta BOOK: Beginning Visual Basic 2005 ISBN: 978-0-7645-7401-6 1 May 18th, 2006 08:41 PM
building blocks (page 562) terry s Dreamweaver (all versions) 1 January 13th, 2005 02:10 PM
help building asp site denis Classic ASP Databases 1 June 6th, 2003 12:59 PM



All times are GMT -4. The time now is 03:40 PM.


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