Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Visual Studio.NET / IDE / March 2008

Tip: Looking for answers? Try searching our database.

Help My project wont take any variables

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
AMP - 10 Mar 2008 18:08 GMT
Hello,
I have been working on a project with no problems for a few monhs now.
All of a sudden I am getting errors when trying to declare a variable.
I Have the foloowing code:
           string DataToParse = "";
           string Ra = "";
           DataToParse = File.ReadAllText(UploadedFileName);
           Ra = File.ReadAllText(UploadedFileName);

The first variable "DataToParse" I have been using for months now.No
problem
The second one, Ra, I get "The name 'Ra' does not exist in the current
context"
I have tried to rename it, I tried just setting it to a random string.
(many times)
I even tried shutting down the computer.
When I put my curser over it when not debugging it shows as a local
variable, but during debugging it doesnt show anything when i put the
cursor over it.
This is freaking me out.
What can be the problem?
Thanks
Mike
Jeff Johnson - 11 Mar 2008 16:10 GMT
> I have been working on a project with no problems for a few monhs now.
> All of a sudden I am getting errors when trying to declare a variable.

This looks like it's a C# syntax question and not a question about the
Visual Studio IDE, which is what this group is for. Try
microsoft.public.dotnet.languages.csharp.

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.