Solved

VisualBasic PowerPacks PrintForm

Posted on 2008-10-30
3
382 Views
Last Modified: 2008-10-30
I have a form that I want to print using a button.  I have the form printing great using the VisualBasic PowerPacks PrintForm component, however I cant seem to get the form to print out in
landscape orientation
I have gone into the printersettings component and tried using the "LandscapeAngle" item and just cant get it to work.  Any ideas would be appreciated
0
Comment
Question by:H-SC
  • 2
3 Comments
 
LVL 10

Accepted Solution

by:
kdwood earned 500 total points
ID: 22843538
Use this syntax and you should be all set.

PrintForm1.PrinterSettings.DefaultPageSettings.Landscape = True

Regards,

Keith
0
 
LVL 1

Author Comment

by:H-SC
ID: 22843620
Keith,

many thanks..!!
this little item completed my project
0
 
LVL 10

Expert Comment

by:kdwood
ID: 22843629
My pleasure!
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you're writing a .NET application to connect to an Access .mdb database and use pre-existing queries that require parameters, you've come to the right place! Let's say the pre-existing query(qryCust) in Access takes a Date as a parameter and l…
Microsoft Reports are based on a report definition, which is an XML file that describes data and layout for the report, with a different extension. You can create a client-side report definition language (*.rdlc) file with Visual Studio, and build g…
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now