JimBob091197
asked on
IE's TWebBrowser & TWebBrowser_V1
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
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
ASKER
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
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
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
> 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
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
http://207.68.156.61/msdn/sdk/inetsdk/help/itt/IEProg/WB/WebBrowser.htm