City Facilities Management
Save to folder
I have a 3rd party class that I am using to fax documents out of Visual Foxpro 5.0. The controls in the class are writen for C++, Delphi and Visual Basic. I can use the classes fine on my NT machine, but when I run it on my Win95 machine, I get a timeout error. The company who wrote the fax class states: "Timeout errors may indicate that your program is not allowing Fax Plus enough time to run, due to too much processing without using DoEvents on occasion." I have not used Foxpro's DoEvent command, and I'm not sure if it is the same as VB's DoEvents. So what I did was place "_VFP.AutoYield = .F." in my startup program. In a loop that forces the program to wait for the faxing to be completed, I placed "DOEVENT", as the product's VB sample shows. When I run the program it just freezes. Is there anyone out there who is familiar with VB who could tell how to permit the contrl enough time to run?