Distributing the shdocvw.dll web browser control

Hello,
I am developing an ActiveX control that implements the shdocvw.dll web browser control.
My questions are:
1. Is it enough to distribute this dll only with my setup, for may application (ActiveX control) to function on the user machine? in other words, are there any other dlls (dependencies) that are used by the shdocvw.dll, that must be included in my setup? of course, the VB runtimes, etc. will be included in the setup.
2. Is it legal to distribute this dll with my application? or should I obtain any permissions from Microsoft first?

Thank you.
BigBossAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Erick37Commented:
0
BigBossAuthor Commented:
Erick37...thank you, but I have already checked this url before asking the question!
I remember sometime in the past I saw (somewhere) that you can freely distribute this control without the need to get a license, but can not remember where I saw it :-(
The above url even says that you should obtain a license for distributing the Comctl32.dll, which most developers distribute with their applications. I am not sure if everyone has applied for such a license before using the Comctl32.dll in their apps!

Thank you...anyway.
0
hesCommented:
If you will be installing a program which uses the WebBrowser control, you do not need to distribute any files. Many people think that you must distribute the SHDOCVW.DLL file, however this is not the case. If your user has Internet Explorer installed, he/she will already have this file. If your users do not have Internet Explorer installed, then they cannot use your program until they do. Simply distributing the SHDOCVW.DLL file to a user without IE will not work! This is the main condition that Microsoft sets out if you decide to use the WebBrowser control.
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

BigBossAuthor Commented:
hes, thank you for your comment.
I think your answer is something in the right direction.
I also noticed that the package and deployment wizard does not automatically include the shdocvw.dll, which most likely means (as Microsoft has done it) that simply the application will assume that IE is already installed on the end user system.
Also, as you indicated, I very much suspect that adding only this dll will make my control works on the user machine. I think that all the other IE files and the shdocvw.dll dependencies must exist on the user machine in order for my control to work.

Now, based on your answer and all the above, and since my package will not include the shdocvw.dll, I do not really need to get a license to distribute my control that uses the functionality of the web browser control...right? Does this also apply if my control will have, among its other functionality, the ability to work as an in-place web browser in the user (developer) application?

BTW, do you have any idea on whether or not my control will work on the user machine if he/she has another version of the shdocvw.dll than the one I have?

P.S: I will grade you with "A"!

Thank you.
0
hesCommented:
<<he/she has another version of the shdocvw.dll>>

Yes it will, that is one of the reasons for not having to distribute it. As long as you are not using something that is version specific (IE you are using something introduced in IE6 which was not used in a previous version). Otherwise if you develop using IE6 on your machine and the user has IE5 it will just use the IE5 version of the dll.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
BigBossAuthor Commented:
hes...thank you...but you did not comment on the follwoing:

Now, based on your answer and all the above, and since my package will not include the shdocvw.dll, I do not really need to get a license to distribute my control that uses the functionality of the web browser control...right? Does this also apply if my control will have, among its other functionality, the ability to work as an in-place web browser in the user (developer) application?

What is you opinion?

Thanks.
0
BigBossAuthor Commented:
hes....are you there!!!
0
hesCommented:
<<, I do not really need to get a license to distribute my control >>

That is correct

<<the ability to work as an in-place web browser in the user (developer) application?>>

Again no license needed
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Visual Basic Classic

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.