Results 1 to 2 of 2

Thread: web new window

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Dec 1999
    Location
    Columbus, OH, USA
    Posts
    16

    Post

    Hi, why anytime I open new window using web browser control, and when I am done with it, and close it. The entire program close (END).
    Thank you,
    Please help, with code for open new window.

  2. #2
    Junior Member
    Join Date
    Jan 2000
    Location
    Phx, AZ USA
    Posts
    23

    Post

    This should create a new instance of your browser. I am not sure why your program ends when you close out a new window. It shouldnt. If you need more help email at [email protected]


    Private Sub wbBrowser_NewWindow2(ppDisp As_ Object, Cancel As Boolean)
    'declare a new instance of the form
    Dim frmBrowser2 As frmBrowser
    Set frmBrowser2 = New frmBrowser
    Set ppDisp = frmBrowser2.wbBrowser.Object
    'offset the new window (twips)
    frmBrowser2.Move 1000, 500, 14500, 14500
    frmBrowser2.Show

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