Results 1 to 4 of 4

Thread: context menu & printing

  1. #1

    Thread Starter
    New Member
    Join Date
    Jan 2000
    Location
    oxford,mi,usa
    Posts
    10

    Post

    i would like to make a new context menu for my web browser but how do i make it so when a image is clicked then it displays the option to print?

    Thanks

    DJLunacy

  2. #2
    Conquistador
    Join Date
    Dec 1999
    Location
    Australia
    Posts
    4,527

    Post

    Try this, I haven't tested it because i don't have my printer with me, but it might work

    Code:
    Private Sub Menu_Click()
    On Error GoTo myerr:
    cdlg.CancelError = True
    cdlg.DialogTitle = "Print"
    cdlg.ShowPrinter
    Printer.Print brwWebBrowser.Document
    Printer.EndDoc
    myerr:
    End Sub
    ------------------
    david
    Teenage Programmer



    [This message has been edited by da_silvy (edited 01-03-2000).]

  3. #3
    Retired VBF Adm1nistrator plenderj's Avatar
    Join Date
    Jan 2001
    Location
    Dublin, Ireland
    Posts
    10,359
    *bump*
    Microsoft MVP : Visual Developer - Visual Basic [2004-2005]

  4. #4
    Conquistador
    Join Date
    Dec 1999
    Location
    Australia
    Posts
    4,527
    don't embarass me

    so mean

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