InetSendLoadCmd Example for Visual Basic

Dim nRet As Integer

   nRet = LEADNet1.InetSendLoadCmd(999, "v:\images\eagle.cmp", 0, 1)
   If ((nRet <> 0) And (nRet <> ERROR_DATA_QUEUED)) Then
      MsgBox "ERROR " & CStr(nRet) & " calling InetSendLoadCmd."
   Else
      MsgBox "InetSendLoadCmd Executed."
End If