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

C#

 
GeneralRe: MTA calling STA Pin
Judah Gabriel Himango13-Feb-08 11:26
sponsorJudah Gabriel Himango13-Feb-08 11:26 
GeneralRe: MTA calling STA Pin
Don Rolando13-Feb-08 11:46
Don Rolando13-Feb-08 11:46 
GeneralRe: MTA calling STA Pin
led mike13-Feb-08 11:33
led mike13-Feb-08 11:33 
GeneralRe: MTA calling STA Pin
Don Rolando13-Feb-08 11:48
Don Rolando13-Feb-08 11:48 
Generalitems painted Pin
netJP12L13-Feb-08 9:14
netJP12L13-Feb-08 9:14 
GeneralRe: items painted Pin
Christian Graus13-Feb-08 9:29
protectorChristian Graus13-Feb-08 9:29 
GeneralRe: items painted Pin
netJP12L14-Feb-08 4:25
netJP12L14-Feb-08 4:25 
GeneralFile.io - creating a back up file syntax error Pin
Shane Smart13-Feb-08 9:05
Shane Smart13-Feb-08 9:05 
hey can anyone can please help im new to c#, im trying to add a button to my program that will make a copy/backup of a file, the location of the orignal file is static so no need for dir listboxes. the problem i have is when it come to creating the copy.

 private void button1_Click(object sender, EventArgs e)<br />
        {<br />
            folderBrowserDialog1.Description = "Select a Directory to Back up the Database";<br />
            if (folderBrowserDialog1.ShowDialog() == DialogResult.OK)<br />
{<br />
        System.IO.File.Copy("c:/test.txt", folderBrowserDialog1.SelectedPath + "UNKNOWN.txt", true);<br />
        MessageBox.Show("File saved to " + folderBrowserDialog1.SelectedPath, "Backup Made",       MessageBoxButtons.OK, MessageBoxIcon.Information);<br />
}


any help would be great Smile | :)
GeneralRe: File.io - creating a back up file syntax error Pin
DaveyM6913-Feb-08 9:21
professionalDaveyM6913-Feb-08 9:21 
GeneralRe: File.io - creating a back up file syntax error Pin
Shane Smart13-Feb-08 11:19
Shane Smart13-Feb-08 11:19 
GeneralTerminate (clean way) a Windows Service from inside Pin
Federico Milano13-Feb-08 6:41
Federico Milano13-Feb-08 6:41 
Generalupload the wave file (without asp.net control) using c# . Pin
pachan13-Feb-08 4:48
pachan13-Feb-08 4:48 
GeneralRe: upload the wave file (without asp.net control) using c# . Pin
phannon8613-Feb-08 4:56
professionalphannon8613-Feb-08 4:56 
GeneralRe: upload the wave file (without asp.net control) using c# . Pin
Not Active13-Feb-08 6:13
mentorNot Active13-Feb-08 6:13 
Generalarchitecture Pin
ellllllllie13-Feb-08 4:42
ellllllllie13-Feb-08 4:42 
GeneralRe: architecture Pin
Expert Coming13-Feb-08 4:46
Expert Coming13-Feb-08 4:46 
GeneralRe: architecture Pin
ellllllllie13-Feb-08 5:00
ellllllllie13-Feb-08 5:00 
GeneralRe: architecture Pin
engsrini13-Feb-08 8:55
engsrini13-Feb-08 8:55 
JokeRe: architecture Pin
MarkB77713-Feb-08 8:59
MarkB77713-Feb-08 8:59 
GeneralRe: architecture Pin
Pete O'Hanlon13-Feb-08 10:39
mvePete O'Hanlon13-Feb-08 10:39 
GeneralRe: architecture Pin
Christian Graus13-Feb-08 9:29
protectorChristian Graus13-Feb-08 9:29 
GeneralRe: architecture Pin
Mark Churchill13-Feb-08 11:09
Mark Churchill13-Feb-08 11:09 
GeneralRe: architecture Pin
led mike13-Feb-08 11:36
led mike13-Feb-08 11:36 
GeneralRe: architecture Pin
Mark Churchill13-Feb-08 14:50
Mark Churchill13-Feb-08 14:50 
GeneralRe: architecture Pin
ellllllllie13-Feb-08 22:01
ellllllllie13-Feb-08 22:01 

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.