Active X Programming/VB6 Printing

Advertisement


Question
Good morning - my question relates to printing of a picture or image. I wish to place a logo on a form and then print the form with logo and text. Two questions: (1) how do you print a picture and (2) how do you get it to print in the desired location ? Thanks. Gene

Answer
Hi Gene,
You can use the picture control to paste a logo on the form. Once the logo is on the form you can print the form with the logo by using the .PrintForm method of the form. Desired location, as in Printer? you could specify the printer using code as well. or do you mean the location of the logo on the form. That could be specified using the .Left, .Top and .Height and .Width properties
Hope this helps
abhi

Active X Programming

All Answers


Ask Experts

Volunteer


Abhijeet Landge

Expertise

I can answer questions about System Analysis, Database Design, mapping live systems into models. I can answer questions related to Visual Basic 6.0, databases and ActiveX programming Generating reports using Crystal Reports 7.0, passing parameters from VB Applications is another area where I can be of help. I cannot answer questions pertaining to COM / DCOM.

Experience

Developing Client Server Application in Visual Basic 6.0 and generating complex reports to the satisafaction of the end user using Crystal Reports 7

Education/Credentials
B. E. Computers
[Bachelor or Computer Engineering]

Awards and Honors
Won an Honor Mention in the ICPSC Contest organized by Wisconsin University

©2012 About.com, a part of The New York Times Company. All rights reserved.