C5 is not necessarily a printer problem .. it's more like a catch all GPF.
Are there any ActiveX controls on the form, particularly the page? What's happening in the activate method of the page or the gotfocus/when of the first control?
Is there a timer running?
>Would this error happen regardless of accessing the printer functions?
>
>e.g.
>
>1. Click on a page in a pageframe... poof C00005 error.
>2. Working in another application while the VFP app is also running... poof C0005 error.
>3. Drinking tea while the VFP app is running... poof C0005 error.
>4. Printing from another application while the VFP app is running.
>
>
>Definition:
>running - sitting there doing nothing, not processing a job or report, just waiting for the user to do something.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer