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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. CouponPages

    Two sided / Two different page reports

    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...
  2. CouponPages

    Two sided / Two different page reports

    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...
  3. CouponPages

    Two sided / Two different page reports

    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...
  4. CouponPages

    Two sided / Two different page reports

    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...
  5. CouponPages

    Two sided / Two different page reports

    Thanks Dave... I didn't think of making the second detail conditional. It sounds reasonable... I'll tinker with that.
  6. CouponPages

    Two sided / Two different page reports

    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...
  7. CouponPages

    Two sided / Two different page reports

    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...
  8. CouponPages

    Unable to print using FP Dos under Vista

    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...
  9. CouponPages

    FoxPro 2.6 Fundamental Question

    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...
  10. CouponPages

    Unable to print using FP Dos under Vista

    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...
  11. CouponPages

    Unable to print using FP Dos under Vista

    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...
  12. CouponPages

    Speaking of Vista... first request 'does it run on Vista'

    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...
  13. CouponPages

    UDP Multicast Listener ... setting ports and groups?

    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...
  14. CouponPages

    UDP Multicast Listener ... setting ports and groups?

    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...
  15. CouponPages

    UDP Multicast Listener ... setting ports and groups?

    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"...
  16. CouponPages

    UDP Multicast Listener ... setting ports and groups?

    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...
  17. CouponPages

    VS launches in new window / instance

    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...
  18. CouponPages

    VS launches in new window / instance

    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...
  19. CouponPages

    VS launches in new window / instance

    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...
  20. CouponPages

    This application has failed ...application configuration is incorrect

    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...

Part and Inventory Search

Back
Top