StartUp Example for Visual Basic
Dim nRet As Integer
'start the network
'set the temporary file path
LEADDICOMNet1.NetworkTempPath = "d:\temp"
LEADDICOMNet1.NetworkSecurityMode = DICOM_SECURE_NONE
nRet = LEADDICOMNet1.StartUp
If (nRet <> 0) Then
MsgBox "Error"
End If
'do some network communication here
'...
'...
'shut down the network
LEADDICOMNet1.ShutDown