To run this sample application, perform the following steps:
The solution file is named QueueClientForDotNet.sln. The solution file is in the VBDOTNETQueueClient folder inside the Samples folder.
To build the solution, choose “Start Debugging” in the Debug menu. The application starts.
You may use either Private or Public queues. The application default specifies private queues.
The Local Private Queues drop-down list contains the MSMQ queues on your computer. Select the queue in the list you want to receive the eConnect XML message.
Use the message label to identify your message when viewing the contents of the queue.
Click the ellipsis (...) button next to the XML Document Path box. A dialog box opens. Use the dialog box to find and open an XML file. Highlight the file you want to use and click Open.
The Browser View and Text View tabs display the contents of the XML file. You may edit the XML in the Text View tab. If you edit the XML, you will be prompted to save your changes to the file.
Click the Send to Queue button to send the eConnect XML message to the specified queue. A message box indicates the message was successfully sent to the specified queue. Click OK.