Solved

IE's TWebBrowser & TWebBrowser_V1

Posted on 1998-05-18
4
347 Views
Last Modified: 2009-12-16
This isn't truely a Delphi Q, but my implementation is in Delphi, so I figured you guys deserve the points...  :-)

I want to be able to browse the net from my Delphi 3 app, so I decided to import MS Internet Explorer as an ActiveX control (shdocvw.dll) and use MS IE 4 as my browser.  This works fine, but I noticed that the TLB file (SHDocVw_TLB.pas) has 2 very similar controls: TWebBrowser_V1 and TWebBrowser.

Both of these controls have similar methods & properties, although I have noticed that TWebBrowser (v2??) has more than TWebBrowser_V1.

So, the question is: what is the difference between TWebBrowser_V1 and TWebBrowser?
In particular I'm interested to know when each should be used.  Or does it make little difference?  Or should I always use one or the other?

Thanks,
JB
0
Comment
Question by:JimBob091197
  • 2
  • 2
4 Comments
 
LVL 5

Expert Comment

by:ronit051397
ID: 1346094
0
 
LVL 5

Author Comment

by:JimBob091197
ID: 1346095
Hi Ronit

It took a bit of reading, but I found the following at the URL you gave:

"The new WebBrowser_V1 object is now included with the WebBrowser control.  .....  You can use the WebBrowser_V1 object in a Visual Basic project to run on computers with either Internet Explorer 3.0 or 4.0 installed. The WebBrowser object requires Internet Explorer 4.0 to access the new properties, methods, and events listed above."

If you answer the Q I will grade it.

Thanks,
JB
0
 
LVL 5

Accepted Solution

by:
ronit051397 earned 100 total points
ID: 1346096
Actually you could have found it immediately by typing ^f (for find) and then type '_v1'.
By the way, there are also girls(in additional to the guys) in the Expert-Exchange
Community :-)

Regards,
Ronit
0
 
LVL 5

Author Comment

by:JimBob091197
ID: 1346097
> Actually you could have found it immediately by typing ^f (for find) and then type '_v1'

Yes, that would have been the easiest, looking back.  However, I started by searching for properties & methods which existed in WebBrowser and not WebBrowser_V1, which meant that it took a little longer to find it...

> By the way, there are also girls (in additional to the guys) in the Expert-Exchange Community :-)

Hehe...  by "guys" I meant all people.  I'm not the 1st person to use that colloquialism to refer to both men & women.  Sorry if I offended anybody.

Thanks again,
JB
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…

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