Go Back  Xtreme Visual Basic Talk > Legacy Visual Basic (VB 4/5/6) > General > need help with web browser...


Reply
 
Thread Tools Display Modes
  #1  
Old 07-16-2003, 10:03 AM
Iceache Iceache is offline
Freshman
 
Join Date: May 2003
Posts: 34
Default need help with web browser...


How can I open a "New Browser Window" like IE 6? I have it in a File Menu and it has Ctrl+N set for it... I just need it to open new window
Reply With Quote
  #2  
Old 07-16-2003, 10:04 AM
Iceplug's Avatar
Iceplug Iceplug is offline
MetaCenturion

Retired Moderator
* Guru *
 
Join Date: Aug 2001
Location: California, USA
Posts: 16,583
Default

Code:
Dim Frmx As Form Set Frmx = yourformname Frmx.Visible = True
Try this.
__________________

Iceplug, USN
Quadrill 1 Quadrill 2 (full) Quadrill 3 JumpCross .NET Website is ALIVE! - DL Platform Tour for VB.NET! Posting Guidelines Hint: Specify your location in your user cp profile if you want compassion!
Reply With Quote
  #3  
Old 07-16-2003, 10:12 AM
Iceache Iceache is offline
Freshman
 
Join Date: May 2003
Posts: 34
Default

er.. i got it to work, now i just need it to navigate to the same website that im on, like in IE6
Reply With Quote
  #4  
Old 07-16-2003, 10:47 AM
Val's Avatar
Val Val is offline
Senior Contributor
 
Join Date: May 2003
Location: Vancouver, WA
Posts: 1,268
Default

Code:
Sub cmdNewWindow_Click() Dim wnd As New frmBrowser With wnd .Browser.Navigate Browser.LocationUrl .Show End With End Sub
Another way would be to use pDisp interface. I didn't test this, but:
Code:
Sub cmdNewWindow_Click() Dim wnd As New frmBrowser With wnd Set .Browser.Object = Browser.Object .Show End With End Sub
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Web browser ctl doesn't update automatically Val Interface and Graphics 0 07-02-2003 03:05 PM
browser chrisurban14 General 1 06-24-2003 01:38 PM
Newbie with Web Browser X-Fe@R General 3 09-10-2002 05:33 PM
Hyperlink.NavigateTo load in new browser hankejh General 1 10-17-2001 12:01 AM

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
 
 
-->