Click here to Skip to main content
15,892,746 members
Home / Discussions / C#
   

C#

 
AnswerRe: I need help with how to make space between the lines of code Pin
Christian Graus16-Apr-09 19:46
protectorChristian Graus16-Apr-09 19:46 
GeneralRe: I need help with how to make space between the lines of code Pin
MumbleB16-Apr-09 20:01
MumbleB16-Apr-09 20:01 
AnswerRe: I need help with how to make space between the lines of code Pin
shashank70116-Apr-09 22:25
shashank70116-Apr-09 22:25 
QuestionSerialise Additional Members in a class inherited from collectionbase Pin
Big Star16-Apr-09 17:30
Big Star16-Apr-09 17:30 
AnswerRe: Serialise Additional Members in a class inherited from collectionbase Pin
Henry Minute17-Apr-09 1:45
Henry Minute17-Apr-09 1:45 
Questioni want execute my c# login exe without windows log in Pin
prakashamnkl16-Apr-09 17:14
prakashamnkl16-Apr-09 17:14 
AnswerRe: i want execute my c# login exe without windows log in Pin
Christian Graus16-Apr-09 17:19
protectorChristian Graus16-Apr-09 17:19 
Questionlist directories in Ftp Pin
Abdul Rahman Hamidy16-Apr-09 16:45
Abdul Rahman Hamidy16-Apr-09 16:45 
Dear All,
I am using following code to list directories and show them into to listview.
what happens is sometimes this code shows 1 directory, sometimes 2 directory and sometimes 3 directory while in fact i have 3 directories in ftp (why)?
ftpAddress=new UriBuilder("ftpAddress")
System.Net.FtpWebRequest ftpRequest=(FtpWebRequest)WebRequest.Create(ftpAddress.Uri);
ftpRequest.Credentials=new NetworkCredential("user","pass");
ftpRequest.Method=WebRequestMethods.Ftp.ListDirectory;
			
StreamReader read=new StreamReader(ftpRequest.GetResponse().GetResponseStream());
while (read.Peek()>-1)
{
ListViewItem item=new ListViewItem(read.ReadLine());
listView1.Items.Add(item);
}


Abdul Rahaman Hamidy
Database Developer
Kabul, Afghanistan

AnswerRe: list directories in Ftp Pin
Luc Pattyn16-Apr-09 17:02
sitebuilderLuc Pattyn16-Apr-09 17:02 
GeneralRe: list directories in Ftp Pin
Abdul Rahman Hamidy16-Apr-09 21:13
Abdul Rahman Hamidy16-Apr-09 21:13 
GeneralRe: list directories in Ftp Pin
Luc Pattyn17-Apr-09 1:49
sitebuilderLuc Pattyn17-Apr-09 1:49 
GeneralRe: list directories in Ftp Pin
Abdul Rahman Hamidy17-Apr-09 9:23
Abdul Rahman Hamidy17-Apr-09 9:23 
GeneralRe: list directories in Ftp Pin
Luc Pattyn17-Apr-09 9:30
sitebuilderLuc Pattyn17-Apr-09 9:30 
Questionshortcut key fired from a button Pin
khuram_younis16-Apr-09 15:18
khuram_younis16-Apr-09 15:18 
AnswerRe: shortcut key fired from a button Pin
_Maxxx_16-Apr-09 16:20
professional_Maxxx_16-Apr-09 16:20 
QuestionHow to copy some files from one folder to other with multithreading in visual C#? Pin
Hadi Basiri16-Apr-09 13:59
Hadi Basiri16-Apr-09 13:59 
AnswerRe: How to copy some files from one folder to other with multithreading in visual C#? Pin
fly90416-Apr-09 14:25
fly90416-Apr-09 14:25 
GeneralRe: How to copy some files from one folder to other with multithreading in visual C#? Pin
buachaill cliste16-Apr-09 14:40
buachaill cliste16-Apr-09 14:40 
Answerlazy lazy lazy lazy lazy Pin
Luc Pattyn16-Apr-09 14:30
sitebuilderLuc Pattyn16-Apr-09 14:30 
GeneralRe: lazy lazy lazy lazy lazy Pin
Christian Graus16-Apr-09 15:48
protectorChristian Graus16-Apr-09 15:48 
GeneralRe: lazy lazy lazy lazy lazy Pin
Luc Pattyn16-Apr-09 15:51
sitebuilderLuc Pattyn16-Apr-09 15:51 
GeneralRe: lazy lazy lazy lazy lazy Pin
Christian Graus16-Apr-09 15:55
protectorChristian Graus16-Apr-09 15:55 
GeneralRe: lazy lazy lazy lazy lazy Pin
_Maxxx_16-Apr-09 16:22
professional_Maxxx_16-Apr-09 16:22 
GeneralRe: lazy lazy lazy lazy lazy Pin
Luc Pattyn16-Apr-09 17:04
sitebuilderLuc Pattyn16-Apr-09 17:04 
AnswerRe: How to copy some files from one folder to other with multithreading in visual C#? Pin
Pete O'Hanlon16-Apr-09 22:37
mvePete O'Hanlon16-Apr-09 22:37 

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.