Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

IE's TWebBrowser & TWebBrowser_V1

Posted on 1998-05-18
4
Medium Priority
?
361 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

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 300 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

Receive 1:1 tech help

Solve your biggest tech problems alongside global tech experts with 1:1 help.

Question has a verified solution.

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

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…
Look below the covers at a subform control , and the form that is inside it. Explore properties and see how easy it is to aggregate, get statistics, and synchronize results for your data. A Microsoft Access subform is used to show relevant calcul…
When cloud platforms entered the scene, users and companies jumped on board to take advantage of the many benefits, like the ability to work and connect with company information from various locations. What many didn't foresee was the increased risk…
Suggested Courses

581 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