Host .NET Viewer on Web Page

As said by Microsoft, you cannot use the overloaded syntax for the <OBJECT> tag to load .NET user controls into Microsoft Internet Explorer from the file system because of security concerns. Therefore if you want to host the .NET version of DicomViewer object, you have to register it into the GAC (Global Assembly Cache) before you can use it, in the same way that you use the COM version Viewer object.

Here is the steps to follow:

1. Open C:\WINDOWS\Assembly and drag DicomObjects.NET.x.y.dll into it. (SKIP this under windows 7)

2. Open the Visual Studio Command Prompt and Type in RegAsm "C:\MedicalConnections\DicomObjects.NET\DicomObjects.NET.x.y.dll" if C:\MedicalConnections\DicomObjects.NET is the folder where you keep the DLL. If you are using .NET 1.1 version then it is DicomObjects.NET.1.1.dll the file name, or DicomObjects.NET.2.0.dll if you are using the 2.0 version. If successful, you should have a "Types registered successfully" message. Please NOTE, you need the admin privilege to do this.

3 If you are using Window 7 then also run gacutil -i "C:\MedicalConnections\DicomObjects.NET\DicomObjects.NET.x.y.dll" (gacutil is included in the Microsoft Windows SDK)

4. Use the following ClassID for creating the Viewer object:

D0CC2EF0-B707-42ba-8FA7-1DF567D3CD6B <OBJECT id="Viewer1" classid="clsid:D0CC2EF0-B707-42ba-8FA7-1DF567D3CD6B"...>

Then you should be able to see and use the viewer object in your browser, as if it is the COM object.

Sample HTML code which has been tested:

   <object id="myViewer" classid="CLSID:D0CC2EF0-B707-42ba-8FA7-1DF567D3CD6B" 
           style="width: 727px; height: 520px; background-color: black"
           codebase="DicomObjects.NET/DicomObjects.NET.2.0.dll" name="myViewer">
   <script type="text/vbscript" language="vbscript">
       sub window_onLoad()
       end sub 

We Currently Accept:

Other currencies

For Reference purposes only:

The price is based on current exchange rates but is only an approximation. Please contact us for a final price