Solved

Using Internet Explorer as a VB control

Posted on 1997-05-16
3
331 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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
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…
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…

772 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