About 15 years ago, I picked up the two "Official" books on the subject published by Adobe. I think they are now called the "Red" and "Green" books.
A lot of the focus was on the more advanced functionality such as vector graphics, bitmaps and scaling.
After exploring the basics I came to the...
Here's a snippet of FoxPro code that I used in the actual detail section in the billing program.
SELECT detail
up = 432
SCAN WHILE na_id = id2run
? psshow( col2, up, detail.Ptype)
? psshow( col3, up, Camp)
? psshow( Col4, up, STR(detail.pl_amount,10), "RIGHT" )
? psshow( Col5...
Here's a short example of the basic, most essential syntax.
One thing to note, line breaks are ignored, so technically this script could be split up or joined into one long line.
/Helvetica-Oblique findfont 10 scalefont setfont
72 720 moveto (This sentence is 1 inch from the left, 10 from...
For the record, because of the complexity of the report, the solution I used was an old-school technique that many modern programmers would never relate to.
What I did was pretty simple, I wrote the entire thing directly in PostScript using ? and an alternate file.
I simply SET ALTERNATE to my...
I have considered that, but the issue that's unclear to me is bringing them together. The client needs to submit the report to a printing company that will print, sort and mail the invoice, so the final product needs to be a single PS or PDF file.
If I run the two reports independently, is...
I have a request from a client for printing two sided invoices, which I have never tried before, and I can't seem to find anything written on the subject.
The basic idea is that side one has just the name and address and some other client information, and the second side has details of the...
Unfortunately, the only PC in my office with Vista does not have a parallel port, so I can't test that configuration.
I tried a direct connection to a USB printer (without a USB/Parallel adapter), that didn't work either.
This morning I also tried to change the security settings of the printer...
For clarification, FoxPro 2.6 for DOS can't communicate with anything directly. It lacks any support for OLE, ODBC or DDE.
FoxPro 2.6 for Windows does add some OLE access... but it's not well suited for any serious SQL connectivity. If the application you are working with needs that...
Yes. I have a two hard drives in the same system. I have never had a problem with printing in XP.
Here are the facts:
1. I set up a standard share for the USB printer.
2. From a command prompt I issue the following without errors:
NET USE LPT1 \\Computername\Printername
3. To confirm...
I still have a handful of clients who 2.6 Dos applications, so I decided to test them under Vista in order to be prepared for compatibility questions.
What I found was that in my particular setup, which is a USB printer redirected to LPT1 via a NET USE does not work. I get a printer not ready...
So far my experience has been great... other than trouble printing in FoxPro 2.6 for DOS.
As a rule of thumb VFP6 apps will run, but because it is unaware of some XP and Vista features it will never be officially considered compatible by Microsoft.
Specifically, older VFP versions will not...
Thanks Andy,
I've experimented, but I can't get past the first line:
oTest = CREATEOBJECT("MSWinSock.WinSock")
Once I create the object, I can't seem to find any properties or methods to support UDP Multicasting. Specifically, I need to join a group, but there is so little written on the...
For anyone in the future looking to do the same, here's my final solution. I was unable to find a way to call the native libraries myself, and I gave up on trying to encapsulate the C++ solution I described in my last post, so I looked for a third-party library.
I ended up finding a WinSock...
Here's a C/C++ version... most of it is contained in just a dozen or so lines of code, it's driving me crazy that I can't figure out how to get FoxPro to do the same.
#include "winsock2.h"
#include <windows.h>
#include <stdio.h>
#include <stdlib.h>
#include <conio.h>
//#include "multicast.h"...
Based upon some stuff I found on Tek-Tips, I started a project that will involve reading some information from a multicast UDP feed.
The problem is I can't seem to get started on the right foot because there is so little information out there about doing any UDP/TCP/Socket networking out there...
Most of the time, I'm searching for files in multiple projects and directories for keywords or variable name. My search program uses an Explorer output interface.
With VS6, if the search would result in a dozen files, scattered among a handful of directories, I could open all of them one by...
I have been having trouble with a new installation of Visual Studio 2003.
Whenever I click on multiple ASP files from Explorer, it launches another instance in a new window, rather than just opening it in the existing window.
I noticed that if I use the right mouse and select "Edit" rather...
I have been having trouble with a new installation of Visual Studio in that whenever I click on multiple ASP files from Explorer, it launches another instance in a new window, rather than just opening it in the existing window.
I noticed that if I use the right mouse and select "Edit" rather...
I saw the official Microsoft Error list too, but there doesn't seem to be any cause or solution information.
Yes, they are not all on the same OS, as far as I know the failing systems are XP systems and they all have VFP the same VFP8 SP1 runtime files.
The odd thing is all of them worked fine...
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.