| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | Newsletters | VB Forums | Developer.com |
|
|||||||
![]() |
|
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
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. |
![]() |
| Bookmarks |
|
||||||
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|