Click here to Skip to main content
15,889,612 members
Home / Discussions / C#
   

C#

 
QuestionOdd RuntimeBinderException Pin
LastAndFirst1-Jul-12 0:27
LastAndFirst1-Jul-12 0:27 
AnswerRe: Odd RuntimeBinderException Pin
DaveyM692-Jul-12 1:53
professionalDaveyM692-Jul-12 1:53 
Questioncheck is file created? Pin
Jassim Rahma30-Jun-12 20:24
Jassim Rahma30-Jun-12 20:24 
AnswerRe: check is file created? Pin
Pete O'Hanlon30-Jun-12 20:53
mvePete O'Hanlon30-Jun-12 20:53 
GeneralRe: check is file created? Pin
Abhinav S30-Jun-12 21:08
Abhinav S30-Jun-12 21:08 
GeneralRe: check is file created? Pin
Pete O'Hanlon30-Jun-12 21:16
mvePete O'Hanlon30-Jun-12 21:16 
GeneralRe: check is file created? Pin
Abhinav S1-Jul-12 3:49
Abhinav S1-Jul-12 3:49 
AnswerRe: check is file created? Pin
Luc Pattyn30-Jun-12 22:14
sitebuilderLuc Pattyn30-Jun-12 22:14 
If you're trying to open the file as read-only, with all the options set correctly, you shouldn't have any trouble opening it right after you created it. If you want more access rights (such as write and delete) or didn't specify them, then some other process might be busy reading your file and thus preventing your general-purpose open operation. Such other processes could include file indexers, anti-virus software, etc.

Try using File.ReadAllText, ReadAllLines, ReadAllBytes for instance, they should always succeed as their name implies they only want to read.

Smile | :)
Luc Pattyn [My Articles] Nil Volentibus Arduum

AnswerRe: check is file created? Pin
Dave Kreskowiak1-Jul-12 3:58
mveDave Kreskowiak1-Jul-12 3:58 
QuestionHow to find the number of folders and files in particular folder Pin
jeetveer30-Jun-12 9:40
jeetveer30-Jun-12 9:40 
AnswerRe: How to find the number of folders and files in particular folder Pin
Dave Kreskowiak30-Jun-12 11:21
mveDave Kreskowiak30-Jun-12 11:21 
GeneralCrosspost Pin
Wes Aday30-Jun-12 11:26
professionalWes Aday30-Jun-12 11:26 
QuestionExcel Files Pin
DJCRIS1230-Jun-12 6:52
DJCRIS1230-Jun-12 6:52 
AnswerRe: Excel Files Pin
DamithSL30-Jun-12 8:28
professionalDamithSL30-Jun-12 8:28 
AnswerRe: Excel Files Pin
frostcox30-Jun-12 12:55
frostcox30-Jun-12 12:55 
GeneralRe: Excel Files Pin
DJCRIS123-Jul-12 4:31
DJCRIS123-Jul-12 4:31 
QuestionDns.GetHostEntry and Dns,GetHostName Pin
Arjun Menon U.K30-Jun-12 2:56
Arjun Menon U.K30-Jun-12 2:56 
AnswerRe: Dns.GetHostEntry and Dns,GetHostName Pin
Dave Kreskowiak30-Jun-12 4:22
mveDave Kreskowiak30-Jun-12 4:22 
GeneralRe: Dns.GetHostEntry and Dns,GetHostName Pin
Arjun Menon U.K4-Jul-12 18:26
Arjun Menon U.K4-Jul-12 18:26 
GeneralRe: Dns.GetHostEntry and Dns,GetHostName Pin
OriginalGriff30-Jun-12 5:03
mveOriginalGriff30-Jun-12 5:03 
QuestionHow to get value of dynamically created dropdownlist on server side code. Pin
Charanjot Singh29-Jun-12 21:22
Charanjot Singh29-Jun-12 21:22 
QuestionHow to pass value to unspecified object using delegate C# Pin
rongvangso729-Jun-12 14:40
rongvangso729-Jun-12 14:40 
AnswerRe: How to pass value to unspecified object using delegate C# Pin
Richard Andrew x6429-Jun-12 16:08
professionalRichard Andrew x6429-Jun-12 16:08 
GeneralRe: How to pass value to unspecified object using delegate C# Pin
rongvangso729-Jun-12 20:12
rongvangso729-Jun-12 20:12 
GeneralRe: How to pass value to unspecified object using delegate C# Pin
OriginalGriff29-Jun-12 21:41
mveOriginalGriff29-Jun-12 21:41 

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.