The C# demo doesn't build directly out of the box. I
hope this saves someone a bit of time figuring out the
problems.
Regards
Will Stott
Installation instructions for release 24 - Building Sample
ezDICOM Viewer in C#
1. Extract ZIP file to a working directory, say
c:\work\ezDICOM
2. Start visual Studio .NET 2003 and open the solution
file (File | Open Solution)
C:\Work\ezDICOM\source\activex\ezDicomCsharp\ezDic
omCSharp.sln
Note: ignore warnings about project location not being
fully trusted etc and convert to version of Visual Studio
suitable for your machine
3. Open the Solution Explorer window (View | Solution
Explorer) and the references folder then delete the
references to AxezDICOMax and ezDICOMax
4. Open the file ezDicomDemo.cs in Design View (View
| Designer)
5. Open the Toolbox (View | Toolbox) and right-click |
Add or Remve Items to open the Customise Toolbox
dialog box. Select COM Components page. Press
Browse and find c:\work\ezDICOM\
source\activex\ezDICOMax.ocx. Finally press OK to
add this component to your toolbox.
6. delete line 49: "private AxezDICOMax.AxezDICOMX
the_ezdicom;"
7. Drag athe ezDICOM control from the toolbox window
and drop it on the Form ezDicomDemo.cs. Adjust the
size of the control so it fills the client area of the Form.
8. Set the Anchor properties of the control to Top,
Bottom, Left, Right.
9. Set the Design name of the control "the_ezdicom"
10.Rebuild the Solution ( Build | Rebuild Solution ) and
enjoy!
Install instructions for C# demo