Click here to Skip to main content
16,005,038 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: class problem Pin
Tom John21-Dec-04 4:19
Tom John21-Dec-04 4:19 
GeneralRe: class problem Pin
Fu Manchu21-Dec-04 22:52
Fu Manchu21-Dec-04 22:52 
QuestionHow to make cmdbuttons reacting on different PC? Pin
HuDcHeI21-Dec-04 2:04
sussHuDcHeI21-Dec-04 2:04 
QuestionHow to make cmdbuttons reacting on different PC? Pin
Anonymous21-Dec-04 2:04
Anonymous21-Dec-04 2:04 
AnswerRe: How to make cmdbuttons reacting on different PC? Pin
Dave Kreskowiak21-Dec-04 3:04
mveDave Kreskowiak21-Dec-04 3:04 
GeneralRe: How to make cmdbuttons reacting on different PC? Pin
HuDcHeIs22-Dec-04 5:08
sussHuDcHeIs22-Dec-04 5:08 
GeneralRe: How to make cmdbuttons reacting on different PC? Pin
Dave Kreskowiak22-Dec-04 11:57
mveDave Kreskowiak22-Dec-04 11:57 
GeneralFTP Pin
nitin_ion20-Dec-04 23:19
nitin_ion20-Dec-04 23:19 
I am building a simple FTP client with download feature. How can i authenticate myself after providing parameters on the FTP server. This the Log In code but the problem is that it is not authenticating me.

Public Function LogIn() As Boolean
m_objClientSocket = New Socket(AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.Tcp)

Dim Ep As IPEndPoint = New IPEndPoint(Dns.Resolve(m_strRemoteHost).AddressList(0), m_intRemotePort)

Try
m_objClientSocket.Connect(Ep)
Catch ex As Exception
MessageString = m_strReply
Throw New IOException("Cannot connect to the Remote Server")
End Try
ReadReply()
If (m_intRetValue <> 220) Then
CloseConnection()
MessageString = m_strReply
Throw New IOException(m_strReply.Substring(4))
End If

SendCommand("USER " & m_strRemoteUser)
If (Not (m_intRetValue = 331 Or m_intRetValue = 202)) Then
CleanUp()
MessageString = m_strReply
Throw New IOException(m_strReply.Substring(4))
End If

If (m_intRetValue <> 230) Then
SendCommand("PASS " & m_strRemoteUser)
If (Not (m_intRetValue = 230 Or m_intRetValue = 202)) Then
CleanUp()
MessageString = m_strReply
Throw New IOException(m_strReply.Substring(4))
End If
End If

m_blnLoggedIn = True

ChangeDirectory(m_strRemotePath)
Return m_blnLoggedIn
End Function
Generaldataset to xmlfile Pin
Makniteasy20-Dec-04 19:57
Makniteasy20-Dec-04 19:57 
GeneralRe: dataset to xmlfile Pin
Tom John20-Dec-04 22:04
Tom John20-Dec-04 22:04 
GeneralDLL HELP Pin
Member 158672020-Dec-04 15:58
Member 158672020-Dec-04 15:58 
GeneralRe: DLL HELP Pin
Dave Kreskowiak21-Dec-04 1:11
mveDave Kreskowiak21-Dec-04 1:11 
GeneralDatagrid Pin
abo el ror20-Dec-04 15:01
abo el ror20-Dec-04 15:01 
GeneralRe: Datagrid Pin
Jay Shankar20-Dec-04 16:38
Jay Shankar20-Dec-04 16:38 
GeneralRe: Datagrid Pin
ScottSingleton21-Dec-04 8:10
ScottSingleton21-Dec-04 8:10 
GeneralVB6 Simple Question I think Pin
dougstratton20-Dec-04 10:56
dougstratton20-Dec-04 10:56 
GeneralRe: VB6 Simple Question I think Pin
Dave Kreskowiak21-Dec-04 1:06
mveDave Kreskowiak21-Dec-04 1:06 
GeneralRe: VB6 Simple Question I think Pin
dougstratton21-Dec-04 5:27
dougstratton21-Dec-04 5:27 
GeneralRe: VB6 Simple Question I think Pin
dougstratton21-Dec-04 5:37
dougstratton21-Dec-04 5:37 
GeneralRe: VB6 Simple Question I think Pin
Dave Kreskowiak21-Dec-04 6:33
mveDave Kreskowiak21-Dec-04 6:33 
GeneralRe: VB6 Simple Question I think Pin
Dave Kreskowiak21-Dec-04 6:28
mveDave Kreskowiak21-Dec-04 6:28 
GeneralRe: VB6 Simple Question I think Pin
m_hussein4-Jan-05 21:06
m_hussein4-Jan-05 21:06 
GeneralRe: how to treat events async.? Pin
carlos_rocha20-Dec-04 6:50
carlos_rocha20-Dec-04 6:50 
GeneralRe: how to treat events async.? Pin
Nicholas Cardi20-Dec-04 7:16
Nicholas Cardi20-Dec-04 7:16 
GeneralRe: how to treat events async.? Pin
carlos_rocha20-Dec-04 7:29
carlos_rocha20-Dec-04 7:29 

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.