Making A Web Browser With Visual Basic 6

free web hosting
Free Web Hosting > General Discussion > Computer Talk

Making A Web Browser With Visual Basic 6

William Wood
Hi everyone!
I'm going to tell you how to make a very simple web browser with Microsoft Visual Basic 6.0. Its basically a customized version of Internet Explorer, though, so enjoy!

First of all, you need to start a new project, make a Standard EXE. Then click on the Project menu and select Components. Check Microsoft Internet Controls and click Apply.
From the Insert menu, click on the icon that has just appeared.
Drag it onto the program layout, but make sure you make the program big enough and leave a space at the top for all the web buttons.

Make a text box and drag it where you want it to go. Now make four command buttons which will be GO, REFRESH, BACK and FORWARD. Then name each of them Cmdback (BACK), CmdForward (FORWARD), CmdGo (GO), and CmdRefresh (REFRESH).

Now here is where you put in the codes.

On the BACK button, insert this code
----------------------------------------------------
Private Sub cmdback_Click()
WebBrowser1.GoBack
End Sub

----------------------------------------------------
This tells the browser to go Back.
On the FORWARD button, insert this code.
----------------------------------------------------
Private Sub Cmdforward_Click()
WebBrowser1.GoForward
End Sub

----------------------------------------------------
This tells the browser to go Forward.
On the GO button, insert this code.
----------------------------------------------------
Private Sub cmdgo_Click()
WebBrowser1.Navigate (Text1.Text)
End Sub

----------------------------------------------------
This tells the web browser to go to the page you want it to.
On the REFRESH button, insert this code.
----------------------------------------------------
Private Sub cmdrefresh_Click()
WebBrowser1.Refresh
End Sub

----------------------------------------------------
This tells the browser to refresh the page.
On the FORM1 insert this code.
----------------------------------------------------
Private Sub Form_Load()
WebBrowser1.Navigate ("http://www.google.com/")
End Sub

----------------------------------------------------
This makes your homepage, simply change http://www.google.com to the page you want, if otherwise.
On the WEBBROWSER1 insert this code.
----------------------------------------------------
Private Sub WebBrowser1_StatusTextChange(ByVal Text As String)
Text1.Text = (WebBrowser1.LocationURL)
Form1.Caption = (WebBrowser1.LocationName)
End Sub

----------------------------------------------------
It makes the URL name the header, and changes the address to the place you wish to go.
Thats all! Save your project, and enjoy your customized web browser! smile.gif

 

 

 


Reply

Sten
i would try it if only i had visual basic
i have another program called browser bob which makes customized browsers based on internet explorer
its basically internet explorer but with your own look, u can make your own buttons, pictures, borders and boxes, stuff like that

Reply

Jimmy89
If memory serves me right (and its been a long time), in VB6 there was a Web Browser template that could be used! It put in the browser control, status bars, menus etc etc. Which was good if you were adding simple browsers to your project!

I must say that I prefer the new browser control in VB.NET! It has many more options then the VB6 one did! Sten, if you want to try out VB, have a look at the Visual Studio Express Editions (search on this board, theres heaps of topics!). You can have a go of any of the .NET languages for free!

Reply


Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

(Maximum characters: 10,000)
You have characters left.
Confirm Code:

Recent Queries:-
  1. pyramid asterisk in vb6 - 126.35 hr back. (1)
  2. browser vb6 content - 159.22 hr back. (1)
  3. webrowser vb6 sample - 293.58 hr back. (1)
  4. webbrowser navigate vb6 - 326.37 hr back. (1)
  5. visual basic 6 web browser - 412.90 hr back. (1)
Similar Topics

