Click here to Skip to main content
16,018,418 members
Home / Discussions / C#
   

C#

 
Questionhow to come out the pic randomly in picture boxes? Pin
davvid25-Nov-06 17:47
davvid25-Nov-06 17:47 
AnswerRe: how to come out the pic randomly in picture boxes? Pin
S. Senthil Kumar25-Nov-06 18:21
S. Senthil Kumar25-Nov-06 18:21 
GeneralRe: how to come out the pic randomly in picture boxes? Pin
davvid25-Nov-06 18:38
davvid25-Nov-06 18:38 
Questionpls help me with my card game Pin
davvid25-Nov-06 15:22
davvid25-Nov-06 15:22 
AnswerRe: pls help me with my card game Pin
Christian Graus25-Nov-06 22:30
protectorChristian Graus25-Nov-06 22:30 
QuestionContext Menue Pin
Mohammed Elkholy25-Nov-06 14:19
Mohammed Elkholy25-Nov-06 14:19 
AnswerRe: Context Menue Pin
Paul Conrad25-Nov-06 18:23
professionalPaul Conrad25-Nov-06 18:23 
QuestionFTP LIST problem Pin
Monin D.25-Nov-06 14:03
Monin D.25-Nov-06 14:03 
How to recieve a List of files from a ftp?

I am sending command LIST.
but recieving only:
150 Opening ASCII mode data connection for /bin/ls.
226 Transfer complete.

I am sure that on ftp must be some folders and files (ftp clients show them).

But I dont receive anything between 150 and 226.

So I read the answer from ftp:
Socket clientSocket; // Assume that I am already connected and logged on to ftp
string message;
byte[] buffer = byte[512];
int bytes;
while (clientSocket.Available == 0)
{
    // on timeout throw error
    System.Threading.Thread.Sleep(50);
 }

while (clientSocket.Available > 0)
{
     bytes = clientSocket.Receive(buffer, buffer.Length, 0);
     message         += Encoding.ASCII.GetString(buffer, 0, (int)bytes);
     System.Threading.Thread.Sleep(50);
}

AnswerRe: FTP LIST problem Pin
S. Senthil Kumar25-Nov-06 18:27
S. Senthil Kumar25-Nov-06 18:27 
GeneralRe: FTP LIST problem Pin
Monin D.25-Nov-06 21:51
Monin D.25-Nov-06 21:51 
Questionslowing down the process Pin
Argus225-Nov-06 11:55
Argus225-Nov-06 11:55 
AnswerRe: slowing down the process Pin
Amar Chaudhary25-Nov-06 12:18
Amar Chaudhary25-Nov-06 12:18 
GeneralRe: slowing down the process Pin
Argus225-Nov-06 12:26
Argus225-Nov-06 12:26 
GeneralRe: slowing down the process Pin
Rob Graham25-Nov-06 12:28
Rob Graham25-Nov-06 12:28 
GeneralRe: slowing down the process Pin
Argus225-Nov-06 12:38
Argus225-Nov-06 12:38 
GeneralRe: slowing down the process Pin
Rob Graham25-Nov-06 13:04
Rob Graham25-Nov-06 13:04 
AnswerRe: slowing down the process Pin
Guffa25-Nov-06 13:22
Guffa25-Nov-06 13:22 
AnswerRe: slowing down the process Pin
Martin2326-Nov-06 5:13
Martin2326-Nov-06 5:13 
GeneralRe: slowing down the process Pin
Argus226-Nov-06 13:34
Argus226-Nov-06 13:34 
Questionusing windows service to copy file through network(LAN) Pin
ctlqt1225-Nov-06 11:42
ctlqt1225-Nov-06 11:42 
AnswerRe: using windows service to copy file through network(LAN) Pin
KevinMac25-Nov-06 19:07
KevinMac25-Nov-06 19:07 
GeneralRe: using windows service to copy file through network(LAN) [modified] Pin
ctlqt1226-Nov-06 3:31
ctlqt1226-Nov-06 3:31 
GeneralRe: using windows service to copy file through network(LAN) Pin
Weckmann27-Nov-06 4:11
Weckmann27-Nov-06 4:11 
Questionctrl.BackgroundImage vs. clientRectangle in paint event... Pin
new_phoenix25-Nov-06 10:35
new_phoenix25-Nov-06 10:35 
Questionmulti threading Pin
sorayya_sk25-Nov-06 9:56
sorayya_sk25-Nov-06 9:56 

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.