Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 1.0 and 1.1 > ASP.NET 1.1
|
ASP.NET 1.1 As of 10/6/2005, this forum is locked as part of the reorganization described here: http://p2p.wrox.com/topic.asp?TOPIC_ID=35394. No posts have been deleted. Open ongoing discussions from the last week have been moved to either ASP.NET 1.0 and 1.1 Beginners http://p2p.wrox.com/asp-net-1-0-1-1-basics-60/ or ASP.NET 1.0 and 1.1 Professional. http://p2p.wrox.com/forum.asp?FORUM_ID=50. See my sticky post inside for more.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.1 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 September 26th, 2005, 06:40 PM
Registered User
 
Join Date: Sep 2005
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Accessing the Application object from the .aspx.vb

I am reading the book ASP.ET1.1 with VB.NET 2003.
In the exercise of chapter 12 i have to move the VB.Net code to the associated code-behind file.
 I am having a problem.

I have a asp.net file called merchandise.aspx and in it i have an Application object that

stores the user's password. Then i created a code-behind file and called it

merchandise.aspx.vb and tranfered all the code inside the <script> tag into this file under

a new class.I included the Page directive with the new class in the merchandise.aspx

file.Now if i run the merchandise.aspx file it says that

BC30451: Name 'Application' is not declared.

Is there any thing i should include in the .aspx.vb file for it to access the Application

object.
Thanks in Advance!





Similar Threads
Thread Thread Starter Forum Replies Last Post
Accessing Object of Database Sheraz Khan ASP.NET 2.0 Professional 0 August 27th, 2007 10:30 PM
Accessing elements of an Array object abdulqadirpk VB How-To 1 April 2nd, 2007 11:13 AM
Accessing dataset obj (in .dll) from an aspx page arulkumar ASP.NET 1.0 and 1.1 Basics 2 August 8th, 2005 10:29 PM
Accessing ASP Application Object from .NET yuvalk ASP.NET 1.x and 2.0 Application Design 2 July 19th, 2004 10:29 AM
Accessing page object within an IFRAME drettberg ASP.NET 1.0 and 1.1 Professional 3 September 22nd, 2003 11:49 AM





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