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
--
In order for this site to work correctly we need to store a small file (called a cookie) on your computer. Most every site in the world does this, however since the 25th of May 2011, by law we have to get your permission first. Please abandon the forum if you disagree.
Para que este foro funcione correctamente es necesario guardar un pequeño fichero (llamado cookie) en su ordenador. La mayoría de los sitios de Internet lo hacen, no obstante desde el 25 de Marzo de 2011 y por ley, necesitamos de su permiso con antelación. Abandone este foro si no está conforme.
Para que este foro funcione correctamente es necesario guardar un pequeño fichero (llamado cookie) en su ordenador. La mayoría de los sitios de Internet lo hacen, no obstante desde el 25 de Marzo de 2011 y por ley, necesitamos de su permiso con antelación. Abandone este foro si no está conforme.
gpf on Windows ME at preview
-
- Mensajes: 257
- Registrado: Mié Jul 19, 2006 8:48 am
- ignacio
- Site Admin
- Mensajes: 9469
- Registrado: Lun Abr 06, 2015 8:00 pm
- Ubicación: Madrid, Spain
- Contactar:
gpf on Windows ME at preview
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,
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,
Ignacio Ortiz de Zúñiga
[OZ Software]
https://www.ozs.es
--
[Equipo de Xailer / Xailer team]
https://www.xailer.com
[OZ Software]
https://www.ozs.es
--
[Equipo de Xailer / Xailer team]
https://www.xailer.com
gpf on Windows ME at preview
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,
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,
-
- Mensajes: 257
- Registrado: Mié Jul 19, 2006 8:48 am
gpf on Windows ME at preview
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,
>
>
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,
>
>
-
- Mensajes: 257
- Registrado: Mié Jul 19, 2006 8:48 am
gpf on Windows ME at preview
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,
>
>
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,
>
>
-
- Mensajes: 257
- Registrado: Mié Jul 19, 2006 8:48 am
gpf on Windows ME at preview
Any comment/solution for my latest request ?
Regards,
David Fung
Regards,
David Fung
-
- Mensajes: 257
- Registrado: Mié Jul 19, 2006 8:48 am
gpf on Windows ME at preview
Any comment/solution for my latest request ?
Regards,
David Fung
Regards,
David Fung