Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Telnet in VBA without dependencies

147 views
Skip to first unread message

The Frog

unread,
May 13, 2013, 5:39:08 AM5/13/13
to
Hi Everyone,

I am working on another wonderful chunk of code that strives to age me well before my time. In short what I am trying to do is to create a simple Telnet interface that can be run purely in VBA without reference to external code libraries or OCX.

To kick this off I am using (or rather trying to) CSocketMaster. This is a wrapper around the API calls needed for networking that aims to replicate the Winsock control. I am going to categorically state here and now that I HATE Winsock and the fact that it has a memory leak, has to sit on a form,....... and so on. Hence the attempt at using CSocketMaster.

In earlier versions of Access (97-2003) I have had success with CSocketMaster but in A2010 on WIn7 64 bit it is just killing me! Async resolution of hostnames to IP addresses causes a crash each and every time, and there are a few others as well. 64Bit OS is definitely a different beast.

I was wondering if anyone might have the time to take a look at it and see if they can get it to work or at least suffer the same problems I am finding. An alternative approach would also be most welcome. The goal is two-fold: 1/ replace the winsock control, 2/ Telnet.

CSocketMaster can be found here:
http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=52072&lngWId=1

Any help or suggestions greatly appreciated.

Cheers

The Frog
0 new messages