Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Get Default Printer
Message
From
27/01/2000 12:20:26
 
 
To
26/01/2000 22:39:47
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00323190
Message ID:
00323649
Views:
22
I'm trying to call external programs from a VFP Form. You can throw out any other ideas if you wish.

I've inherited an old Clipper system, that I just don't have the time to rewrite. It is currently running on an old Novell network that is about to die a quick death. My boss wants it ported over to our NT network asap, so we don't have to worry about the Novell system crashing.

There's maybe 20-25 individual Clipper programs that are run thru one of those old DOS Menu programs like Direct Access. The menu program calls batch files that typically remap drives, which is no problem with WSH, and run the Capture command to setup printers. Mimicking the Capture command is where I'm having problems right now.

PF

>
>?SET("PRINTER", 2)
>
>and SET PRINTER?
>
>This does not change the Windows default printer, but it does direct VFP output towards the printer specified, which is maybe all you need.

(On an infant's shirt): Already smarter than Bush
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform