Wrox Programmer Forums
|
Visual Studio 2005 For discussing Visual Studio 2005. Please post code questions about a specific language (C#, VB, ASP.NET, etc) in the correct language forum instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Visual Studio 2005 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 July 2nd, 2007, 11:01 PM
Authorized User
 
Join Date: May 2007
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Default BC30451: Name 'My' is not declared

Hi, All,

Could you help me?
 I have a web form. It work normally on localhost. However, I post on Website, I got the error message below:

Compiler Error Message: BC30451: Name 'My' is not declared.

Source Error:

Line 9: GBdate = "c:\inetpub\wwwroot\webform\GBdate .txt"
Line 10:
Line 11: If My.Computer.FileSystem.FileExists(GBdate) Then
Line 12: WholeList = My.Computer.FileSystem.ReadAllText(GBdate)
Line 13: Response.Write(WholeList & "<br>")


Source File: D:\Webs\webform\view.aspx Line: 11

Anyone, please help. Thanks.







Similar Threads
Thread Thread Starter Forum Replies Last Post
Name 'CAM' is not declared. belmin45 ASP.NET 1.0 and 1.1 Basics 2 May 27th, 2008 02:13 AM
Name "Eval" is not declared. thuyvncr BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 3 December 21st, 2006 03:48 AM
FormsAuthentication not declared! Renu ASP.NET 1.0 and 1.1 Basics 2 October 6th, 2004 10:29 AM
Name 'Container' is not declared. surendran ASP.NET 1.0 and 1.1 Professional 1 August 17th, 2004 10:33 AM





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