-
Apr 19th, 2012, 11:43 AM
#1
Thread Starter
Hyperactive Member
Error using Printer.landscape
I want to show report in Landscape orientation.
I installed pageset.dll and use it in my project, but still i have an error that report width is larger than the paper width
I have used following code for showing the report:
Code:
-------This is in general declaration--------
Dim obj As PageSet.PrinterControl
-----This is command click event----------
Set obj = New PrinterControl
obj.ChngOrientationLandscape
rptMonthlyIncome.Show
Can anybody help me?
-
Apr 25th, 2012, 10:56 AM
#2
Thread Starter
Hyperactive Member
Re: Error using Printer.landscape
-
Apr 25th, 2012, 11:38 AM
#3
Re: Error using Printer.landscape
You should not need PageSet. Usually, if this is a VB6 DataReport the problem is that you haven't installed SP6 or it's not installed correctly.
-
Apr 26th, 2012, 10:41 AM
#4
Thread Starter
Hyperactive Member
Re: Error using Printer.landscape
OK, but i used it in past, i don't know why it give error
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|