Results 1 to 5 of 5

Thread: window.open in webbrowser NewWindow2

  1. #1

    Thread Starter
    New Member
    Join Date
    Nov 2008
    Posts
    3

    window.open in webbrowser NewWindow2

    hello world,
    in webbrowser there are pages in opened whithe

    javascripts wendow.open

    if it exceeded a an number of windows in NewWindow2 it references an error message

    what to do pliz

    Private Sub WebBrowser_NewWindow2(ppDisp As Object, Cancel As Boolean)
    Set ppDisp = w(n).Object
    n= n+ 1
    End Sub

  2. #2
    PowerPoster
    Join Date
    Jan 2008
    Posts
    11,074

    Re: window.open in webbrowser NewWindow2

    Exactly what is w(n)? Where is it declared?

  3. #3

    Thread Starter
    New Member
    Join Date
    Nov 2008
    Posts
    3

    Re: window.open in webbrowser NewWindow2

    w(n)=webbrowser
    n=index beacause i have 100 w

  4. #4
    Software Carpenter dee-u's Avatar
    Join Date
    Feb 2005
    Location
    Pinas
    Posts
    11,127

    Re: window.open in webbrowser NewWindow2

    If you only have 100 then if n exceeds that number then it will really raise en error.
    Regards,


    As a gesture of gratitude please consider rating helpful posts. c",)

    Some stuffs: Mouse Hotkey | Compress file using SQL Server! | WPF - Rounded Combobox | WPF - Notify Icon and Balloon | NetVerser - a WPF chatting system

  5. #5

    Thread Starter
    New Member
    Join Date
    Nov 2008
    Posts
    3

    Re: window.open in webbrowser NewWindow2

    not the error is in the pupup number 7 or 8

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