Results 1 to 3 of 3

Thread: I'm sure SOMEONE knows how to do this

  1. #1

    Thread Starter
    New Member
    Join Date
    Feb 2000
    Location
    Christchurch, New Zealand
    Posts
    10

    Post

    I have a webbrowser form with a nice little webpage in it. Now I want to print that nice little webpage from another form. How can this be done (urgently!).
    Regards, James.

  2. #2
    Guru Aaron Young's Avatar
    Join Date
    Jun 1999
    Location
    Red Wing, MN, USA
    Posts
    2,177

    Post

    Just reference the WebBrowser from the new Form, ie.
    Code:
    'In Form2..
    Private Sub Command1_Click()
        Form1.WebBrowser1.ExecWB OLECMDID_PRINT, OLECMDEXECOPT_DONTPROMPTUSER
    End Sub

  3. #3

    Thread Starter
    New Member
    Join Date
    Feb 2000
    Location
    Christchurch, New Zealand
    Posts
    10

    Post

    Do you know why the
    <BODY BACKGROUND="G:\images\btnterms.gif">
    image still won't print? That is, any image that is specified with the <BODY BACKGROUND> tag? How can I get around this?

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