Click here to Skip to main content
11,929,675 members (48,685 online)
Rate this:
Please Sign up or sign in to vote.
See more: VB6 MSMQ
Background: I'm an MSMQ novice and am having to support some legacy VB6 windows services; one on MachineA which sends SQL insert statements to a transactional public queue on MachineB, and another service on MachineB which consumes the messages.

We had one queue set up and working just fine, then I was asked to create another queue to handle different messages. The service on MachineA has run-time config options to specify the queue to send to, so this was set up in the config and the service created the outgoing queue.

At this point the public queue did not exist on MachineB, but once this was manually created I was expecting to see messages to start appearing in it, but none have.

I thought it might be permission but the code below is used to instantiate the queue object in code:


...MQ_DENY_NONE meaning that the queue is available to anyone.

From perfmon counters on MAchineB IO can see that under the MSMQ session the number of messages is building up, but nothing in the queue itself.

Also there is nothing in any of the dead-letter queues.

Is it as simple as I should have created the receiving queue first?

Posted 27-Sep-12 6:30am

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web02 | 2.8.151126.1 | Last Updated 27 Sep 2012
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100