HomeTechniques and TipsDeveloper Kits—BDK, EDK, RDK, RODKC# with the RDK

19.14. C# with the RDK

This article relates to discontinued products, but is retained for the benefit of our customers with existing licenses. For current information, please see Support Policy for RDK, BDK, EDK, and RODK.

Applies to:
@RISK Developer Kit 4.1

I'm building an application using the @RISK Developer Kit. Should I use the ActiveX interface or the DLL interface?

Use the object-oriented interface, which is meant for COM/ActiveX and .NET. The title of the manual refers to ActiveX, but there's a section in it that talks about using that interface with .NET. We don't support the DLL interface with .NET.

Do you have any C# examples of the @RISK Developer Kit?

Yes, after you install the Developer Edition of the RDK, you can find two examples in
C:\Program Files\Palisade\RDK4\DotNet\COMInteropAssembly\Examples\SimpleSimCSharp
and
C:\Program Files\Palisade\BDK4\DotNet\COMInteropAssembly\Examples\FitDensityCSharp

Those examples don't show graphing. Do you have any graphing examples in C#?

We have a Visual Basic .NET examples that does:
C:\Program Files\Palisade\RDK4\DotNet\COMInteropAssembly\Examples\GraphVB
The structure of the code in C# would be very similar.

An improved version of that example (still with Visual Basic), with better-looking graphs, is available as file GraphVB_PixelToTwipConversion.zip, accompanying this article.

last edited: 2012-09-02

Downloads

This page was: Helpful | Not Helpful