Troubleshooting DicomViewer controls in web pages
There are several important steps to getting a DicomViewer visible in a web page
Providing a License Key
<object CLASSID = "clsid:5220cb21-c88d-11cf-b347-00aa00a28331"> <PARAM NAME="LPKPath" VALUE="Dicomobjects.lpk"> </object>
Note that this must be used almost exactly as-is - neither the GUID nor the text "LPKPath" should be changed. The file Dicomobjects.lpk must be available on the same web site (a cross site URL is not allowed), and it is best to place it (as suggested by the above code) in the same directory as the html/ASP files.
Licenced developers with their own copy of DicomObjects.lic may make their own LPK file (possibly including the licences for any other licenced components on the page) using the Microsoft "LPKTOOL.EXE" tool, but a copy pre-built is available to licenced developers on request.
Note: The license key must appear in the source data before the viewer is created.
Ensuring that DicomObjects is installed on the user's machine
When defining the DicomViewer control, ensure that you include a "CODEBASE" parameter as below.
<OBJECT ID="Viewer" WIDTH=600 HEIGHT=600 CLASSID="CLSID:853AAF97-E49C-11D0-A303-0040C711066C" CODEBASE="DicomObjectsFull.cab#"> </OBJECT>
The fully signed CAB file is available from Medical Connections to licenced developers on request Note that many systems (particularly in hospitals) may still not allow auto-downloading and installation of ActiveX controls, even if signed, if the hospital's policy is very restrictive.