|
|||||||
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
#1 |
|
Member (9 bit)
Join Date: Jan 2002
Location: UK
Posts: 389
|
Visual Basic help needed
I wanna have a look at making a lil prog that will aid me in my internet use (im hoping to use it insted of I.E and maybe build in proxy support).
my problem is that i dont know how to get a frame or something to hold the internet page, if that make sense basically i dont know how to go about making a box hold a webpage, would a frame be the way to go? if someone has done one of these and could help me out, or even let me take a peak at some code then that would be great Thanks, James |
|
|
|
|
|
#2 |
|
Professional gadfly
|
The browser control is just what it sounds like: a browser. You can stick that on any form and voilą, instant web browser application. But because it is pretty much the same browser as IE, you may not want that.
Creating an HTML parser in VB is a non-trivial task. Web browsers are usually written in C++. |
|
|
|
|
|
#3 |
|
Member (9 bit)
Join Date: Jan 2002
Location: UK
Posts: 389
|
Hi, and thx for that
i no its not trival but i just started a night class once a weekfor a a couple hours, so its all new to me Thanks again |
|
|
|
|
|
#4 |
|
Member (9 bit)
Join Date: Jan 2002
Location: UK
Posts: 389
|
(which ive not even heard of the 'Browser Control' feature anyway)
something to ask my night class tutor to show me where it is i think |
|
|
|
|
|
#5 |
|
Professional gadfly
|
I don't have a copy of VB right in front of me, but I am pretty sure it is one of the standard controls on the toolbar (along with the Text box, Combo box, List box, Check box, etc.). If not, then just hit Ctrl-T to bring up a list of all controls available.
|
|
|
|
|
|
#6 |
|
Member (9 bit)
Join Date: Jan 2002
Location: UK
Posts: 389
|
Great stuff, Thanks
(i finish work in 12 minutes so i can take a look when i get home) Thanks again |
|
|
|
|
|
#7 |
|
Member (6 bit)
Join Date: Aug 2002
Location: Wichita, Kansas
Posts: 36
|
you have to add the browser control by going to Project --> Components and then find and check "Microsoft Internet Controls". Click ok and another control should appear in the tool box. Thats your browser control, just put it on your form, code a text box for the URL and your set.
But like gonzo said, its pretty much IE without any bells and certainly not any whistles. |
|
|
|
|
|
#8 |
|
Member (9 bit)
Join Date: Jan 2002
Location: UK
Posts: 389
|
so what should i call the url txt box?
i was tryig random things and found a command of 'LocationURL' but dont think this is the right one to use (which please dont think im lazy and dont want to lewarn myself, i have a book on order but it hasnt come through yet) Thanks |
|
|
|
|
|
#9 |
|
Member (6 bit)
Join Date: Aug 2002
Location: Wichita, Kansas
Posts: 36
|
I haven't looked at it in a while, but I think that IS the right property to change the current URL.
If you don't know something like that in the future, just try it out, you won't hurt anything. |
|
|
|
|
|
#10 |
|
Professional gadfly
|
Another way to get the functionality is to use the new project wizard. At one point in the wizard, it asks if you want the app to be able to access the internet. If you click on yes, then VB will add that stuff for you automatically.
|
|
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|