?
Solved

Show website on VB6 form

Posted on 2003-02-25
5
Medium Priority
?
278 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

On Demand Webinar: Networking for the Cloud Era

Ready to improve network connectivity? Watch this webinar to learn how SD-WANs and a one-click instant connect tool can boost provisions, deployment, and management of your cloud connection.

Question has a verified solution.

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

Although it can be difficult to imagine, someday your child will have a career of his or her own. He or she will likely start a family, buy a home and start having their own children. So, while being a kid is still extremely important, it’s also …
What do responsible coders do? They don't take detrimental shortcuts. They do take reasonable security precautions, create important automation, implement sufficient logging, fix things they break, and care about users.
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…
Suggested Courses
Course of the Month7 days, 21 hours left to enroll

765 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