Go Back  Xtreme Visual Basic Talk > Visual Basic .NET (2002/2003/2005/2008, including Express editions) > .NET General > browser window


Reply
 
Thread Tools Display Modes
  #1  
Old 03-27-2004, 08:37 PM
SpiN9823's Avatar
SpiN9823 SpiN9823 is offline
Centurion
 
Join Date: Jan 2004
Location: New Jersey
Posts: 126
Default browser window


How do I get a browser window into a form?
Thanks,
__________________
SpiN
Reply With Quote
  #2  
Old 03-28-2004, 05:33 AM
excaliber's Avatar
excaliber excaliber is offline
Senior Contributor

* Expert *
 
Join Date: Nov 2002
Location: Ohio, USA
Posts: 1,828
Default

Go over to your Toolbox on the left and right click. Select "Customize Toolbox". Under the "COM Components" tab, scroll down and find the "Microsoft Web Browser" control. Check it and press ok. The Explorer control should now be on your toolbar. Draw it on your form like you would any other control.
__________________
RandomIRC - Your neighborhood's friendly IRC channel (irc.randomirc.com - #code)

"Perl - The only language that looks the same before and after RSA encryption."
Reply With Quote
  #3  
Old 03-28-2004, 06:42 AM
SpiN9823's Avatar
SpiN9823 SpiN9823 is offline
Centurion
 
Join Date: Jan 2004
Location: New Jersey
Posts: 126
Default

Is there any way that I can get an address bar that targets that?
__________________
SpiN
Reply With Quote
  #4  
Old 03-28-2004, 07:27 AM
excaliber's Avatar
excaliber excaliber is offline
Senior Contributor

* Expert *
 
Join Date: Nov 2002
Location: Ohio, USA
Posts: 1,828
Default

Quote:
Originally Posted by SpiN9823
Is there any way that I can get an address bar that targets that?
Make a text box and use that. Or a combo box.
__________________
RandomIRC - Your neighborhood's friendly IRC channel (irc.randomirc.com - #code)

"Perl - The only language that looks the same before and after RSA encryption."
Reply With Quote
  #5  
Old 03-28-2004, 07:29 AM
SpiN9823's Avatar
SpiN9823 SpiN9823 is offline
Centurion
 
Join Date: Jan 2004
Location: New Jersey
Posts: 126
Default

Will it automatically target the window?
__________________
SpiN
Reply With Quote
  #6  
Old 03-28-2004, 07:36 AM
excaliber's Avatar
excaliber excaliber is offline
Senior Contributor

* Expert *
 
Join Date: Nov 2002
Location: Ohio, USA
Posts: 1,828
Default

Quote:
Originally Posted by SpiN9823
Will it automatically target the window?
Nope. All it is is a text box. What you will ahve to do is catch for the Enter key (the keydown event). When Enter is pressed, do something like this:

Code:
webbrowser1.navigate(txtURL.text)
__________________
RandomIRC - Your neighborhood's friendly IRC channel (irc.randomirc.com - #code)

"Perl - The only language that looks the same before and after RSA encryption."
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
Scaling a web browser window hammy0605 General 6 12-14-2003 02:49 PM
Constant Values For Window Display SkreeM General 5 10-20-2003 05:06 AM
Open Default Browser (New Window) BAS file download!!! alcaholjunkie General 1 01-13-2003 12:23 PM
Browser window opening and resizing Wayne Britcliff Web Programming 4 06-06-2002 09:08 AM
Help Me...GURU Luckyboy General 10 10-22-2001 08:08 PM

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
 
 
-->