|
-
Sep 5th, 2001, 10:00 AM
#1
Thread Starter
New Member
Microsoft Message Queuing
Hi,
I need some help starting out developing an application that uses message queuing. I am using VB6 and Win2K. Could someone pls point me to some docs and samples on how to implement queuing in my app.
Many thanks,
Jarrod
-
Sep 6th, 2001, 03:38 AM
#2
Thread Starter
New Member
Thanks srins,
I had a basic understanding of queues. What I need are some samples on how to actualy programaticaly access a queue from VB and send a message. I have been searching msdn and for some reason have only come up with one article.
Thanks for the info though.
Regards,
Jarrod
-
Sep 6th, 2001, 12:17 PM
#3
I'm not sure about what messages you mean-
NT & 2000 use can message queues like this -
http://www.sysinternals.com/ntw2k/info/dpc.shtml
but all windows OS's send messages to the WndProc of a window (form, control, whatever) via: SendMessage api, PostMessage api. These also use a message queue, PostMessage sends to the tail of the queue, SendMessage to the front of the queue.
sysinternals also has software that intercepts messages. Take a look at their site.
Since your request is a bit vague, try working with this stuff, then ask some more.
-
Sep 7th, 2001, 02:47 AM
#4
Thread Starter
New Member
I think I solved my problem
Thank for the responses. They where both helpfull. Making me think about the problem as well as linking to a site I had never heard of.
But I am simply using this snippet of code to perform my task:
Code:
queueInfo.PathName = "mybox\private$\thequeue"
Set myQueue = queueInfo.Open(MQ_SEND_ACCESS, MQ_DENY_NONE)
With myMessage
.Label = "Test"
.Body = myObject
.Send myQueue
End With
Is it as simple as that? Or is there more to it?
Regards,
Jarrod
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|