Results 1 to 6 of 6

Thread: need some advice..

Threaded View

  1. #1

    Thread Starter
    Member
    Join Date
    Jun 2005
    Location
    Singapore
    Posts
    55

    Resolved need some advice..

    got problem with my code,i am trying to send my text to my java sever but a error message come out : An unhandled exception of type 'System.InvalidOperationException' occurred in system.dll. i try alot of method but still i encounter a problem...

    Dim msg As String = Txtinput.Text
    Dim netStream As NetworkStream = client.GetStream() <---- this line got problem
    Dim encoder As ASCIIEncoding
    Dim buffArray() As Byte = encoder.GetBytes(msg)
    netStream.Write(buffArray, 0, buffArray.Length)
    Last edited by longdexin; Jul 19th, 2005 at 09:49 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width