Solved

Using Internet Explorer as a VB control

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

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…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
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…

862 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

Need Help in Real-Time?

Connect with top rated Experts

25 Experts available now in Live!

Get 1:1 Help Now