PDA

Click to See Complete Forum and Search --> : context menu & printing


DJLunacy
Jan 2nd, 2000, 05:32 AM
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

da_silvy
Jan 2nd, 2000, 01:51 PM
Try this, I haven't tested it because i don't have my printer with me, but it might work :)


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).]

plenderj
Sep 22nd, 2003, 04:33 AM
*bump* :D

da_silvy
Sep 22nd, 2003, 05:05 AM
don't embarass me :p

so mean :D