Click here to Skip to main content
15,905,971 members
Home / Discussions / C#
   

C#

 
GeneralRe: Download files ListBox and Thread Pin
fredza2-Dec-04 10:04
fredza2-Dec-04 10:04 
GeneralRe: Download files ListBox and Thread Pin
Heath Stewart2-Dec-04 11:08
protectorHeath Stewart2-Dec-04 11:08 
GeneralClose Windows Form automatically Pin
realmontanakid2-Dec-04 6:27
realmontanakid2-Dec-04 6:27 
GeneralRe: Close Windows Form automatically Pin
Judah Gabriel Himango2-Dec-04 7:34
sponsorJudah Gabriel Himango2-Dec-04 7:34 
GeneralRe: Close Windows Form automatically Pin
Heath Stewart2-Dec-04 7:40
protectorHeath Stewart2-Dec-04 7:40 
GeneralChange text color on a single line Pin
Gywox2-Dec-04 5:45
Gywox2-Dec-04 5:45 
GeneralTest for file lock Pin
Marc Clifton2-Dec-04 5:16
mvaMarc Clifton2-Dec-04 5:16 
GeneralRe: Test for file lock Pin
Heath Stewart2-Dec-04 5:31
protectorHeath Stewart2-Dec-04 5:31 
Would you rather have return codes like all the Win32 APIs? An exception is what should be thrown from the constructor. Would you rather it return null and not know why it returned null?

This is consistent with how the native APIs work, as I'm sure you know. When you call CreateFile you will get a return code that states the file is locked.

BTW, I don't see any such "can succeed"-type methods in the latest bits for 2.0 for the file-related APIs. Where did you see such information?

This posting is provided "AS IS" with no warranties, and confers no rights.

Software Design Engineer
Developer Division Sustained Engineering
Microsoft

[My Articles] [My Blog]
GeneralRe: Test for file lock Pin
Marc Clifton2-Dec-04 6:04
mvaMarc Clifton2-Dec-04 6:04 
GeneralRe: Test for file lock Pin
Heath Stewart2-Dec-04 7:34
protectorHeath Stewart2-Dec-04 7:34 
GeneralRe: Test for file lock Pin
Willie Lassiter5-Dec-04 17:55
Willie Lassiter5-Dec-04 17:55 
GeneralConverting string to bitmap Pin
jawbrey2-Dec-04 5:15
jawbrey2-Dec-04 5:15 
GeneralRe: Converting string to bitmap Pin
Heath Stewart2-Dec-04 7:17
protectorHeath Stewart2-Dec-04 7:17 
GeneralBrowse all controls Pin
bouli2-Dec-04 4:34
bouli2-Dec-04 4:34 
GeneralRe: Browse all controls Pin
Judah Gabriel Himango2-Dec-04 4:58
sponsorJudah Gabriel Himango2-Dec-04 4:58 
GeneralRe: Browse all controls Pin
bouli2-Dec-04 5:02
bouli2-Dec-04 5:02 
GeneralRe: Browse all controls Pin
Heath Stewart2-Dec-04 5:20
protectorHeath Stewart2-Dec-04 5:20 
GeneralRe: Browse all controls Pin
bouli2-Dec-04 5:30
bouli2-Dec-04 5:30 
GeneralRe: Browse all controls Pin
Heath Stewart2-Dec-04 5:35
protectorHeath Stewart2-Dec-04 5:35 
GeneralRe: Browse all controls Pin
Judah Gabriel Himango2-Dec-04 5:37
sponsorJudah Gabriel Himango2-Dec-04 5:37 
GeneralRe: Browse all controls Pin
Heath Stewart2-Dec-04 7:30
protectorHeath Stewart2-Dec-04 7:30 
GeneralRe: Browse all controls Pin
turbochimp2-Dec-04 5:08
turbochimp2-Dec-04 5:08 
GeneralProblem with string literals Pin
pchak2-Dec-04 4:18
pchak2-Dec-04 4:18 
GeneralRe: Problem with string literals Pin
turbochimp2-Dec-04 4:50
turbochimp2-Dec-04 4:50 
GeneralRe: Problem with string literals Pin
pchak2-Dec-04 5:30
pchak2-Dec-04 5:30 

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.