Hello!<br>
<br>
How do I change the paper-orientation for the Data-report I have made in VB60? I have tried with this code in the "initalize" event of the report and also tried to add it on the "main sub" procedure of the project but it did not work:<br>
<br>
Dim prn as object<br>
set prn=Printer<br>
prn.orientation=vbPRORlandscape<br>
<br>
Looking forward to hear any answer.<br>
<br>
Morten
<br>
How do I change the paper-orientation for the Data-report I have made in VB60? I have tried with this code in the "initalize" event of the report and also tried to add it on the "main sub" procedure of the project but it did not work:<br>
<br>
Dim prn as object<br>
set prn=Printer<br>
prn.orientation=vbPRORlandscape<br>
<br>
Looking forward to hear any answer.<br>
<br>
Morten