Solved

URGENT - VB5 talking to IE Browser

Posted on 1998-08-12
5
156 Views
Last Modified: 2011-09-20
I know how to write an app, in VB5, that contains the IE Browser component and interact with it.

What I would like to know is how can I interact with a browser or browser component that is owned by another application.  i.e. something that track what IE is doing at a given moment, or will display a message box when IE has completed a download etc.
0
Comment
Question by:SteveWood
  • 3
5 Comments
 
LVL 2

Expert Comment

by:bernfarr
ID: 1468609
There's a good article on monitoring IE 4.0 Events in the June 1998 issue of Microsoft Systems Journal(MSJ). Clearly this is aimed at Visual C++, but I think much of it can be done from VB5.

The source code for the article can be found at the MSJ web site:
  http://www.microsoft.com/msj

The site only contains the start of the article, but you find a colleague who has the magazine itself.
0
 
LVL 2

Expert Comment

by:bernfarr
ID: 1468610
I just glanced through this article and it does contain some VB code, so it looks like it will be of some use to you.
0
 
LVL 1

Author Comment

by:SteveWood
ID: 1468611
could you submit your comment as a question so that I can let you have the points.  I think just pointing me in the right direction is worth it.  Thanks for a quick response.
0
 
LVL 2

Accepted Solution

by:
bernfarr earned 100 total points
ID: 1468612
Thanks Steve.

Drop me a line at bernardfarrell@hotmail.com if you have a problem getting hold of this article.
0
 
LVL 1

Expert Comment

by:soeding
ID: 1468613
bernfarr,

you may "interact" with the MSIE (over ActiveX) or with the Netscape Navigator/Communicator (over DDE), but they will not RESPOND to your program, they do not have any EVENTS.

Therefore, use the MS Inet control at the same time you use the MSIE...

Regards
0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
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 Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
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…

810 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