Click here to Skip to main content
15,849,032 members
Home / Discussions / C#
   

C#

 
AnswerRe: how to read content of .SPl file in C#.net Pin
BillWoodruff22-Sep-14 23:19
professionalBillWoodruff22-Sep-14 23:19 
GeneralRe: how to read content of .SPl file in C#.net Pin
Member 1109382422-Sep-14 23:42
Member 1109382422-Sep-14 23:42 
Questionopen a file from network path Pin
Jassim Rahma21-Sep-14 20:54
Jassim Rahma21-Sep-14 20:54 
SuggestionRe: open a file from network path Pin
Kornfeld Eliyahu Peter21-Sep-14 21:27
professionalKornfeld Eliyahu Peter21-Sep-14 21:27 
AnswerRe: open a file from network path Pin
Richard MacCutchan21-Sep-14 22:12
mveRichard MacCutchan21-Sep-14 22:12 
AnswerRe: open a file from network path Pin
Mycroft Holmes21-Sep-14 23:31
professionalMycroft Holmes21-Sep-14 23:31 
GeneralRe: open a file from network path Pin
Rob Philpott21-Sep-14 23:54
Rob Philpott21-Sep-14 23:54 
AnswerRe: open a file from network path Pin
Dominic Burford22-Sep-14 0:55
professionalDominic Burford22-Sep-14 0:55 
What value does file_path contain? Does it use a UNC path?

You need to determine what value file_path contains and then see if you can open the same path in Windows Explorer. If this works fine then check if the file exists. You should check for its existence in your code.

C#
If (File.Exists(file_name)
{
  //your code here
}

QuestionMath class Pin
Adnid21-Sep-14 8:37
Adnid21-Sep-14 8:37 
AnswerRe: Math class Pin
Bernhard Hiller21-Sep-14 22:36
Bernhard Hiller21-Sep-14 22:36 
JokeRe: Math class Pin
ZurdoDev22-Sep-14 9:19
professionalZurdoDev22-Sep-14 9:19 
AnswerRe: Math class Pin
V.22-Sep-14 11:37
professionalV.22-Sep-14 11:37 
Question[C#, MS SQL CE] Password dialog authentification Pin
VitekST20-Sep-14 1:31
VitekST20-Sep-14 1:31 
General* Pin
VitekST8-Oct-14 7:00
VitekST8-Oct-14 7:00 
QuestionHow to Change Image for the last level(Child) in Treeview in C#? Pin
aahamdan19-Sep-14 22:03
aahamdan19-Sep-14 22:03 
AnswerRe: How to Change Image for the last level(Child) in Treeview in C#? Pin
BillWoodruff19-Sep-14 22:41
professionalBillWoodruff19-Sep-14 22:41 
GeneralRe: How to Change Image for the last level(Child) in Treeview in C#? Pin
aahamdan20-Sep-14 10:36
aahamdan20-Sep-14 10:36 
GeneralRe: How to Change Image for the last level(Child) in Treeview in C#? Pin
BillWoodruff20-Sep-14 20:56
professionalBillWoodruff20-Sep-14 20:56 
GeneralRe: How to Change Image for the last level(Child) in Treeview in C#? Pin
aahamdan22-Sep-14 8:56
aahamdan22-Sep-14 8:56 
GeneralRe: How to Change Image for the last level(Child) in Treeview in C#? Pin
BillWoodruff22-Sep-14 23:29
professionalBillWoodruff22-Sep-14 23:29 
GeneralRe: How to Change Image for the last level(Child) in Treeview in C#? Pin
Eddy Vluggen22-Sep-14 9:27
professionalEddy Vluggen22-Sep-14 9:27 
GeneralRe: How to Change Image for the last level(Child) in Treeview in C#? Pin
BillWoodruff22-Sep-14 9:34
professionalBillWoodruff22-Sep-14 9:34 
Questioncontinue if loop if failed Pin
Jassim Rahma19-Sep-14 12:27
Jassim Rahma19-Sep-14 12:27 
AnswerRe: continue if loop if failed Pin
V.19-Sep-14 12:36
professionalV.19-Sep-14 12:36 
AnswerRe: continue if loop if failed Pin
Eddy Vluggen19-Sep-14 12:56
professionalEddy Vluggen19-Sep-14 12:56 

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.