[Webinar] Streamline your web hosting managementRegister Today

x
?
Solved

Show website on VB6 form

Posted on 2003-02-25
5
Medium Priority
?
286 Views
Last Modified: 2010-04-17
I made a program in visual basic 6 and I used the Microsoft HTML Object Library Component, but when i run the program it only shows some of the upper left hand corner of the website and where the rest of it should be it is transparent ? Please HELP !!!

My e-mail is: claym@usa.com
0
Comment
Question by:claym
  • 4
5 Comments
 
LVL 3

Expert Comment

by:Da_Weasel
ID: 8018910
can you post the project somewhere or paste the relevant code?
0
 

Author Comment

by:claym
ID: 8019783
Yes here is the code: http://www.angelfire.com/oh3/Clay/vb6code.zip , I put it in a zip and you can download it. I made the program go to www.google.com , but you will notice when you run it that it only show the upper left-hand corner of the website and I don't know how to fix it. Please HELP !
0
 
LVL 3

Accepted Solution

by:
Da_Weasel earned 120 total points
ID: 8019985
You are using the HTML Object Control.  If you want to show a web page in a form do the following:

Goto Components and select Microsoft Internet Controls
You should now have a little globe icon, thats the Web Browser control.
Put one of those on your form, size it, and then in the form_Load event add this
WebBrowser1.Navigate("http://www.google.com")

The WebBrowser control has a ton of methods that make navigation easy.
0
 
LVL 3

Expert Comment

by:Da_Weasel
ID: 8020043
You are using the HTML Object Control.  If you want to show a web page in a form do the following:

Goto Components and select Microsoft Internet Controls
You should now have a little globe icon, thats the Web Browser control.
Put one of those on your form, size it, and then in the form_Load event add this
WebBrowser1.Navigate("http://www.google.com")

The WebBrowser control has a ton of methods that make navigation easy.
0
 
LVL 3

Expert Comment

by:Da_Weasel
ID: 8020126
You are using the HTML Object Control.  If you want to show a web page in a form do the following:

Goto Components and select Microsoft Internet Controls
You should now have a little globe icon, thats the Web Browser control.
Put one of those on your form, size it, and then in the form_Load event add this
WebBrowser1.Navigate("http://www.google.com")

The WebBrowser control has a ton of methods that make navigation easy.
0

Featured Post

Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
No other job is as rewarding and demanding as building an iPhone app is. It is not really in the hands of the developer for the success of an iPhone app. Many factors operate jointly for every iOS application's success in the market.
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
Starting up a Project

590 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question