Página 1 de 1
gpf on Windows ME at preview
Publicado: Lun May 28, 2007 2:44 pm
por david fung
I got this gpf on Windows ME, but not in XP.
It happened when I try to preview a report
With Object Printer:PreviewControl()
:nZoomIndex := 8
:oParent:Maximize()
:oParent:ShowModal()
End With
Is there another way to code that can prevent this GPF.
Regards,
David Fung
--
gpf on Windows ME at preview
Publicado: Lun May 28, 2007 5:04 pm
por ignacio
David,
Sorry but I do not understand the calls to :oParent:Whatever(). This should
work:
With Object Printer:PreviewControl()
:nZoomIndex := 8
:ShowModal()
End With
BTW, take a look at method XPrinter:Preview() and xPrinter:PreviewControl(),
you can overload any of this methods.
Regards,
gpf on Windows ME at preview
Publicado: Lun May 28, 2007 5:04 pm
por NoName
David,
Sorry but I do not understand the calls to :oParent:Whatever(). This should
work:
With Object Printer:PreviewControl()
:nZoomIndex := 8
:ShowModal()
End With
BTW, take a look at method XPrinter:Preview() and xPrinter:PreviewControl(),
you can overload any of this methods.
Regards,
gpf on Windows ME at preview
Publicado: Mar May 29, 2007 5:04 pm
por david fung
Ignacio,
1. The code I used is referenced from help for PreviewControl.
object Printer:PreviewControl however does not offer ShowModal method.
2. There is a problem when under Windows ME, the value of
Printer:nPaperWidth is 0 while under Windows XP it returns a non zero
(1200 in my case, a correct figure)
3. Can you show me where I can get more info. on XPrinter ?
4. I still trying to solve the problem about running my app. on ME, any
clue ? Is there any way the you can trace according to source ? Is is a
divide by zero case ?
Regards,
David Fung
Ignacio Ortiz de Zúñiga wrote:
> David,
>
> Sorry but I do not understand the calls to :oParent:Whatever(). This should
> work:
>
> With Object Printer:PreviewControl()
> :nZoomIndex := 8
> :ShowModal()
> End With
>
> BTW, take a look at method XPrinter:Preview() and xPrinter:PreviewControl(),
> you can overload any of this methods.
>
> Regards,
>
>
gpf on Windows ME at preview
Publicado: Mar May 29, 2007 5:04 pm
por david fung
Ignacio,
1. The code I used is referenced from help for PreviewControl.
object Printer:PreviewControl however does not offer ShowModal method.
2. There is a problem when under Windows ME, the value of
Printer:nPaperWidth is 0 while under Windows XP it returns a non zero
(1200 in my case, a correct figure)
3. Can you show me where I can get more info. on XPrinter ?
4. I still trying to solve the problem about running my app. on ME, any
clue ? Is there any way the you can trace according to source ? Is is a
divide by zero case ?
Regards,
David Fung
Ignacio Ortiz de Zúñiga wrote:
> David,
>
> Sorry but I do not understand the calls to :oParent:Whatever(). This should
> work:
>
> With Object Printer:PreviewControl()
> :nZoomIndex := 8
> :ShowModal()
> End With
>
> BTW, take a look at method XPrinter:Preview() and xPrinter:PreviewControl(),
> you can overload any of this methods.
>
> Regards,
>
>
gpf on Windows ME at preview
Publicado: Mié May 30, 2007 2:42 pm
por david fung
Any comment/solution for my latest request ?
Regards,
David Fung
gpf on Windows ME at preview
Publicado: Mié May 30, 2007 2:42 pm
por david fung
Any comment/solution for my latest request ?
Regards,
David Fung