I work with an app that some of our users access thru our Citrix farm. There are more and more crashes being reported during printing, returning the users to the Citrix menu. Tech support was able to find a data set that caused the crash consistently.
I spent an hour or so debugging tonite and it appears to be our printer setup routine. This routine takes the printer stored as the users default printer and compares it to the list of available printers to see if it's a valid printer. The list of available printers is gathered thru "Aprinters(myarray)".
The "Aprinters..." line is causing the crash in this particular dataset. I would hazard a guess, it might be responsible for the other intermittent crashes also.
Can anyone recommend a safer way to get the list of printers. The app is currently on VFP5. But soon to be in 8.
PF
(On an infant's shirt): Already smarter than Bush