Accessing the Application object from the .aspx.vb file


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: Accessing the Application object from the .aspx.vb file

  1. #1
    Join Date
    Jul 2005
    Posts
    3

    Accessing the Application object from the .aspx.vb file

    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!
    Last edited by indum; 09-26-2005 at 07:31 PM.

  2. #2
    Join Date
    Nov 2003
    Location
    Portland, OR
    Posts
    8,387
    Phil Weber
    http://www.philweber.com

    Please post questions to the forums, where others may benefit.
    I do not offer free assistance by e-mail. Thank you!

Similar Threads

  1. Replies: 2
    Last Post: 10-11-2002, 01:00 PM
  2. Replies: 0
    Last Post: 10-11-2002, 04:31 AM
  3. Replies: 1
    Last Post: 06-20-2002, 11:33 AM
  4. Validating XML
    By Jaco de Villiers in forum XML
    Replies: 1
    Last Post: 06-01-2001, 05:50 PM
  5. Replies: 3
    Last Post: 07-19-2000, 03:51 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center