Visual foxpro serial communication port

broken image
broken image

Now in the See Classes (I have the spanish version of VFP, so I'm translating as well as I can) button, choose Active X Controls. How can you include the MSCOMM32 in your project?Ĭhoose Tools, Options, Controls, Active X Controls, then check Microsoft Communications Control. However you could take Rick's advise and get a third-party software in case MSCOMM32 does not work. Even though the examples are written in Visual Basic, theye are well understood and can easily be translated into VFP. The MSCOMM32 is well documented at the Microsoft sites (check for Rick's links). The device was custom made by an electronics egineer, but since the engineer had no knowledge at all of programming technics, all he had to do was to tell me what pins he was going to turn on or off and in what events.

broken image
broken image

Only as an example of the funcionality of the MSCOMM32.OCX:ġ) I created a program to read data from a Panasonic Telephone Plant (A PBX), which uses standard data streams that can also be read using Hyperterminal.Ģ) I created a program to control a security device in a CAT system (yes, a tomography).

broken image

I think one can manage most RS-232 functions using MSCOMM32.