Click here to Skip to main content
15,897,704 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionEASY SIMPLE, Never done keypress, help.... Pin
Joey Picerno20-Aug-07 9:15
Joey Picerno20-Aug-07 9:15 
AnswerRe: EASY SIMPLE, Never done keypress, help.... Pin
nlarson1120-Aug-07 16:55
nlarson1120-Aug-07 16:55 
GeneralRe: EASY SIMPLE, Never done keypress, help.... Pin
Joey Picerno21-Aug-07 3:02
Joey Picerno21-Aug-07 3:02 
QuestionEncryption Pin
Dominick Marciano20-Aug-07 7:15
professionalDominick Marciano20-Aug-07 7:15 
AnswerRe: Encryption Pin
Mark Churchill20-Aug-07 21:39
Mark Churchill20-Aug-07 21:39 
QuestionHow to avoid html tag in body of mail while saving to db. [modified] Pin
rahul.net1120-Aug-07 5:12
rahul.net1120-Aug-07 5:12 
AnswerRe: How to avoid html tag in body of mail while saving to db. Pin
nlarson1120-Aug-07 17:00
nlarson1120-Aug-07 17:00 
Questionhelp Pin
padbindu20-Aug-07 4:06
padbindu20-Aug-07 4:06 
i tried to use the winformclient project at this location
http://www.codeproject.com/dotnet/FTPWinFormClient.asp


& i used the code in vb.net 2003 but i get the below error

'System.Collections.Specialized.StringCollection' cannot be converted to 'Indy.Sockets.TIdStringsFCL'.


in
drawDirectoryContents() at

lFtp.List(ls, src, True)

where ls is a string collection object
i used CType to convert ls into 'Indy.Sockets.TIdStringsFCL
even then i get the same error.
Can anyone help me with this .Below is the code

Private Sub drawDirectoryContents()
statusBar1.Text = "Listing directory contents .."
lstDirectory.Items.Clear()
Dim ls As System.Collections.Specialized.StringCollection = New System.Collections.Specialized.StringCollection

Try


lFtp.List(ls, src, True) 'getting error at this line


Catch ex As Exception

statusBar1.Text = ex.Message
Return
End Try
Dim obj1 As Object
Dim file As String
For Each file In indychild
lstDirectory.Items.Add(obj1)
Next

For Each file In ls
lstDirectory.Items.Add(file)

Next


End Sub



AnswerRe: help Pin
Christian Graus20-Aug-07 12:17
protectorChristian Graus20-Aug-07 12:17 
QuestionHelp with aScheduling grid/Table Pin
Mr Oizo20-Aug-07 2:07
Mr Oizo20-Aug-07 2:07 
AnswerRe: Help with aScheduling grid/Table Pin
Johan Hakkesteegt31-Aug-07 3:01
Johan Hakkesteegt31-Aug-07 3:01 
QuestionHow to write to new line using streamwriter. Pin
rahul.net1120-Aug-07 1:49
rahul.net1120-Aug-07 1:49 
AnswerRe: How to write to new line using streamwriter. Pin
Rami Said Abd Alhalim20-Aug-07 2:21
Rami Said Abd Alhalim20-Aug-07 2:21 
GeneralRe: How to write to new line using streamwriter. Pin
Rami Said Abd Alhalim20-Aug-07 2:25
Rami Said Abd Alhalim20-Aug-07 2:25 
GeneralRe: How to write to new line using streamwriter. Pin
rahul.net1120-Aug-07 4:32
rahul.net1120-Aug-07 4:32 
AnswerRe: How to write to new line using streamwriter. Pin
Rupesh Kumar Swami20-Aug-07 2:28
Rupesh Kumar Swami20-Aug-07 2:28 
GeneralRe: How to write to new line using streamwriter. Pin
rahul.net1120-Aug-07 4:31
rahul.net1120-Aug-07 4:31 
AnswerRe: How to write to new line using streamwriter. Pin
Luc Pattyn20-Aug-07 2:33
sitebuilderLuc Pattyn20-Aug-07 2:33 
GeneralRe: How to write to new line using streamwriter. Pin
rahul.net1120-Aug-07 4:30
rahul.net1120-Aug-07 4:30 
AnswerRe: How to write to new line using streamwriter. Pin
Csharp™20-Aug-07 20:22
Csharp™20-Aug-07 20:22 
AnswerRe: Help me to create SYNTAX TREE according to our own created grammar Pin
Dave Kreskowiak20-Aug-07 2:16
mveDave Kreskowiak20-Aug-07 2:16 
QuestionPrint Report Without preview in Microsoft Reporting Service Pin
Rupesh Kumar Swami19-Aug-07 23:54
Rupesh Kumar Swami19-Aug-07 23:54 
Questionany one help for sum(fld,condfld) function in crystal report Pin
Senthil S19-Aug-07 23:44
Senthil S19-Aug-07 23:44 
AnswerRe: any one help for sum(fld,condfld) function in crystal report Pin
Christian Graus19-Aug-07 23:52
protectorChristian Graus19-Aug-07 23:52 
AnswerRe: any one help for sum(fld,condfld) function in crystal report Pin
ChandraRam20-Aug-07 0:10
ChandraRam20-Aug-07 0:10 

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.