CodeGuru Forums -
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic Newsletters VB Forums Developer.com


Newest CodeGuru.com Articles:

  • Installing SQL Server 2008
  • Writing UDFs for Firebird Embedded SQL Server
  • [Updated] Shutdown Manager
  • Building Windows Azure Cloud Service Applications with Azure Storage and the Azure SDK

  • Search CodeGuru:
     



    Go Back   CodeGuru Forums > Visual Basic Programming > Crystal Reports
    FAQ Members List Calendar Search Today's Posts Mark Forums Read

    Reply
     
    Thread Tools Search this Thread Rate Thread Display Modes
      #1    
    Old March 22nd, 2004, 04:25 AM
    Hatori Hatori is offline
    Junior Member
     
    Join Date: Mar 2004
    Posts: 2
    Hatori is an unknown quantity at this point (<10)
    Crystal Report 8.5 with VB

    Hi all,

    I am writing an application using VB 6.0 and using the Crystal Report 7.0 Designer DLL.

    I have seen how I can set the maximum size of the print preview window using the Crystal Report Control (Crystl32.oxc) but I have no idea how this can be done using CRPEAuto.

    I have 2 lines of code declared

    Private crpReport As New CRPEAuto.Report
    Private crpWindow As New CRPEAuto.Window

    I assume the window properties are in crpReport but I have not idea where or how to do this.

    Currently my print preview window appears maximized when i click the Print button the first time. Then it becomes minimized after that.

    ANy ideas? Thanks.


    -----------------------------------------------------------------

    Secondly, I need to know how I can force the printout to be of a fixed receipt size. Currently the default is in A4. I need it to print out within the size of 6 (height) by 3 (width) inches.

    Is there a way I can force the printout to be that size for certain reports while allowing other reports to print out in A4 size?

    Kev

    Last edited by Hatori; March 22nd, 2004 at 04:27 AM.
    Reply With Quote
    Reply

    Bookmarks
    Go Back   CodeGuru Forums > Visual Basic Programming > Crystal Reports


    Thread Tools Search this Thread
    Search this Thread:

    Advanced Search
    Display Modes Rate This Thread
    Rate This Thread:

    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is On
    HTML code is Off
    Forum Jump


    All times are GMT -5. The time now is 11:26 AM.



    Acceptable Use Policy

    internet.comMediabistrojusttechjobs.comGraphics.com

    WebMediaBrands Corporate Info


    Advertise | Newsletters | Feedback | Submit News

    Legal Notices | Licensing | Permissions | Privacy Policy


    Powered by vBulletin® Version 3.7.3
    Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
    Copyright WebMediaBrands Inc. 2002-2009