help needed to access messaging queue -
Hello,
I need to create a VB6 app which would be able to read and clear messages stored in the message queue on a Windows 2003 server. The messages are being created in the queue by a 3rd party vendor application.
So far I have been unsuccessfull in finding examples on the web. Most of what i have found is for .NET not vb6.
Here is something I was messing with but it doesnt work, I don't even know which references to add in order to get the system.messaging functionality working.
Public Sub HandleQueue()
MessageQueue1.Path = "YourMachine\MyQueue"
Dim MessageQueue1 as New System.Messaging.MessageQueue(".\MyNewQueue")
Dim MessageQueue1 As New System.Messaging.MessageQueue()
MessageQueue1.Path = ".\MyQueue"
MessageQueue1.Purge()
End Sub
Any help woould be greatly appreciated.
Thank You,
Art
help needed to access messaging queue -
Hello,
I need to create a VB6 app which would be able to read and clear messages stored in the message queue on a Windows 2003 server. The messages are being created in the queue by a 3rd party vendor application.
So far I have been unsuccessfull in finding examples on the web.
(update) help needed to access messaging queue -
After a long search on the internet I have found a VB6 example of accessing the messaging queue, but the problem is it requires a reference to “Microsoft Message Queue 3.0 Object Library” which is not on my list when I go to Project / References.
Anyone know where I can get this
An unhandled exception of type 'System.Messaging.MessageQueueException' occurred -
Hi,
I am trying to set up a VERY simple project to send message to MSMQ from .Net using C#. When I run my code it throws an exception
"An unhandled exception of type 'System.Messaging.MessageQueueException' occurred in system.messaging.dll"
I can only find one othe
Multiple Services Questions -
Hi,
This is a bit of a hypothetical question....
Background
My company requires programs to be written that process HL7 messages (Health Messaging) and perform different actions upon recieving these messages... update certain databases, ignore the message etc. Messages are recie
Messaging feature with MSMQ -
HI, i am planning to include a messaging feature in my app. So that the different users on the network using the app can send messages to each other. The messages are not instant messages, they are to be act like email which can be sent to user even when they are not on the network but
ActiveX Design Question for the Knowledgeable -
Hello, I need some assistance with the following design issue:
I've made an ActiveX app that acts like a queue between two different external applications. One external app calls my ActiveX app and feeds data into the queue at a sporadic but high rate and I can't hold up that applic
MQSeries messaging and transactions -
Help!
I urgently need to know how to rollback an MQSeries transaction.
The scenario:
Set Session = Nothing
Set Session = New MQSession
Set Manager = Nothing
Set Manager = Session.AccessQueueManager("ShuntCe")
Manager.BeginOptions = M
[2005] Queues & Multithreading -
I'm using the queue collection type as a way of storing instructions that will be written to an external piece of hardware. I'm going to have a thread that will write to the device by getting the next object in the queue. I will then have a method to add instructions to the queue - whi
Restarting a remote MessageQueue on a W2K machine -
I'm stumped. I'm working on an application in VB.Net that uses System.Messaging.MessageQueue to listen for messages sent to a private queue on a remote machine. Both machines are in the same Workgroup in a small private LAN. The messaging is working fine, but since the remote machine i
Pausing/Resuming Windows Print Queue -
Does anyone know how (in VBA) to pause a print queue and then unpause it again?
I have an Excel macro that I need to pause the queue with, let a lot of jobs collect in the queue and then the last command sent by the macro is to resume the queue but I cannot for the life of me find t
Using Message Queues -
Hi,
I am hoping that someone knows the correct way to process/read Microsoft Message Queues.
I have an application the receives messages from a messaging server and places them on the Message queue after parsing them. This is done separatley for speed.
A separate application s
[02/03] Getting Private Queues from Remote Machine -
hi,
i have created a new private queue in another PC (pc name : A) and i am trying to access the private queue from another PC but i keep getting errors "Message Queue Service is not available". I have check that the MS Queue service is running in PC A.
Here's the code
How to monitor another app's COM object -
I have a VB6 COM object that I created that holds a queue of requests (queues.cls) (mostly printing requests). It does this by saving a collection of queue objects (queue.cls). Regardless of what information is saved my question is this.
I have application #1 (ABC.exe) that is an
[2003] check print queue -
I am currently running several reports and sending them to our fax
machine via the printer queue. If I run my code creating and faxing
the reports without pausing it overloads the queue.
Is there a way to check the number of jobs and pause the code until
the queue is empty then p
Microsoft MSMQ Multiple Queue Priority -
hi,
I am using the Microsoft MSMQ object to queue orders that are automatically processed by the MSMQ Trigger when they arrive into the queue. Now, I have two types of orders and I have two seperate private queues for each. Both queues have triggers that callup a COM+ component to p
MSMQ-How To Create A Queue -
I have got windows 2000 workstation installed machine. When I try to execute the following code to create a queue, it does not create the queue(no error!). Any solution to this?
On Error GoTo myer
Dim qi As New MSMQQueueInfo
Dim x
On Error Resume Next
Can I use MSMQ in a queue processing application -
Hi - looking for some guidence here.. I have developed an application where users post records to a table called message_queue and then an application to process the queue and the records within it. All works fine except I need to figure out a better way to handle the queue. For exampl
Queues -
I am using a message queue to add reliability to my application. If the primary message queue on the server goes down(or the server goes down) and I automatically create a local queue, is there a way to tell if the primary queue is down ?
thanks
[2005] Best way to implement a circular queue -
Hi!
In the framework I have the Queue<> generic collection. But this is a simple queue, what is the best way to implement a circular queue using generic collections? It is very easy to implement from scratch but I really don't want to do this...
kind regards
Henrik
Access the Printer Queue -
Hi,
I am getting to print PDF Files using the PDF.OCX component. The scenario is that at a time atleast 4 PDF files can be sent for Print. I need to trace the Printer Queue n figure out if all the files that were spooled have been successfully printed. If so, i should update a Flag
stack n queue(URGENT) -
i would like to noe is there anyone can help me in stack and queue?
i wanna use stack and queue to do a searching. A started state need to pop in to the stack n refer to the node find the true node and store the node inside to the stack and queue. Anyway, the stack stop when v found t
Queue of objects -
okay, basically I have a list of classes that control the movement of a robot of sorts.
2 problems.
I need to be able to instantiate the classes at run time.
i.e. I need the user to be able to choose to have the robot to go foward then backward move arms and repeat as many ti
DoEvents / Keyboard queue -
Is there some kind of keyboard queue?
I am developing a COM AddIn for Word. Now e. g. I press ENTER in one of my forms to start some action. In my code there are some DoEvents and each time this DoEvents is executed and there are still keys in a queue or something like that there is
Help for MSMQ -
Hi,
i need help to use MSMQ into VB language
how can i write in a private queue?
how can i read a queue?
how can i delete a message from a queue?
best regards
Multiple Structures -
Let me explain the queue thing some more. I have to set up a program that will read in a bunch of randomly generated times and calculate them in different stages. It's called a nonpreemtive shortest job first algorithm. I have a process queue(or a linked list), a memory queue, and a
How do I move documents from a print queue to another print queue -
I am writing a VB-program that is supposed to control peoples prints. They are supposed to print and then go to the PC where the printer is and activate their document there. The idea is that the physical printer is having a magnetic card reader for the billing of the printouts.
So,
messaging -
I'll like to make an application that can run under intranet enviroment. How do we make a messaging application like the messaging in the unix system, where i can contact all the users that are in the system and send them a msg for example a warning msg to stop their activity??? I'm us
I have had a idea....my desktop -
Well i know you get programs to customise the windows shell and all sort's well i am going to try and make my own Desktop...but not any old desktop
I want it to intergrate with my program's
it is quite a big task but i plan on working on it over time for example i would have a t
Instant Messaging - Login -
Hi there,
I have a website which allows users to login with their own account. I am in the middle of making a Instant messaging app, the question is, how would i get the login of the instant messaging to authenticate to their logon details on the web page?
Cheers
Microsoft Message Queue Problem -
Hi,
A large number of Messages were lost from a Message Queue of mine recently when the machine was forced to reboot (Microsoft Update!!!!!)
I was lead to beleive messages would stay on the queue until they were "read" off the queue....
This is a significant problem.
random integers and average -
I am in need of help.
I have the average amount of time that passes before an item is placed in either the queue number 1, or queue number 2. This is needed to allow the simulation to cause usage conflicts of the single resource that is being governed by the simulation.
based o
Instant Messaging Application.... -
Hi as a project im working on creating an instant messaging application using VB.NET 2003. Im currently trying to design the databases that i will need for my IM program as im trying to think of all the information that will need to be stored/passed etc. Any help on this would be most
How to Build LPD Server using Visual Basi -
Can anyone suggest me how to build a LPD Server for supporting Print Services.
Explanation : We have a Client on Unix System and a server on WinNT system. What we need is to create a LPD Server to activate LPD services.
LPD Server (on WinNT System)- The task of LPD Server is to
MSMQ - mqoa.dll -
hi,
I have to work on a project that uses MSMQ Messaging. I don't have the mqoa.dll with me. Though i found a copy of it in our server, i wan't able to successfully register and use it. I am new to this concept.
Can someone tell me the significance of this dll and Whr i can downlo
[02/03] Creating public Queue (MSMQ) -
Hi, Is it possible to create a public queue remotely?
For example machine A creating a public queue on machine B on the same network?
VB Code:
System.Messaging.MessageQueue.Create("myMachine\MyQueue")
How would the path look like if it is possible? The above is th
message queue access -
hi,
can xp professional access data to message cue that is runing at win 2003 message queue server
if can then plz tell me how
i have successfully send and recieve data at win2003 by my app but i cant run my app at server i can just connect to server
thanks
View Unix Print Queue from Windows -
Does anyone have any knowledge of viewing a Unix server Print Queue from a windows environment. The print queue does not go to a windows print queue. Short of using a telnet prog and
checking, I'm not sure this is possible. I'm hoping someone will prove me wrong.
There is, in Wi
Print Queue Permissions -
Does Anyone know how to SET print queue permissions using VB.NET, all the examples that I've seen are for VB6
I would like to clear the DEFAULT permissions that are assigned when creating a queue, and then assign my own.
Running Windows 2000 Server SP4
Thank you
how to access a perticular memory location in vb via memory address -
hi,
I have reached a steg in my project that require continuous messaging between C and VB.
For that how can I access a perticular memory location in vb via memory address?
Or is there any other better way of messaging bet C and VB?
Please do hurry.
Thank you.
Crystal Report printer queue -
I have been trying to customize the printer queue document name when crystal report is printing.
The default queue name is something like "Crystal Report ActiveX.." or similar.
Is there a way to fix/rename the Printer Queue document's name?
Thanx.