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 …

ActiveX Events in FoxPro

ActiveX components and controls are used in many programming languages, each of which has it’s own way of handling event callbacks.  This blog post provides helpful hints about how to receive event callbacks from an ActiveX component. To receive the event, you must bind the ActiveX (also referred to as …

FTP2 Events for FoxPro

The Chilkat FTP2 ActiveX has events for progress monitoring. The events may also be used to abort an FTP upload/download, or to skip files and/or directories. These are the events in Visual FoxPro terms: PROCEDURE _IChilkatFtp2Events_PutProgress(percentDone AS Number) AS VOID; PROCEDURE _IChilkatFtp2Events_GetProgress(percentDone AS Number) AS VOID; PROCEDURE _IChilkatFtp2Events_AbortCheck(abortFlag AS Number) …