loverbear84
asked on
Urgent Help Needed
Is there anyway to solve this error?
Error msg: 'State' is a type in 'AxMSWinsockLib.AxWinsock' and cannot be used as an expression.
Private Sub wsSend_ConnectionRequest(B yVal sender As Object, ByVal e As AxMSWinsockLib.DMSWinsockC ontrolEven ts_Connect ionRequest Event) Handles wsSend.ConnectionRequest
If wsSend.State <> MSWinsockLib.StateConstant s.sckClose d Then
wsSend.Close()
End If
wsSend.Accept(e.requestID)
If wsSend.State = MSWinsockLib.StateConstant s.sckConne cted Then
Call WsSendConnected()
End If
End Sub
thank you!
Error msg: 'State' is a type in 'AxMSWinsockLib.AxWinsock'
Private Sub wsSend_ConnectionRequest(B
If wsSend.State <> MSWinsockLib.StateConstant
wsSend.Close()
End If
wsSend.Accept(e.requestID)
If wsSend.State = MSWinsockLib.StateConstant
Call WsSendConnected()
End If
End Sub
thank you!
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Well, is important to know that is an only question per discussion if not be at that way... all of us would do a lot of questions and don't giving any points...
sorry if this upset you but... the people like to receive points for their good answers :)
ASKER
the code work.
Do you have the code on how to send and recieve file from pda to pc and vice versa though gsm/gprs but not web based type. Do you have any example cos really need it urgently, i will increase the point if gd solution is given
thank alot