DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 3 of 3

Thread: How to change the orentation of report page genrated via Crystal Report throught VB6 ?

  1. #1
    Vishal Arya Guest

    How to change the orentation of report page genrated via Crystal Report throught VB6 ?


    As u know a user can genrated report using Crystal Report through VB using
    Crystal Report Component but problem comes when user has to change the orentation
    of the page genrated. In Crystal report the orentation has to be changed
    manually after genrating it through VB6 which is not what i want . i want
    the orentation for some report pages that are genrated should be portait
    and some pages should be landscaped how can i do it through VB6 code. pls
    HELP....!!!!!!

  2. #2
    Phil Weber Guest

    Re: How to change the orentation of report page genrated via Crystal Report throught VB6 ?

    Vishal: The best place to get help with Crystal Reports is Crystal's tech
    support Web site: http://support.crystaldecisions.com . If you don't get an
    answer here, you might try there.
    ---
    Phil Weber



  3. #3
    Brent Guest

    Re: How to change the orentation of report page genrated via Crystal Report throught VB6 ?


    "Vishal Arya" <arya_vishal@hotmail.com> wrote:
    >
    >As u know a user can genrated report using Crystal Report through VB using
    >Crystal Report Component but problem comes when user has to change the orentation
    >of the page genrated. In Crystal report the orentation has to be changed
    >manually after genrating it through VB6 which is not what i want . i want
    >the orentation for some report pages that are genrated should be portait
    >and some pages should be landscaped how can i do it through VB6 code. pls
    >HELP....!!!!!!

    If you have a reference in vb to your crystal reports dll then you have functions
    that allow you to customize your report from vb. Here are few examples of
    what I mean:

    CrystalReport1.WindowTitle = "Test Report"
    CrystalReport1.WindowState = crptMaximized
    CrystalReport1.WindowMaxButton = True
    CrystalReport1.WindowShowCloseBtn = True
    CrystalReport1.WindowShowExportBtn = False
    CrystalReport1.WindowShowPrintBtn = True
    CrystalReport1.WindowShowZoomCtl = True
    Hope this helps...


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center