InetSendCreateWinCmd Example for Visual Basic

Dim nRet As Integer

nRet = LEADNet1.InetSendCreateWinCmd(999, "Window", "Window999", 0, 0, 0, 100, 100, 0)
If ((nRet <> 0) And (nRet <> ERROR_DATA_QUEUED)) Then
   MsgBox "ERROR " & CStr(nRet) & " calling InetSendAttachBitmapCmd."
Else
   MsgBox "InetSendCreateWinCmd Executed."
End If