|
-
Jun 8th, 2006, 12:15 AM
#1
Thread Starter
Lively Member
[2005] ObjectDisposedException
Compact Framework 2.0
VB Code:
If clientSocket.Available <> 0 Then
available = clientSocket.Available (A)
ReDim buf(available - 1)
clientSocket.Receive(buf, available, SocketFlags.None)
response.Append(Encoding.ASCII.GetString(buf, 0, buf.Length))
End If
I got an error for this (A), the error message is:
An ObjectDisposedException exception is thrown when an operation is attempted on a disposed object, such as a closed stream or registry key.
The help URL is: http://msdn2.microsoft.com/en-us/li....80,d=ide).aspx
How can i solve this ?
I am running this on Pocket PC 2003 Emulator
But when i run this on Pocket PC 2002 X86 Emulator, this is fine, back then iw as running VS 2003.
Thank you.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|