Problem solved!
It turns out the actual problem was that the identity column was a tinyint in SQL Server, but MS Access was showing it as a long. To cut a long story short this caused the SQLCommand output parameter to have a DBType of String rather than Byte, and this then caused the "the...
I have noticed this error appearing a lot on the web so I thought I would share my experience.
I am getting it from an SQLCommand and I suspect that it is related to an output parameter. In my case I suspect that it is because the data type for my parameter is not set properly, and the REASON...
In case anyone has interested I have confirmed that my intended approach was reasonable. Here are some brief comments that might help others:
Reading from sockets:- It appears an async read (BeginRead) is the way to do this, although the Microsoft documentation for EndRead has a horribly...
For anyone that is interested I have found some of the answers to my questions.
The 3.5 version of the EndRead documentation contains a user annotation that confirms the code sample is quite wrong.
Not only is the code using the local buffer before the buffer contains any data, but it wouldn't...
Thanks, I understand this but my questions specifically relate to the behaviour of BeginRead when there are multiple calls to BeginRead within the call back function.
Here is the Microsoft code sample that I am referring to:
Public Shared Sub myReadCallBack(ar As IAsyncResult)
Dim...
hi,
I am confused about the operation of the BeginRead and EndRead methods with respect to the way the buffer parameters in the BeginRead method are used.
Firstly, there appears to be a serious problem in the code sample for the EndRead method (appears in version 2 and in 3.5 possible all...
Hi,
I am converting an existing TCP server application that uses the winsock control from VB6 to vb.net. The application runs as a service and communicates with approximately 500 clients. Each client is connected for long periods and has occasional conversations with the server.
I have been...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.