Solved

Using Internet Explorer as a VB control

Posted on 1997-05-16
3
333 Views
Last Modified: 2012-08-13
I am writing an email package in VB 5 Professional on Windows 95.
I want hypertext links in the email note to be active so that you can read a web page just by clicking on the address in the email.  Some have said to me that I should simply embed Internet Explorer in the VB form I have designed, so that I convert all the emails to HTML, and then can click on  any URLs in the email.

QUESTION:-  How do I embed Internet Explorer in a VB form, and , when I have done so, when I send an email to another person, will I have to strip out the HTML tags?

Thanks.

0
Comment
Question by:trimtrom
  • 2
3 Comments
 

Accepted Solution

by:
direwolf earned 100 total points
ID: 1426360
There is a 'Microsoft Internet Controls' Custom control.  It allows you to go to a web page via the command WebBrowser1.Navigate(URL As String)  Where webbrowser1 is a internet controls custom web browser control.  SHDOCVW.OCX is the file.  I believe I recieved the file when I went to www.microsoft.com/sitebuilder and that I already had another similar copy.  Try going to that site if you don't have the control already.  It automatically downloads when you browse there.  If not look for the control I mentioned above, 'Microsoft Internet Controls' in your Custom Controls dialog.  There are methods to check for Browse information before and after navigation.  I made a small web browser using this.  If you'd like to see the source code for my web browser, e-mail me at direwolf@emapnet.com

Direwolf
0
 

Author Comment

by:trimtrom
ID: 1426361
Thanks.  Will check microsoft sitebuilder site
0
 

Author Comment

by:trimtrom
ID: 1426362
I have investigated the sitebuilder site, and found everything as promised.  There was one big disappointment, however.  Apparently you can only distribute the final application including the "Microsoft Internet Control" to a user who already has Internet Explorer on his machine.

This makes the distribution of my prospective email package far too restricted.

Thanks anyway.
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

821 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