Link to home
Start Free TrialLog in
Avatar of loverbear84
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(ByVal sender As Object, ByVal e As AxMSWinsockLib.DMSWinsockControlEvents_ConnectionRequestEvent) Handles wsSend.ConnectionRequest
        If wsSend.State <> MSWinsockLib.StateConstants.sckClosed Then
            wsSend.Close()
        End If

        wsSend.Accept(e.requestID)

        If wsSend.State = MSWinsockLib.StateConstants.sckConnected Then
            Call WsSendConnected()
        End If
    End Sub


thank you!
ASKER CERTIFIED SOLUTION
Avatar of eozz_2000
eozz_2000

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of loverbear84
loverbear84

ASKER

thank for ur immediate response
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

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 :)