|
-
Apr 4th, 2004, 01:18 PM
#1
Thread Starter
Hyperactive Member
Launch new(second)Browser window[Resolved]
Hello
I have a webbrowser control in my app that navigates to a sight when opened.
What I would like to be able to do is have a button that opens a second window to a different address and keeps the first window open on it's original page.
Is this possible to do with the webbrowser control?
I've tried using the show method but that just navigates the same window to the new address.
Thanks
David
Last edited by David RH; Apr 5th, 2004 at 09:29 PM.
-
Apr 4th, 2004, 01:39 PM
#2
Lively Member
-
Apr 4th, 2004, 01:43 PM
#3
Here's some code explaining how to recreate a number of different forms out of the same original:
VB Code:
'Setup: 1 form named Form1 with 1 command button named Command1
Dim Formx() As Form1
Private Sub Command1_Click()
ReDim Formx(1 To 1 + UBound(Formx))
Set Formx(UBound(Formx)) = New Form1
Formx(UBound(Formx)).Show
End Sub
Private Sub Form_Load()
ReDim Formx(1 To 1) As Form1
End Sub
Remember to set all objects used to nothing when finished.
The time you enjoy wasting is not wasted time.
Bertrand Russell
<- Remember to rate posts you find helpful.
-
Apr 4th, 2004, 01:57 PM
#4
Thread Starter
Hyperactive Member
Thanks Jemidiah
I'll give that a try.
David
-
Apr 5th, 2004, 09:28 PM
#5
Thread Starter
Hyperactive Member
Cool
It works.
Thanks
David
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|