Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Type to Printer... crashes
Message
From
09/08/2004 18:46:00
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Type to Printer... crashes
Miscellaneous
Thread ID:
00931903
Message ID:
00931903
Views:
61
Hello everybody.

i have different logs in my app which users can display and print. they are normal asci text files. through a command button i issue the following comands:
LOCAL ;
	OldConsole, ;
	SetHeading, ;
	FileName

OldConsole = SET('console')
SetHeading = SET('HEADINGS')
SET CONSOLE OFF
SET HEADING OFF

FileName = THIS.PARENT.DisplayFile

TYPE (FileName) AUTO WRAP TO PRINTER PROMPT

SET CONSOLE &OldConsole
SET HEADING &SetHeading
if the user chooses to select a printer and prints everything is ok, but if the user cancels on the printer selection, vfp crashes with a C0000005 error.

This is in vfp6 sp5 winxp and a bunch of network printers.

anyone has an idea if this is a bug or any workaround?

thanks for all your help in advance!
Next
Reply
Map
View

Click here to load this message in the networking platform