VB6 Landscape print problem in windows7

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Rabiul Islam
    New Member
    • Jun 2012
    • 1

    VB6 Landscape print problem in windows7

    Dim obj As PageSet.Printer Control 'Reference Pageset.dill
    Set obj = New PrinterControl
    obj.ChngOrienta tionLandscape
    DataReport.Show

    The above coding work properly in WindowsXP, but in windows7
    page setup dose not work , show the massage report wide is larger than paper width.
    How can I solved the problem.
Working...