I'm not able to find any information on this. Could someone let me know what the difference is between Shell.Explorer & Shell.Explorer.2 is?
If I were to create an embedded web browser, which is the preferred method and why?
Thank you.
Difference between Shell.Explorer & Shell.Explorer.2?
Re: Difference between Shell.Explorer & Shell.Explorer.2?
Look in the registry. If they have the same CLSID, they are the same class (on your system).
Shell.Explorer has a sub-key "CurVer", which points to Shell.Explorer.2. Shell.Explorer.1 and .2 are two different versions of the same class. Shell.Explorer points to a specific version. This is common for COM classes.
Microsoft don't document any different versions of the control. As far as I can tell, the WebBrowser control/InternetExplorer object documentation doesn't even mention the ProgID (Shell.Explorer) or say which CLSID to use. Just use Shell.Explorer, or a URL.
Shell.Explorer has a sub-key "CurVer", which points to Shell.Explorer.2. Shell.Explorer.1 and .2 are two different versions of the same class. Shell.Explorer points to a specific version. This is common for COM classes.
Microsoft don't document any different versions of the control. As far as I can tell, the WebBrowser control/InternetExplorer object documentation doesn't even mention the ProgID (Shell.Explorer) or say which CLSID to use. Just use Shell.Explorer, or a URL.