Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

IE's TWebBrowser & TWebBrowser_V1

Posted on 1998-05-18
4
Medium Priority
?
354 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
Video by: ITPro.TV
In this episode Don builds upon the troubleshooting techniques by demonstrating how to properly monitor a vSphere deployment to detect problems before they occur. He begins the show using tools found within the vSphere suite as ends the show demonst…
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…
Suggested Courses

660 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