Solved

VisualBasic PowerPacks PrintForm

Posted on 2008-10-30
3
381 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

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Well, all of us have seen the multiple EXCEL.EXE's in task manager that won't die even if you call the .close, .dispose methods. Try this method to kill any excels in memory. You can copy the kill function to create a check function and replace the …
Introduction As chip makers focus on adding processor cores over increasing clock speed, developers need to utilize the features of modern CPUs.  One of the ways we can do this is by implementing parallel algorithms in our software.   One recent…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

757 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

24 Experts available now in Live!

Get 1:1 Help Now