Solved

IE's TWebBrowser & TWebBrowser_V1

Posted on 1998-05-18
4
346 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

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

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…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

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