Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

print of imgbox

Status
Not open for further replies.

gae75

Programmer
Sep 4, 2002
2
IT
Hello There!
I' have a problem, i can't print the picture on an img box,
what can i do?
Help me please
 
The easiest way is to put your image control on its own form then simply:

Form1.PrintForm
 
Try this out .....
Using the imagebox's click event...

Private Sub Image1_Click()
Dim picture(1) As picture
Set picture(1) = Image1.picture
Printer.PaintPicture picture(1), 0, 0
Printer.EndDoc
End Sub

P.S. The 2 zeros signify x and y.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top