Click here to Skip to main content
16,004,686 members
Home / Discussions / C#
   

C#

 
GeneralRe: INSERT Single-Quote Char into DB Tables Pin
Werdna23-Jun-04 7:02
Werdna23-Jun-04 7:02 
GeneralRe: INSERT Single-Quote Char into DB Tables Pin
Heath Stewart13-Mar-05 16:29
protectorHeath Stewart13-Mar-05 16:29 
GeneralAutomatically authenticating with a Web proxy Pin
Arun Bhalla22-Jun-04 12:11
Arun Bhalla22-Jun-04 12:11 
GeneralRe: Automatically authenticating with a Web proxy Pin
Heath Stewart22-Jun-04 16:18
protectorHeath Stewart22-Jun-04 16:18 
GeneralRe: Automatically authenticating with a Web proxy Pin
Arun Bhalla1-Jul-04 7:44
Arun Bhalla1-Jul-04 7:44 
GeneralRe: Automatically authenticating with a Web proxy Pin
Heath Stewart1-Jul-04 17:03
protectorHeath Stewart1-Jul-04 17:03 
GeneralRe: Automatically authenticating with a Web proxy Pin
Arun Bhalla1-Jul-04 7:45
Arun Bhalla1-Jul-04 7:45 
GeneralFile Problem Pin
Peter Vertes22-Jun-04 9:29
Peter Vertes22-Jun-04 9:29 
I'm getting a "The process cannot access the file myfile.bak because it is being used by another process." exception for the following code:

<br />
if (File.Exists("myfile.xml"))<br />
{<br />
    if (File.Exists("myfile.bak"))<br />
        File.Delete("myfile.bak");<br />
<br />
    File.Move("myfile.xml", "myfile.bak");<br />
}<br />


The exception is happening on the File.Move() operation. Unfortunately the File class does not have a flush() or close() method that I could use. Can anyone suggest anything else ?
GeneralRe: File Problem Pin
LongRange.Shooter22-Jun-04 9:50
LongRange.Shooter22-Jun-04 9:50 
GeneralRe: File Problem Pin
Peter Vertes22-Jun-04 10:15
Peter Vertes22-Jun-04 10:15 
GeneralRe: File Problem Pin
LongRange.Shooter22-Jun-04 10:32
LongRange.Shooter22-Jun-04 10:32 
GeneralRe: File Problem Pin
Peter Vertes22-Jun-04 11:17
Peter Vertes22-Jun-04 11:17 
GeneralRe: File Problem Pin
Heath Stewart22-Jun-04 11:43
protectorHeath Stewart22-Jun-04 11:43 
GeneralRe: File Problem Pin
Peter Vertes22-Jun-04 11:51
Peter Vertes22-Jun-04 11:51 
GeneralRe: File Problem Pin
Dave Kreskowiak22-Jun-04 13:07
mveDave Kreskowiak22-Jun-04 13:07 
GeneralRe: File Problem Pin
Peter Vertes23-Jun-04 8:49
Peter Vertes23-Jun-04 8:49 
GeneralUpdating text in a form while other tasks are happening Pin
quilkin22-Jun-04 9:25
quilkin22-Jun-04 9:25 
GeneralRe: Updating text in a form while other tasks are happening Pin
LongRange.Shooter22-Jun-04 9:42
LongRange.Shooter22-Jun-04 9:42 
GeneralRe: Updating text in a form while other tasks are happening Pin
quilkin23-Jun-04 8:12
quilkin23-Jun-04 8:12 
GeneralRe: Updating text in a form while other tasks are happening Pin
LongRange.Shooter23-Jun-04 8:49
LongRange.Shooter23-Jun-04 8:49 
GeneralListBox Pin
Gary Kirkham22-Jun-04 8:57
Gary Kirkham22-Jun-04 8:57 
GeneralRe: ListBox Pin
Heath Stewart22-Jun-04 10:44
protectorHeath Stewart22-Jun-04 10:44 
GeneralI have problem to make connection on Access database. Pin
SasaTod22-Jun-04 8:56
SasaTod22-Jun-04 8:56 
GeneralRe: I have problem to make connection on Access database. Pin
Heath Stewart22-Jun-04 10:38
protectorHeath Stewart22-Jun-04 10:38 
GeneralRe: I have problem to make connection on Access database. Pin
SasaTod23-Jun-04 6:19
SasaTod23-Jun-04 6:19 

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.