• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 468
  • Last Modified:

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.
0
BigBoss
Asked:
BigBoss
  • 4
  • 3
1 Solution
 
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
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

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

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.

  • 4
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now