Keywords : making, web, browser, visual, basic, 6

  1. Browser Based Text Games
    (2)
  2. Google Chrome
    New google web browser (22)
    So, what does everyone think about googles' new web browser idea?
    http://www.google.com/googlebooks/chrome/
    http://googleblog.blogspot.com/2008/09/fre...on-browser.html Will anyone be getting the beta when
    it's released? Here is what one of my friends thinks of the project (from another forum). He
    has a BSc & MSc in computer science and information security (we're old uni mates). He usually
    knows his stuff when it comes to things like this. QUOTE I note that the article linked
    indicates Google will be using Apple's Webkit rendering engine,....
  3. Making Educational Game
    3d game, like walking in country (3)
    Please, i would like to make a progra/game like walking in a country, visiting houses. Specially
    church is in my mind. with some music(in church religious)..... or, but its not so important -
    meeting people and talking with them. I cant say, but something between RPG and adventure, maybe
    with some small missions like finding cross, or old pergamen.... but in 3D. Maybe i can download
    some 3d models from net, so 3d modeling is not required for this tool. Just engine - with physics,
    colisions detect, maybe water effect, but not so important, then i need no so many programmi....
  4. Browser Based Rpg
    (2)
    im looking to make a browser based rpg, i was wondering what i would needed to do so and if this
    site would be good to host it. i know basic html and some java script. any info into helping with
    this would be appreciated /smile.gif" style="vertical-align:middle" emoid=":)" border="0"
    alt="smile.gif" />....
  5. An Absolute Basic Guide To Algorithms For Dummies
    (0)
    I really want to learn about algorithms but i dont know how it works at all. Can anyone suggest a
    site, or more preferably a book that can introduce me to algorithms?....
  6. Making Xp Look Like Vista
    (3)
    QUOTE For those that are not planning to install Windows Vista anytime soon, and want the styles
    and feel Vista has to offer when it comes to eyecandy and functionality, there are a few ways you
    can do this which can change not only the skins to Vista, but also icons, menus and your bootup
    screens. The most popular aspect of Vista is its Aero - Transparency and 3D Flip. To get opaque
    windows on Windows XP, you can try out a various software packages. Forget WindowsBlinds, thats not
    a true enablement of the Vista experience, what you really need is the BricoPack Vis....
  7. Help With Making A Textbased Game
    Help With Making A Textbased Game (6)
    hey i really want to make a web text based game like www.hattrick.org i really want it and i have a
    host .... i want to know where i can find a tutorial for it or what programs i need to use and....
    plz help me thanks....
  8. Basic Css
    (6)
    can someone help me learn CSS or give me a good link to learn it....
  9. Help With Making A Textbased Game
    im new to text based games (2)
    I'm new to text based games and i want to learn how to make them can someone teach me the basics
    or the starting of a text based game....
  10. I Really Need Help
    Help with making a city! (5)
    I am currently making a game using MCcodes V2.2 and when its installed etc.. it wouldnt let me make
    a city. It kept saying Notice: Undefined index: minlevel in
    /www/rack111.com/g/a/n/(mygamename)/htdocs/staff_cities.php on line 18 Notice: Undefined index:
    name in /www/rack111.com/g/a/n/(mygamename)/htdocs/staff_cities.php on line 19 Notice: Undefined
    index: desc in /www/rack111.com/g/a/n/(mygamename)/htdocs/staff_cities.php on line 20 Please can
    someone help me! Thanks ....
  11. Need Help Making My Ftp Work
    my ftp is not working (14)
    I get this message: Status: Resolving IP-Address for ftp.losangelesmagazine.net Status: Connecting
    to 68.178.232.100:21... Error: Connection timed out Error: Could not connect to server I have used
    this this ftp before so I know it works. Is there any help anyone can give me? I would really
    appreciate any help with this and anyother topic I posted as I just activated my account today and
    I'm trying to figure out what to do to make this work so I can upload wordpress. I used the
    server and users name that I saw on cpanel and the message above is what I got. Tha....
  12. Xnview 1.93.4
    XnView is a fast multi-format graphics browser, viewer, and converter. (2)
    QUOTE XnView is a fast multi-format graphics browser, viewer, and converter. It can read more
    than 400 file formats, e.g. gif, bmp, jpeg, png, targa, multipage tiff, camera RAW, jpeg 2000, mpeg,
    Avi, Quicktime. EXIF & IPTC metadata are also supported. The image viewer has an Explorer-like
    browser that allows quick and simple browsing of directory contents. XnView supports red eye
    correction, crops and transforms JPEG images losslessly, generates HTML pages and contact sheets,
    and provides batch conversion and batch renaming. Slide shows with transitions effects, scre....
  13. Visual Studio 2008
    express edition (7)
    Microsoft visual studio 2008 express edition is out! (a long time ago) It contains ± 80% of
    functions of the full version. Link: microsoft express ....
  14. Future Browser.. :p
    (8)
    Minimum Spec : Operating System : Windows 2000, Windows XP or Vista System Memory (RAM): 512MB
    Graphics Adapter : 128MB plus 3D Capable CPU : Pentium 4 2.4GHz or AMD 2400xp+ Screen Resolution :
    1280 x 1024 Color : 32-Bit True Color Network Speed : 768 Kbits/sec Great idea.. /rolleyes.gif"
    style="vertical-align:middle" emoid=":rolleyes:" border="0" alt="rolleyes.gif" /> but.. look at the
    minimum spec.. to high.. /tongue.gif" style="vertical-align:middle" emoid=":P" border="0"
    alt="tongue.gif" /> Link for more info and download : CODE http://www.spacetime....
  15. Making Xp Starts 60% Faster
    Making your windows xp starts faster and avoid hang ups. (3)
    By the way this is not my post I have found it in my pc and I forgot the source of it. I'll just
    share it here.
    ----------------------------------------------------------------------------------------------------
    ------------------------- QUOTE Making Windows XP Start 60% Faster Stopping Unneeded Startup
    Services Along with the core operating system and programs that Windows XP runs when it starts,
    there is also a host of services involved. Many of these services are necessary for Windows XP to
    operate correctly. However, many of them are for features in Wind....
  16. [photoshop] Making An Orb
    (1)
    First Step: After openned the photoshop, make a new image and resize to 150 x 150... Second
    Step: Make a new layer and click on Elliptical Marquee Tool... Holding the Shift key do a lap do
    this black... Third Step: Go to Layer -> Stroke and do like this: Size: 3pixels Position:
    Inside Blend Mode: Normal Opacity: 100% Fill Type: Color Color: White Fourth Step: Do a
    right click at the same layer and go to Color Overlay and choose a color you likes... After that go
    to Inner Shadow and change the size to 70... After that mark the Drop Shadow and....
  17. Help Creating A Browser-based Rpg
    (5)
    I have played games like www.the-lost-realm.com and www.torncity.com and I have always wanted to
    make my own. I have some programming experience in Java and Perl, but I'm looking to make this
    game in PHP. It would be nice if someone could add me on MSN at joli334@yahoo.com and help me get
    started. I just want to start out with something simple and work my way up. I know not to shoot for
    the stars right away. Any help from anyone would be greatly appreciated, thanks.....
  18. Making A Turn Based Game Like Ogame
    Help would be nice =D (9)
    The Idea came to me and Just wanted to know what kind of code I'll need to know ect ect Also
    Help would be nice, because I'm kind of fresh =D x....
  19. Asterisknow Pbx (voip Telephony)
    A basic run down & some questions (1)
    I was wondering if anyone here ever used (or uses) Asterisk? If you don't know what Asterisk is,
    it is a VoIP server (Voice over IP). Basically, it's like Vonage's servers in your home
    (beats the $24.99 month phone bill from Vonage, plus your local phone bill, plus internet
    bill). Anyways, nothing beats a POTS right? Well, features such as Voicemail, call forwarding, voice
    options (menus), etc can come with a price tag from your phone company. You already have copper
    phone lines coming into your house so why should you pay extra for these services when y....
  20. C++: Basic Classes
    classes, objects, access labels, members, inline functions (5)
    This tutorial assumes that you have a basic knowledge of C++. You know how to use built-in types,
    like ints, doubles, chars, etc. You should know some types that are part of the STL, like vector,
    etc. Those types that come in the STL are just C++; you can create your own types just like
    those! Non built-in types are referred to as classes . To create a class, you just use the
    keyword class , the name of the class, and curly brackets. CODE //A class named MyClass class
    MyClass { }; In fact, that is all we need to create variables, pointers, or references ....
  21. Programming In Glut (lesson 4)
    Making 3D objects (7)
    Hello, in this tutorial we will be creating a 3D pyramid. We are building this tutorial from Lesson
    3, but I took out the 2D objects and placed a 3D pyramid in there instead. The 3rd axis for drawing
    can be a litle confusing, but after you get the hand of it you'll do fine. Now when you are
    setting a 3D vertex just remember that the camera is on the positive end of the z axis. So things
    that have a more positive z axis value are closer than verteces with a more negative value. Well
    let's get started We always start by including the glut library CODE #i....
  22. New Browser Based Game, Create Or Conquer
    (4)
    Hi all, I posted in another topic but think this one looks more my genre. I've created an
    online MMORPG www.createorconquer.com It's in Beta, not super fancy on graphics, but lots to
    do. The best part is that any player can add to the world, and create their own storyline, quests,
    items, recipes, NPC buildings etc. I'd love some feedback - just trying to make it really cool.
    Thanks Eliia....
  23. Build Your Own Adventure, New Browser Based Game
    (11)
    Hi All, I’m an avid RPG gamer and have loved playing games like D&D and other fantasy style games
    almost all my life. I’ve played lots of RPGs and got really tired of the level grind and lack of
    quests/game content. So over the past 2 years I’ve built my own game system that plays in a web
    browser. I’m a computer programmer for the last 10 years, so I’ve built the system myself. I think
    it’s finally stable enough for BETA, so I am looking for people to test drive it and give me
    feedback. The entire concept is based on allowing players to contribute to the game world ....
  24. Advice About Making A Text Based Game
    (9)
    I got my Astahost account in hopes of making a multi-player, online, text-based game in real time.
    What I need help with is the programming side of things, a little advice really. I talk to the
    maker of a similar type game that I play, and he suggested I learn PHP with MySQL and ASP, and I
    cant really remember if he said anything else. I have been playing around a little with PHP and
    only dabbled with MySQL, but I know nothing of ASP except that it stands for Active Server Pages.
    So basically, the advice I'm looking for is, what kinds of scripting/coding would pe....
  25. Visual Basic 6 + Crystal Reports 9
    how to distribute (6)
    I have made a software with Visual Basic 6 and Crystal Reprots 9. Now I have to distribute it on the
    client side but the problem is coming in distributing the Crystal Reports. I have tried Setup
    Factory but it is not working. Then I have used Visual Studio Installer from Microsoft and
    downloaded Crystal Report Merge Modules from Business Objects website. It is working properly but
    now the setup file size is very big because it carries a lot of files with it. Is there any other
    installer software which can automatically select the required files to be distribute with the ....
  26. Flash Site Software
    Help need for nice flash making software (11)
    Hello iam a newbie in flash ,And i want to make a Website Using flash, Can someone show me some easy
    to understand flash making software,I have macromedia flash mx but i dont understand a word in
    that..! its very complicated..! As i need an easy to use software..! /sad.gif'
    border='0' style='vertical-align:middle' alt='sad.gif' /> ....
  27. (Nearly) Ultimate Music Posting Guide
    Making your music available online (11)
    The (Nearly) Ultimate Music Posting Guide For several years, indie and established musicians
    relied on MP3.com as their primary off-site music host. While there were a small number of other
    similar sites, and MP3.com had its share of problems, it was still THE place to get your music
    posted. It also allowed artists and music fans to create "Stations" where customized playlists could
    be created and shared with the world. Vivendi Universal eventually bought MP3.com and ultimately
    shut it down only to rebuild it as a site for "established" artists, leaving all of the in....
  28. Visual Basic Help
    need help useing visual basic (5)
    i was just wondering, when you are useing the program Visual Basic is there any way to add some
    animation to a form, and if so what is a good(cheep) animation program i could get?....
  29. Basic Tutorial: PHP GD
    basic tuts (15)
    With php gd is the image function library of php. The functions include in this library enable php
    users to creating image up to manipulating photos. PHP gd can create with file extension of jpg,
    gif, swf, tiff and jpeg2000. Installation see http://www.php.net/manual/en/ref.image.php .
    Astahost hosting service has enable gd library, so won’t need any extra works except in coding.
    Lets get started, creating images from php set the canvas: CODE   $img =
    imagecreate(250, 80) imagecreate this function create and set a blank canvas with the
    wide of....
  30. Basic Tips and Tricks in HTML
    (15)
    Here is some quick links for basic html coding... A quick and easy way to create your first web
    page! -> The easiest HTML guide for beginners You'll learn how to create tables from real
    examples. -> How to create TABLE? You will learn how to create frames from a real example.
    You'll see how to create a borderless frame, how to specify the target frame, etc. -> How to
    build FRAMES? Follow a few easy steps to add sound to your web pages. -> How to add sound to a
    web page? This page tells you how to automatically load a visitor to another web p....

    1. Looking for making, web, browser, visual, basic, 6

Searching Video's for making, web, browser, visual, basic, 6
advertisement




Making A Web Browser With Visual Basic 6



 

 

 

 

ADD REPLY / Got an Opinion! a humble request :-) RAPID SEARCH! Free Hosting [X]
Express your Opinions, Thoughts or Contribute more info. to help others.
Ask your Doubts & Queries to get answers, So that "Together We can help others!"
Register FREE for AD-FREE forum, Create your own topics, Ask Questions, track topics, setup subscriptions & notifications and Get a Free Website w/ Email and FTP.
500MB Space *No Ads*, CPanel, FTP, PHP, MySQL, EMails - 100% FREE