Click here to Skip to main content
15,911,531 members
Home / Discussions / C#
   

C#

 
AnswerRe: æøå characters Pin
mikailcetinkaya10-Jan-06 2:44
mikailcetinkaya10-Jan-06 2:44 
GeneralRe: æøå characters Pin
Genbox10-Jan-06 4:17
Genbox10-Jan-06 4:17 
GeneralRe: æøå characters Pin
mikailcetinkaya11-Jan-06 5:40
mikailcetinkaya11-Jan-06 5:40 
QuestionCommunicating to a mobile phone Pin
mumf8310-Jan-06 0:10
mumf8310-Jan-06 0:10 
AnswerRe: Communicating to a mobile phone Pin
mikailcetinkaya10-Jan-06 2:46
mikailcetinkaya10-Jan-06 2:46 
GeneralRe: Communicating to a mobile phone Pin
ekynox10-Jan-06 13:48
ekynox10-Jan-06 13:48 
QuestionCheck if file is Accessible Pin
rnvrnv9-Jan-06 23:51
rnvrnv9-Jan-06 23:51 
AnswerRe: Check if file is Accessible Pin
Dave Kreskowiak10-Jan-06 5:27
mveDave Kreskowiak10-Jan-06 5:27 
If the file is locked by the other application, or opened with DenyShare, there's no way you can open the file until the other application closes it and releases it's locks.

The only way to check to see if the file is accessible is to try and open it. Catch an Exceptions thrown in a Try/Catch block. If the open fails, wait a bit, then try again. Eventually, the other app should close the file and you'll be able to open it.

You could also try to only open the file for SharedRead, meaning you're application will not write to the file but will allow other processes to share access to the file. If your other application is denying Shared Read, you're out of luck.


RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome

QuestionGenerating program from the another program Pin
tadung9-Jan-06 22:54
tadung9-Jan-06 22:54 
AnswerRe: Generating program from the another program Pin
Colin Angus Mackay9-Jan-06 23:45
Colin Angus Mackay9-Jan-06 23:45 
AnswerRe: Generating program from the another program Pin
Sebastian Schneider10-Jan-06 1:48
Sebastian Schneider10-Jan-06 1:48 
Questionprint preview for xps document Pin
Shiva Prasad9-Jan-06 22:51
Shiva Prasad9-Jan-06 22:51 
QuestionFinding Text in a RichTextBox Pin
alvinjv9-Jan-06 22:48
alvinjv9-Jan-06 22:48 
AnswerRe: Finding Text in a RichTextBox Pin
Curtis Schlak.10-Jan-06 3:34
Curtis Schlak.10-Jan-06 3:34 
AnswerRe: Finding Text in a RichTextBox Pin
Dave Kreskowiak10-Jan-06 5:23
mveDave Kreskowiak10-Jan-06 5:23 
QuestionPrinting Pin
Dylan van Heerden9-Jan-06 20:10
Dylan van Heerden9-Jan-06 20:10 
AnswerRe: Printing Pin
PrakashBhaskar9-Jan-06 20:26
PrakashBhaskar9-Jan-06 20:26 
Question[Message Deleted] Pin
Anup20069-Jan-06 18:21
Anup20069-Jan-06 18:21 
AnswerRe: How To Get The Row Count Of Datagrid Including Automatically Generated Row Pin
Maqsood Ahmed9-Jan-06 18:49
Maqsood Ahmed9-Jan-06 18:49 
GeneralRe: How To Get The Row Count Of Datagrid Including Automatically Generated Row Pin
Anup20069-Jan-06 22:50
Anup20069-Jan-06 22:50 
QuestionHex question Pin
Tom Wright9-Jan-06 11:23
Tom Wright9-Jan-06 11:23 
AnswerRe: Hex question Pin
Curtis Schlak.9-Jan-06 11:46
Curtis Schlak.9-Jan-06 11:46 
QuestionBar Code Reading Pin
thepolishguy9-Jan-06 9:57
thepolishguy9-Jan-06 9:57 
AnswerRe: Bar Code Reading Pin
Tom Wright9-Jan-06 10:37
Tom Wright9-Jan-06 10:37 
GeneralRe: Bar Code Reading Pin
thepolishguy9-Jan-06 11:07
thepolishguy9-Jan-06 11: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.