Client wants to start accepting credit card transactions directly from an existing VFP application.
I find many options for web-site applications, but nothing from a VFP program.
Users now have access to the web from within the application using shell execute command.
Any ideas?
Thanks for the quick reply. Sounds like I should specify that they purchase a drawer that behaves like a printer. Any specific recommendations for type. Whatever would be easiest to implement.
I assume that the foxpro code would be:
SET PRINTER TO XXX
SET PRINT ON
? CHR(???)
SET PRINT OFF...
A client has asked that we open a cash drawer from an existing application. (Nothing fancy.)
I assume that we will need to send some kind of control character sequence (provided by the vendor) to it like we used to do in the old days with printers. How is that done from VFP 6 these days...
What about using the old "FILER" application that was in older versions of foxpro.
It still works perfectly with VFP 6. Will allow you to find all the files and either do a global replace within each or make specific changes. Note you can only edit .prg files, but it will give you accurate...
For every system we maintain a permanent, stand alone program (.PRG or several linked .PRGs) to rebuild indexes for all tables used within the system. The underlying philosophy is that if one index is corrupt, there may be others that haven't shown up yet, so we refresh all the tables, all at...
If you use the ADIR() option, an easy way to skip the files that are in use as you loop through the array is
FOR ....
ON ERROR OK = .F.
DELETE FILE (XXX)
ENDFOR
WHERE .... IS YOUR LOGIC TO LOOP THROUGH THE ARRAY AND XXX IS THE FILE NAME TO DELETE
THEN RESET YOUR ON ERROR TO WHATEVER...
This has come up several times and we have never found a good solution.
This question is for MIKE GAGNON
Mike said:
-------------------------------------------------
"R17
Another solution might be (if you have a server, or a partition on a hard-disk), to put the tables in a section of the...
This doesn't really solve all of your problem, but it is more information for you:
The Print Preview Toolbar is just not in your window.
Using the following code (substituting your variables etc.) gives a functional toolbar.
DEFINE WINDOW wPreview AT 10,10 SIZE 20,40 IN DESKTOP FLOAT...
Most of us do not have the luxury of throwing everything we know away and starting over, which is what jumping directly into OOP requires.
Our approach was to start slowly. If an application was well designed in the 2.6 world, we moved it up to VFP by simply converting those things that...
Keeping the files in their native format and pointing to them will give you the ability to access them now with your current FoxPro system, but it also gives you the flexibility to access them in the future with other applications and products. Who knows what the best product for the job will...
I frequently use the ".IDX" method above for creating temporary indexes. I make the IDX file name unique for each user. When you are done with the IDX, be sure to have a housekeeping routine to delete the IDX file.
If you need to sum a group of records in the middle of a large file, changing to FOR rather than WHILE will cause a performance problem.
How about saving the starting record number in a variable before you do the sum, and the GOTO the saved record after the sum?
You can create a custom paper size in win2000 by hi-lighting the appropriate printer, right click and select server options from the drop down menu.
Define a new paper required size just as you did in the old days with custom size.
I usually use a generic, text only printer for tractor...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.