Click here to Skip to main content
15,913,941 members
Home / Discussions / C#
   

C#

 
QuestionHow to get the value of the existing cookie. Pin
Nekkantidivya22-Mar-09 19:42
Nekkantidivya22-Mar-09 19:42 
AnswerRe: How to get the value of the existing cookie. Pin
N a v a n e e t h22-Mar-09 20:01
N a v a n e e t h22-Mar-09 20:01 
Questionhelp on GUI foe Deploy Pin
varun.g22-Mar-09 19:29
varun.g22-Mar-09 19:29 
AnswerRe: help on GUI foe Deploy Pin
N a v a n e e t h22-Mar-09 19:40
N a v a n e e t h22-Mar-09 19:40 
Questionmenu in asp.net Pin
Mangesh Tomar22-Mar-09 19:03
Mangesh Tomar22-Mar-09 19:03 
AnswerRe: menu in asp.net Pin
Christian Graus22-Mar-09 20:39
protectorChristian Graus22-Mar-09 20:39 
Questionrun time exception Pin
Mangesh Tomar22-Mar-09 18:31
Mangesh Tomar22-Mar-09 18:31 
AnswerRe: run time exception Pin
Cracked-Down22-Mar-09 18:50
Cracked-Down22-Mar-09 18:50 
Are you trying to open the file that you are providing from Text Box??

if you are doing so then,
string filename = @"textBox1.Text"; 


this statement is wrong you should not precede with @ here,which means take the followed string as it is! In your case filename is takes as "textBox1.Text" which is not the file which you want to access.......

so change your line by removing @ symbol and qoutes.....
so your this line should be like this

string filename = textBox1.Text; 


which will give you the file name provided in the testbox


hope this will work for you............ Smile | :) Smile | :) Smile | :) Smile | :)


Happy coding!!!!!!
Deep
GeneralRe: run time exception Pin
Mangesh Tomar22-Mar-09 19:01
Mangesh Tomar22-Mar-09 19:01 
QuestionMMC SnapIn needs to prevent the Console from exiting Pin
Peter Bruderlin22-Mar-09 17:42
Peter Bruderlin22-Mar-09 17:42 
Questionhow to change activesync ipaddress Pin
osemia22-Mar-09 14:56
osemia22-Mar-09 14:56 
QuestionCalling A form by its name which is saved as text in a table . Pin
unitecsoft22-Mar-09 14:31
unitecsoft22-Mar-09 14:31 
AnswerRe: Calling A form by its name which is saved as text in a table . Pin
PIEBALDconsult22-Mar-09 16:27
mvePIEBALDconsult22-Mar-09 16:27 
AnswerRe: Calling A form by its name which is saved as text in a table . Pin
Morven Huang22-Mar-09 20:55
Morven Huang22-Mar-09 20:55 
QuestionSort thru arrays for elements Pin
onetreeup22-Mar-09 13:48
onetreeup22-Mar-09 13:48 
AnswerRe: Sort thru arrays for elements Pin
ABitSmart22-Mar-09 18:14
ABitSmart22-Mar-09 18:14 
AnswerRe: Sort thru arrays for elements [modified] Pin
12Code22-Mar-09 18:17
12Code22-Mar-09 18:17 
QuestionCode for drawing two dimensional "Nautilus" spirals?? Pin
Wej Parry22-Mar-09 12:02
Wej Parry22-Mar-09 12:02 
AnswerRe: Code for drawing two dimensional "Nautilus" spirals?? Pin
Christian Graus22-Mar-09 12:31
protectorChristian Graus22-Mar-09 12:31 
GeneralRe: Code for drawing two dimensional "Nautilus" spirals?? Pin
Wej Parry22-Mar-09 14:13
Wej Parry22-Mar-09 14:13 
QuestionWhere Do I Start Learning About Using SQL Databases in C# Applications? Pin
That Asian Guy22-Mar-09 10:39
That Asian Guy22-Mar-09 10:39 
AnswerRe: Where Do I Start Learning About Using SQL Databases in C# Applications? Pin
Christian Graus22-Mar-09 10:58
protectorChristian Graus22-Mar-09 10:58 
AnswerRe: Where Do I Start Learning About Using SQL Databases in C# Applications? Pin
PIEBALDconsult22-Mar-09 16:31
mvePIEBALDconsult22-Mar-09 16:31 
AnswerRe: Where Do I Start Learning About Using SQL Databases in C# Applications? Pin
Morven Huang22-Mar-09 21:06
Morven Huang22-Mar-09 21:06 
AnswerRe: Where Do I Start Learning About Using SQL Databases in C# Applications? Pin
Nouman Bhatti22-Mar-09 22:07
Nouman Bhatti22-Mar-09 22:07 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.