Wrox Programmer Forums
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
Old May 16th, 2006, 11:21 AM
Registered User
Join Date: May 2006
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.


Tom aka numbskull

Old May 18th, 2006, 08:41 PM
Wrox Author
Join Date: Mar 2006
Posts: 91
Thanks: 0
Thanked 5 Times in 5 Posts

Hey Tom,

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


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

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