Results 1 to 3 of 3

Thread: Printer Object Problem

  1. #1

    Thread Starter
    Lively Member
    Join Date
    May 2002
    Location
    London, England
    Posts
    88

    Printer Object Problem

    I am writing an app which will draw into a picturebox or the printer. The location to draw on is passed as an object.

    How can I tell wether the printer was passed as the object?

    Thanks

  2. #2
    I wonder how many charact
    Join Date
    Feb 2001
    Location
    Savage, MN, USA
    Posts
    3,704
    VB Code:
    1. If TypeOf myobject Is PictureBox Then

    Substitute Printer to check for printer

  3. #3

    Thread Starter
    Lively Member
    Join Date
    May 2002
    Location
    London, England
    Posts
    88
    That was just the job, thanks a lot.

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