>Hi.
>I have an application written in Vfp7 sp1. When I try to run any report in a maximized window with
>
>REPORT FORM (lcSeleRepo) PREVIEW WINDOW (loPrevRap.name)
>
>,I get the following error
>
>Fatal error: Exception code=C0000005 @ 22.01.2008 10:01:55 AM. Error log file: C:\Program Files\Microsoft Visual FoxPro
>
>7\vfp7err.log
> Called from - frmreports.cmdrun.click line 94 {d:\devize.61\reports\reports.sct d:\devize.61\reports\reports.sct}
> Called from - tastrade.doform line 3 {d:\devize.61\libs\tsgen.vct d:\devize.61\libs\tsgen.vct}
> Called from - _2a20qscbr line 519 {c:\docume~1\gpopa\locals~1\temp\main.mpr main.mpx}
> Called from - ON... line 0 { }
> Called from - tastrade.do line 51 {d:\devize.61\libs\main.vct d:\devize.61\libs\main.vct}
> Called from - main line 212 {d:\devize.61\progs\main.prg d:\devize.61\devize.app}
> Called from - compilez line 51 {d:\devize.61\compilez.prg d:\devize.61\compilez.fxp}
>The error appears randomly.
>I use a local HP Laser Jet 4L(generic Windows printer driver) not connected to a real printer.
>The reports don't contain any printer driver information (expr,tag,tag2 are empty for objtype=1 and objcode=53).
>Does anyone have a clue?
Could you try printing to a generic PostScript printer driver (or even a freely downloadable PDF driver like PrimoPDF)?
You might also try the Microsoft driver for the HP LaserJet 4 (not 4L); this driver has had good reliability in the past.
Regards. Al
"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov
Neither a despot, nor a doormat, be
Every app wants to be a database app when it grows up