Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Type to Printer... crashes
Message
De
09/08/2004 18:46:00
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Type to Printer... crashes
Divers
Thread ID:
00931903
Message ID:
00931903
Vues:
60
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!
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform