Click here to Skip to main content
15,884,099 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Need to add a dicom viewer in another solution all in vb. Help would be tremendously appreciated

What I have tried:

I've tried to convert
C#
[^]

To VB
[^]
Posted
Updated 16-Mar-18 10:11am

1 solution

You can try this C# library: openDICOM.NET[^]
Sorry about that, it seems to be a mess without decent documentation or even a .sln to get you started.
You already found this CodeProject C# example, which works (but not for all pictures)
DICOM Image Viewer[^]

To convert it to VB.NET, use this c# converter: Convert .NET - A multipurpose conversion and developer tool[^] But apparently the translation to VB is not perfect, so some work still needs to be done ...
 
Share this answer
 
v3
Comments
Member 13302390 16-Mar-18 16:21pm    
I've tried as you suggested. Like the code translator. Still no success getting this code to work
https://app.box.com/s/fm0c28cxzcgsssi6asbgr2n1b7ly2v8k

Any help would be appreciated
RickZeeland 16-Mar-18 16:57pm    
I set the start Form to MainForm in the project settings and I tried your solution with some sample files from http://barre.nom.fr/medical/samples/ but it does not work as far as I can see. As I have no experience with Dicom I'm afraid I can not be of much help to you, sorry !
Member 13302390 21-Mar-18 7:38am    
Too bad. Having a solution within vb for dicom reading (and eventually writing) would be tremendously helpful. If there are any solutions, please let me know
RickZeeland 21-Mar-18 8:10am    
Well, you can mix VB and C# projects in your solution, you could put the relevant C# code in a separate DLL, it's ugly but it is a possibility :)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900