Print a VB6 form in landscape mode

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sarn555
    New Member
    • Jan 2008
    • 4

    Print a VB6 form in landscape mode

    Dear,

    I want to print a VB6 form in landscape orientation and it should be done in a running mode. I mean through coding everything must be done at runtime.
    By default, the Form.PrintForm method prints the form in portrait mode, but I want to print the form in landscape mode.

    What should I do?
    Last edited by Killer42; Jan 1 '08, 12:57 PM.
  • Killer42
    Recognized Expert Expert
    • Oct 2006
    • 8429

    #2
    This is covered in an earlier discussion .

    Comment

    • creative1
      Contributor
      • Sep 2007
      • 274

      #3
      hiarn 555 ,
      not very sure about form but its not possible to print datareports in landscape format; you have to have a third party software like "Crystal Report" to get the job done.

      P.S: Am I right?

      Comment

      • QVeen72
        Recognized Expert Top Contributor
        • Oct 2006
        • 1445

        #4
        Originally posted by creative1
        not very sure about form but its not possible to print datareports in landscape format; you have to have a third party software like "Crystal Report" to get the job done.

        P.S: Am I right?
        Hi Creative,

        You don't need CR to be installed to print DataReports in landscape.
        DataReports in landscape had a bug. They have been rectified in VS Service Pack 5 and higher versions.
        Check This M$ Link

        Regards
        Veena
        Last edited by Killer42; Jan 3 '08, 01:52 AM.

        Comment

        • creative1
          Contributor
          • Sep 2007
          • 274

          #5
          Thanks Veena,
          I have been using VB6 thats why I wasn't successful in making my report in Landscape.
          Thanks again

          Comment

          Working...