Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by David Higgs

  1. David Higgs

    VFP 'unresponsive' for 60 secs when closing MSCOMMLib.MSComm

    Chriss, I hope you didn’t think I was being dismissive of your help trying to solve the issues I’m having with my application? Being a ‘Novice’ VFP programmer I very much appreciate the help I receive from you (and others) on this forum. I felt that we had investigated the issue as far as we...
  2. David Higgs

    VFP 'unresponsive' for 60 secs when closing MSCOMMLib.MSComm

    I thought it might be something to do with the order of my code. I made the alterations to the code as you suggested and the app worked as expected. I was able to change the Transceiver Frequency, able to exit the application and return to the VFP IDE without witnessing any ‘unresponsiveness’...
  3. David Higgs

    VFP 'unresponsive' for 60 secs when closing MSCOMMLib.MSComm

    Chris, I understand your concept of using a ‘lone’ Form for the ‘Comms Object’, it is the implementation of it that I may struggle with, so please accept my apologies before hand if that should be the case. I have the following code in MyComm.prg PUBLIC oComm DO FORM forms\comms_test...
  4. David Higgs

    VFP 'unresponsive' for 60 secs when closing MSCOMMLib.MSComm

    I created a TEST.PRG with the following code: _SCREEN.AddObject("oComm","olecontrol","MSCommLib.MSComm.1") An error message says: Object Class is Invalid for this container.
  5. David Higgs

    VFP 'unresponsive' for 60 secs when closing MSCOMMLib.MSComm

    Hi Tom, Thank you for your reply. My App works ok with the Virtual Port COM 10 with the exception of closing the comm port. I will try using a lower port number and see if that helps.
  6. David Higgs

    VFP 'unresponsive' for 60 secs when closing MSCOMMLib.MSComm

    There lies another problem! When I drag the MsCommLib.MsComm object and drop it on the screen, it disappears off the form but doesn't show on the screen. I have removed SCREEN = OFF from config.fpw but still the same.
  7. David Higgs

    VFP 'unresponsive' for 60 secs when closing MSCOMMLib.MSComm

    Yes, I did and still had the delay. I'm still thinking on the lines that the issue is something to do with Virtual Port sharing. If I use the same Form and Comms setup on Serial Port COM3 there isn't a problem but as soon as I change to Virtual Serial Port COM 10 and use Virtual Port sharing...
  8. David Higgs

    VFP 'unresponsive' for 60 secs when closing MSCOMMLib.MSComm

    No, the COM Ports (COM10,COM11) are still showing after VFP Closes. No, I don't think so. I placed the OCX control on the Form with minimal changes. I've just carried a further some further tests using the test form. I now have 4 Command Buttons. * Button 1 - check status of Com Port...
  9. David Higgs

    VFP 'unresponsive' for 60 secs when closing MSCOMMLib.MSComm

    I designed a basic form, added an OCX control and a Command Button to close the form. The only thing I changed was the Comm Port to COM 10. I then ran the form and closed it using the Command Button; the Form closed instantaneously. I then ran the form with the Comm Port Open and on closing...
  10. David Higgs

    VFP 'unresponsive' for 60 secs when closing MSCOMMLib.MSComm

    That's correct. There is no code (Default) in the Destroy Event I created the Test App to have the bare minimum of Code and Code alterations, but I will do the object counts. I will also carry out some more tests as you suggest. I will also pay more attention to the 'intellisense information'...
  11. David Higgs

    VFP 'unresponsive' for 60 secs when closing MSCOMMLib.MSComm

    Chris, Thank you for your reply; I was nearly there, I'd missed the quotes around Transceiver. When I ran your code it took 60.025 secs to complete. It's a strange problem because My App runs ok when using a standard Serial Comms Port, the issue only occurs when using a Virtual Serial Port...
  12. David Higgs

    VFP 'unresponsive' for 60 secs when closing MSCOMMLib.MSComm

    Hi Greg, Having looked at the Properties of VSPE.SCX (see previous post) I'm not sure how to implement RemoveObject() on the ActiveX (ole control) named Transceiver in my case. It's probably me being a bit thick!
  13. David Higgs

    VFP 'unresponsive' for 60 secs when closing MSCOMMLib.MSComm

    Hi Greg, Thank you for your reply; I'll take a look at your suggestion.
  14. David Higgs

    VFP 'unresponsive' for 60 secs when closing MSCOMMLib.MSComm

    My VFP application connects to my Amateur Radio Transceiver (via Serial COM Port 3) for CAT Control. CAT Control is a generic term used to describe how a PC can control the frequency and various other settings of a transceiver. The CAT commands are bi-directional. My application has run for a...
  15. David Higgs

    Arduino or other board with Microsoft Foxpro

    I use VFP for my Amateur Radio application (Logbook Database and Radio Transceiver Control using MSComm) and I am in the process of building an Arduino Application that will also send commands to the Radio Transceiver via the VFP Application (to avoid a COM Port conflict).

Part and Inventory Search

Back
Top