Enclosed is the source code for the component called VBTCP.dll. However, there is one problem. The problem is when using it with another component ([url removed, login to view]) and the security key variable is long, then it crashes (in the case where it unloads the form in the dataarrival event). The samples to show this are these:
1. client (this one crashes)
2. client2 (this one does not crash since it closes out of the form with the command button)
3. client3 (this one works because the securitykey was short).
The [url removed, login to view] was completed with C++. The [url removed, login to view] was done with VB. All the components has to be installed except for the oldtcp.dll. That one is used to illustrate the problem.
The only difference between client1 and 3 was the length of the security key. That needs to be fixed. I included the source code for the [url removed, login to view] incase that is needed. Somehow there is a conflict because if the [url removed, login to view] is installed, it works fine (before some enhancements that was made). Let me know if you have any other questions.
The compiled dll and the source code for the dll completed.
Windows XP Home Edition, Windows 2000