Solved

VisualBasic PowerPacks PrintForm

Posted on 2008-10-30
3
387 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
VB.Net creating Contact in Outlook 1 96
VB.net VSTO Excel Ribbon error 4 27
Broken .resx file generating errors 18 44
Run software updates from the website 6 50
I think the Typed DataTable and Typed DataSet are very good options when working with data, but I don't like auto-generated code. First, I create an Abstract Class for my DataTables Common Code.  This class Inherits from DataTable. Also, it can …
Creating an analog clock UserControl seems fairly straight forward.  It is, after all, essentially just a circle with several lines in it!  Two common approaches for rendering an analog clock typically involve either manually calculating points with…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

734 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