Results 1 to 2 of 2

Thread: MSMQ OpenQueue Method

  1. #1

    Thread Starter
    Member
    Join Date
    Jul 2001
    Location
    Way, way out there...
    Posts
    53

    MSMQ OpenQueue Method

    If I want to read queue on another machine in the same domain, how do I specify 'queuepathname' parameter in the openqueue method?

    I have tried IP/path, machine_name/path etc... no luck...

    FYI... protocol is TCP

    Thanks,

    Tom
    Tom

    This is why I'm forcing my son to become a vet...


  2. #2

    Thread Starter
    Member
    Join Date
    Jul 2001
    Location
    Way, way out there...
    Posts
    53

    Found it...

    Just FYI...

    When opening a queue on a remote machine, must use the FormatName property of the QueueInfo obj. ("Direct" spec)

    Dim qinfo As New MSMQQueueInfo

    'qinfo.FormatName = "DIRECT=TCP:" & QueuePath

    Hope it helps someone.

    Tom
    Tom

    This is why I'm forcing my son to become a vet...


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width