AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
The Tek-Tips staff will check this out and take appropriate action.Then I have to feed a foxpro data base with that information.
Im using visual foxpro 6.0. How to enable the com1 port from visual foxpro. Often I have seen, the card readers in the form swipe units, send the read data as a keyboard input. If that is the case, all you have to do i to read the keyboard buffer for the value. Example. If the system. So you can read dta with INKEY() function or LASTKEY() funtion. If the swipe card contains a speciic key value as the first character, you can trigger the interactive event. Hope the idea helps you ramani (Subramanian.G),FoxAcc, ramanigyahoo.com. If MSCOMM32 doesnt provide you with enough control, youll need to find another 3rd party control to handle the serial communication. Remember that in the Windows environment, it controls the IO ports - you cant do it directly - especially in WinNT, Win2000 and XP. Rick. 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. The MSCOMM32 is well documented at the Microsoft sites (check for Ricks links). Even though the examples are written in Visual Basic, theye are well understood and can easily be translated into VFP. Visual Foxpro Serial Communication Arduino Software In CaseHowever you could take Ricks advise and get a third-party software in case MSCOMM32 does not work. How can you include the MSCOMM32 in your project Open a form, say, MAIN. Choose Tools, Options, Controls, Active X Controls, then check Microsoft Communications Control. Choose Accept. Now in the See Classes (I have the spanish version of VFP, so Im translating as well as I can) button, choose Active X Controls. Just type serial port in google.com or whatever your search engine is. You could also go directly to They have pictures and diagrams an explanations for it. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.
0 Comments
Read More
Leave a Reply. |