473,379 Members | 1,253 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,379 software developers and data experts.

Visual Basic 6.0 Data Report how to rotate the print out.

I have my App in Visual Basic 6.0 and I need to rotate the print out to fit the label. Thanks in advance for your suggestions. I am attaching the screen capture.
Attached Images
File Type: jpg Label_Printer.jpg (47.9 KB, 286 views)
Mar 16 '18 #1
5 2181
abeLuna
13
I would need a little bit more information about what you are using to draw that label. Are you using a third-party control, or just the built-in drawing functions that come with .NET? If you are using the .NET drawing methods, you can call RotateTransform member of the Graphics object. Here is some docs: https://docs.microsoft.com/en-us/dot...ramework-4.7.1

If you need more help, let me know.

Abraham Andres Luna - https://giftedart.gear.host
https://www.indiehackers.com/user/abeLuna
Mar 17 '18 #2
@abeLuna, I am using Visual Basic 6.0 and also the tool DataReport that comes with Visual Basic 6.0. I don't see any option to rotate the label.
Mar 17 '18 #3
abeLuna
13
OK, I understand where you are with your problem. I looked up the methods and properties of the DataReport object and they don't have any methods to rotate the page. So I was wondering, what if you showed the Print Dialog box, would you be able to use that window to rotate the label before printing?
Mar 18 '18 #4
Unfortunately the printer don't rotate the content ( label) Just let me change from portrait to Horizontal, but this only change the paper but the content continues printing the same. Thanks.
Mar 18 '18 #5
abeLuna
13
What if you go to the report designer and click on the labels you have placed on that form, and then go to properties. Is there a property on that control that allows you to position or rotate it?
Mar 18 '18 #6

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: Robert Mileski | last post by:
I've made some program in Visual Basic 2005 that works with changing files and folders. After I've finished it, the main problem is to refresh the Windows OS. I mean the same thing as when we press...
2
by: nachu | last post by:
I Would Like To Know About The Basics Of Data Reports And DATA Environment In Visual Basic..could Anyone Help Me Out With It?
1
by: Bilko | last post by:
Can anyone help me with the code to input data into a form from a file eg: c:\date.txt and display all fields in a list rather than one field at a time. I'm new at this, I know it is a simple code....
2
by: nmurali | last post by:
I have a problem in printing of a report in Data report in VB6. How do u align and print a mailmerge type of report in vb6 data report with a neat right aligned format? and those data controls to...
1
by: bluethunder | last post by:
I'm having difficulty in the report i dont know where should i place the details of the command. I try to put it in the detail section but the name and idnumber which is not to be repeated its become...
3
visualbasic1111
by: visualbasic1111 | last post by:
hello, I am a Bsc III yr student and I am working on a project of visual basic for our college's Library Management. My problem is - After using ADO data control in visual basic, when I run my...
1
by: cuhmilala | last post by:
Can anyone help me with my program? I am still a student so I am not that familiar with the language. I need to send the reports through Email with or without using Outlook Express. I can send you...
0
by: swamimeenu | last post by:
Hi, I need to add a automatic serial number in datareport in vb without having tht field in database.. but the remaining fields are connected from db... how to generate automatic serial number...
0
by: borz | last post by:
Hi everyone!!! My problem looks like this. I have a report(rdlc) and a form1. On the form1 there is a textbox. I put a textbox on the report too. How can I pass the value from the textbox on my...
7
by: chili007 | last post by:
i cant find the problem can anyone help me pls??? If userNameTextBox.Text <> "" Then Dim sqlQRY As String = "INSERT INTO SalesOrder Values ('" & salesNoTextBox.Text & "', '" &...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.