Solved

IE's TWebBrowser & TWebBrowser_V1

Posted on 1998-05-18
4
343 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
Comment Utility
0
 
LVL 5

Author Comment

by:JimBob091197
Comment Utility
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
Comment Utility
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
Comment Utility
> 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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
This video discusses moving either the default database or any database to a new volume.

728 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

10 Experts available now in Live!

Get 1:1 Help Now