RegFree COM / Using OCX Files with SxS Technology in VB6

This blog post serve’s as Chilkat’s bookmark/reminder to this tutorial: http://www.vbforums.com/showthread.php?852949-VB6-Tutorial-Using-OCX-Files-with-SxS-Technology It shows how to use the Chilkat ActiveX DLL with a VB6 application in such a way that the DLL can be located (side-by-side) with the .exe and no Windows registration is necessary. It requires a manifest XML file, …

GMail SMTP

Question: I am trying to send email via GMail using the SMTP protocol.  I am sending the correct GMail login credentials, but I get this error: … smtpAuthenticate: login_method: LOGIN auth_login: smtpSendGet2: sendCmdToSmtp: SmtpCmdSent: AUTH LOGIN –sendCmdToSmtp readSmtpResponse: SmtpCmdResp: 334 VXNlcm5hbWU6 –readSmtpResponse –smtpSendGet2 sendCmdToSmtp: SmtpCmdSent: *** –sendCmdToSmtp readSmtpResponse: SmtpCmdResp: 334 …

Install 32-bit ActiveX and Verify Install

This post shows how to install the 32-bit Chilkat ActiveX using the 32-bit MSI installer here:   https://www.chilkatsoft.com/downloads_ActiveX.asp Step 1. Download and run the MSI installer. Step 2. In Windows Explorer, navigate to C:\Program Files (x86)\Chilkat Software, Inc\Chilkat 32-bit ActiveX Double-click on CheckChilkatActiveX.exe  You should see the following dialog: Step 3. Choose an …

Visual Foxpro IDE crashes when using asynchronous socket methods

Question: When using asynchronous socket methods, VFP crashes. Try running the code from the example under VFP https://www.example-code.com/foxpro/socket_async.asp What else do I need to configure? Answer: The older IDE’s such as VB6 and FoxPro don’t take kindly to background threads.  The solution is to clean up the threads at the …

SocketError: WSANO_DATA The requested name is valid, but no data of the requested type was found.

Question: I get the following error in the LastErrorText for domain “something.com”. … connectSocket: connect_ipv6_or_ipv4: resolveHostname6: getAddressInfo: Failed to get host address info. (3) SocketError: WSANO_DATA The requested name is valid, but no data of the requested type was found. WSANO_DATA typically indicates a problem with DNS — possibly a …

SOAP UI WSDL to Chilkat Code

We have the WSDL URL (or XML file) for a SOAP service we wish to call, and we want to know how to code it using Chilkat.. Step 1. Download and install SoapUI Open Source from here:   https://www.soapui.org/downloads/soapui.html Step 2. Start SoapUI and create a New SOAP Project.  We’ll name …