Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
On Error Problem
Message
 
À
01/05/2000 14:21:46
Calvin Smith
Wayne Reaves Computer Systems
Macon, Georgie, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00362515
Message ID:
00364947
Vues:
19
Calvin,
How is the EXE calling these PRGs? Are you setting up a new environment? Perhaps you could add an error line to the PRGs which returns the user to the EXE and its full error-handling environment. Another option might be to have a separate ERROR.EXE which the PRGs could call when they have a problem, passing in the required information. I'd try the second choice, because it's a lot easier to pass parameters INTO an EXE/PRG than to return them successfully.

HTH
Barbara

>Barbara,
>Here's the deal. My exe is calling a number (about 500) small compiled prg files that are actually FoxDOS reports converted into prg files. These are setup to print using the '?' command and to send control codes to the printer. The prg files are not in the project file in any way. The exe will call and execute the compiled prg file with no problem unless an error occurs while the prg file is executing. In that case, the exe cannot locate the error handling screen. If I put an on error line in the prg file then the error screen is located and brought up but then the error handling form itself cannot locate the classes I used for the objects on the form. What do I do ?
Barbara Paltiel, Paltiel Inc.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform