May 26, 2005 #1 stefnany Programmer Mar 1, 2004 20 CA Hello! I want know what replace vbPRPSLegal(VB6) in VB.Net. Thanks!!! Stefnany
May 26, 2005 #2 ca8msm Programmer May 9, 2002 11,327 GB Is that a paper size when printing? -------------------------------------------------------------------------------------------------------------------------------------------- Need help finding an answer? Try the search facility (http://www.tek-tips.com/search.cfm) or read FAQ222-2244 on how to get better results. Upvote 0 Downvote
Is that a paper size when printing? -------------------------------------------------------------------------------------------------------------------------------------------- Need help finding an answer? Try the search facility (http://www.tek-tips.com/search.cfm) or read FAQ222-2244 on how to get better results.
May 26, 2005 Thread starter #3 stefnany Programmer Mar 1, 2004 20 CA In VB6 is a Printer Object Constants. A PaperSize Property. Constant Value Description vbPRPSLegal 5 Legal, 8 1/2 x 14 in Upvote 0 Downvote
In VB6 is a Printer Object Constants. A PaperSize Property. Constant Value Description vbPRPSLegal 5 Legal, 8 1/2 x 14 in
May 26, 2005 #4 ca8msm Programmer May 9, 2002 11,327 GB In that case can't you just set the property that sets the paper size to 5 rather than use the constant? It may help if you post the code you have written so far and which section you are having trouble with. -------------------------------------------------------------------------------------------------------------------------------------------- Need help finding an answer? Try the search facility (http://www.tek-tips.com/search.cfm) or read FAQ222-2244 on how to get better results. Upvote 0 Downvote
In that case can't you just set the property that sets the paper size to 5 rather than use the constant? It may help if you post the code you have written so far and which section you are having trouble with. -------------------------------------------------------------------------------------------------------------------------------------------- Need help finding an answer? Try the search facility (http://www.tek-tips.com/search.cfm) or read FAQ222-2244 on how to get better results.
May 26, 2005 #5 SqueakinSweep Programmer Jun 20, 2002 945 GB Yopu can also use the PaperKind enumeration Code: Dim pk As System.Drawing.Printing.PaperKind = Printing.PaperKind.Legal Sweep ...if it works dont mess with it Upvote 0 Downvote
Yopu can also use the PaperKind enumeration Code: Dim pk As System.Drawing.Printing.PaperKind = Printing.PaperKind.Legal Sweep ...if it works dont mess with it