Click here to Skip to main content
15,908,618 members
Home / Discussions / C#
   

C#

 
Questionxquery problem [modified] Pin
kkadir14-Aug-06 0:20
kkadir14-Aug-06 0:20 
Questionbuilt own modal dialogs Pin
snapper_21214-Aug-06 0:07
snapper_21214-Aug-06 0:07 
QuestionWindows Service stops after logging-off from current user/login. Pin
imdeepakpathak13-Aug-06 23:50
imdeepakpathak13-Aug-06 23:50 
AnswerRe: Windows Service stops after logging-off from current user/login. Pin
seee sharp14-Aug-06 0:19
seee sharp14-Aug-06 0:19 
QuestionMouse Clicking Pin
Cassiopeiaxy13-Aug-06 22:10
Cassiopeiaxy13-Aug-06 22:10 
AnswerRe: Mouse Clicking Pin
Malcolm Smart13-Aug-06 22:38
Malcolm Smart13-Aug-06 22:38 
QuestionHow to send a file in batch mode ? Pin
sundar15613-Aug-06 21:20
sundar15613-Aug-06 21:20 
AnswerRe: How to send a file in batch mode ? Pin
Malcolm Smart13-Aug-06 22:11
Malcolm Smart13-Aug-06 22:11 
namespace ConsoleApplication4
{
    class Program
    {
        static void Main(string[] args)
        {
            //source target paths
            string targetComputerPath = "//myServer/myShare/";
            string sourceComputerPath = "c:/test/";

            //build up a list of files
            ArrayList myFiles = new ArrayList();
            
            myFiles.Add("file1.txt");
            myFiles.Add("file2.txt");
            myFiles.Add("file3.txt");

            //send each one
            foreach (string fileName in myFiles)
            {
                string target = targetComputerPath + fileName;
                string source = sourceComputerPath + fileName;
                System.IO.File.Copy(source , target);
            }
        }
    }
}


and then there's error handling to think of...

Regards

Malc
*********************************************


GeneralRe: How to send a file in batch mode ? Pin
sundar15614-Aug-06 0:16
sundar15614-Aug-06 0:16 
QuestionAbout SplitContainer Pin
ytubis13-Aug-06 21:13
ytubis13-Aug-06 21:13 
AnswerRe: About SplitContainer Pin
CooperWu13-Aug-06 21:33
CooperWu13-Aug-06 21:33 
GeneralRe: About SplitContainer Pin
ytubis13-Aug-06 21:37
ytubis13-Aug-06 21:37 
GeneralRe: About SplitContainer Pin
CooperWu13-Aug-06 21:42
CooperWu13-Aug-06 21:42 
QuestionAbout Threading Pin
engsrini13-Aug-06 20:23
engsrini13-Aug-06 20:23 
AnswerRe: About Threading Pin
Guffa13-Aug-06 21:06
Guffa13-Aug-06 21:06 
GeneralRe: About Threading Pin
engsrini13-Aug-06 21:18
engsrini13-Aug-06 21:18 
GeneralRe: About Threading Pin
Dario Solera13-Aug-06 22:27
Dario Solera13-Aug-06 22:27 
AnswerRe: About Threading Pin
CooperWu13-Aug-06 21:41
CooperWu13-Aug-06 21:41 
Questionsort and filter a set of database Pin
skyeddie13-Aug-06 19:50
skyeddie13-Aug-06 19:50 
AnswerRe: sort and filter a set of database Pin
leppie13-Aug-06 22:14
leppie13-Aug-06 22:14 
QuestionPassing an [in] parameter to an asp.net web service Pin
Mehdi Mousavi13-Aug-06 19:15
Mehdi Mousavi13-Aug-06 19:15 
AnswerRe: Passing an [in] parameter to an asp.net web service Pin
leppie13-Aug-06 21:54
leppie13-Aug-06 21:54 
GeneralRe: Passing an [in] parameter to an asp.net web service Pin
Mehdi Mousavi14-Aug-06 0:32
Mehdi Mousavi14-Aug-06 0:32 
QuestionDisplay Image in a Datagrid Pin
Rabbit1713-Aug-06 18:51
Rabbit1713-Aug-06 18:51 
AnswerRe: Display Image in a Datagrid Pin
Rabbit1714-Aug-06 11:39
Rabbit1714-Aug-06 11:39 

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.