Results 1 to 3 of 3

Thread: [RESOLVED] Visual Basic - printing

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Nov 2000
    Location
    Malta
    Posts
    31

    Resolved [RESOLVED] Visual Basic - printing

    I am printing reports with VB 6 like this:

    Printer.print "I am in Malta"

    Now I want to print a logo in the same way and manner however when I tried

    Printer.print c:\malta.bmp

    it does not work and a number appears instead. How do I print images in this kind of reports through Visual Basic.

    Reply URGENTLY.
    ----------------------------
    R Cordina
    -----------------------------

  2. #2
    Hyperactive Member marnitzg's Avatar
    Join Date
    Oct 2000
    Location
    South Africa
    Posts
    372
    Use the paintpicture property instead of print

  3. #3
    Guest
    PaintPicture is a method, not a property. Here is an example of using it.
    Code:
    Printer.PaintPicture Picture1.Picture, 0, 0

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width