[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now


Do you have Web browser control

Posted on 1998-10-14
Medium Priority
Last Modified: 2010-04-30
I'm looking for a web browser control that has something like an HTML Source property. So that I could assign "<HTML><Hello</HTML>" to that property, etc. MS Internet Controls don't have that. Thanks in advance
Question by:lbk
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
  • 2

Accepted Solution

Answers2000 earned 200 total points
ID: 1439961
1. With MS Internet control you can point it to a file by using the navigate method with a path on your local HD.  Write the file out as a text file from VB first.  You can easily wrap this up in a function to make it look to rest of program almost as if assigning it.

2. Your HTML is invalid, try
<TITLE>Hello Title</TITLE>

[use CR/LF sequences to separate lines if you want this is CHR$(13)+CHR$(10) -  they have no effect on layout

2. If you don't like IE, try the webster control

There's a full list of methods at

AFAIK this also can navigate to a local file on your HD.  I don't think it can do memory strings.

Probably the reason for lack of memory strings for content in #1 or #2 is the linking, frames, image tags etc. in which HTML requires a file/URL reference


Author Comment

ID: 1439962
and thanks. Seems reasonable

Expert Comment

ID: 1439963
Closing tag on HTML file got misplaced, should have read

     <TITLE>Hello Title</TITLE>

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
Suggested Courses

650 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