VB6 PrintForm does not print Grid (grid32.ocx) correctly

Posted on 2004-10-26
Last Modified: 2012-08-13
I am printing a form with a Grid (grid32.ocx) on it using the PrintForm method.  The contents of the Grid are not printed.  Any ideas?
Question by:glentek
    LVL 53

    Accepted Solution


    Author Comment

    Dhaest, Thank you for your reponse.  In the "Visual Basic 4.0 16/32 Capture Routines" they use an "IPicture" data type.  I get a "Compile error: User-defined type not defined".  How should "IPicture" be defined?  

    Author Comment

    Dhaest, never mind that last question.  I see that I have to include standard OLE types in the project references.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    Suggested Solutions

    Introduction This article makes the case for using two modules in your VBA/VB6 applications to provide both case-sensitive and case-insensitive text comparison operations.  Recently, I solved an EE question using the LIKE function.  In order for th…
    Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
    As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
    Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…

    845 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    10 Experts available now in Live!

    Get 1:1 Help Now