VBA

Moderators: PavlinII
Number of threads: 1673
Number of posts: 3078

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
Vb Browser Posted by perrotta14 on 25 Apr 2002 at 2:03 PM
what is nessecery to make a VB interent browser....code.......
objects...what?

thanks


Report
Re: Vb Browser Posted by Something else on 26 Apr 2002 at 2:39 AM
To add a browswer to your project , follow these steps
1. Hit project on the tab list on your vb controls ( where file and edit is )

2. Go down to components

3. look for ' Microsoft internet controls ' and put a tick i the box , hit apply and then ok

4. you will see a globe icon apear on your vb general control bar , make a browswer on the form you wish to have the browswer on

5. to make it go to a website when u load the form enter this in form load
WebBrowser1.Navigate "http://www.aol.com"

aol is a example, your link would go there,you could also put that code behind commands buttons for specific links

if you want to add a navigation bar then you could do it simply like this

create a text box and a command button on the form with the browser.
put behind the button
Private Sub Command1_Click()
WebBrowser1.Navigate Text1.Text
End Sub

and whatever url u type in text box 1 it will take your browser to that

hope it helps, if you don't understand it reply and i will go through it again

Report
Re: Vb Browser Posted by perrotta14 on 26 Apr 2002 at 11:11 AM
: To add a browswer to your project , follow these steps
: 1. Hit project on the tab list on your vb controls ( where file and edit is )
:
: 2. Go down to components
:
: 3. look for ' Microsoft internet controls ' and put a tick i the box , hit apply and then ok
:
: 4. you will see a globe icon apear on your vb general control bar , make a browswer on the form you wish to have the browswer on
:
: 5. to make it go to a website when u load the form enter this in form load
:
: WebBrowser1.Navigate "http://www.aol.com"
: 

: aol is a example, your link would go there,you could also put that code behind commands buttons for specific links
:
: if you want to add a navigation bar then you could do it simply like this
:
: create a text box and a command button on the form with the browser.
: put behind the button
:
: Private Sub Command1_Click()
: WebBrowser1.Navigate Text1.Text
: End Sub
: 

: and whatever url u type in text box 1 it will take your browser to that
:
: hope it helps, if you don't understand it reply and i will go through it again
:
: *************THANKS BUT I CAN'T PROGRAM ANY BUTTONS BUT THE HOME BUTTON WHAT'S THE CODE??THANKS************



Report
Re: Vb Browser Posted by Something else on 26 Apr 2002 at 1:06 PM
What buttons would you like ?
to put code behind a button just either double click on it while making the project or right click on it and hit view code
u have to explain yout question more
Report
Re: Vb Browser Posted by Gazzalad on 2 May 2002 at 5:17 AM
Have a look at:

www.nuggetlab.com

Look in the MCSD Section & download the VB Fundamentals app1.zip.

Thats a simple web browser for you. Load it up and have a look. Ideally buy the course and it explains everything you ever wanted to know about VB. The course was a god send for me!

G



 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.