Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
MSMQ and VFP
Message
From
24/01/2013 11:35:41
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
MSMQ and VFP
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Miscellaneous
Thread ID:
01563974
Message ID:
01563974
Views:
90
I would like to use MSMQ with VFP in order to receive messages and use FoxPro to keep our legacy tables up to date. I have downloaded VfpCom and some sample code from the internet. All of it is very old, early 2000's. I'm having trouble getting my private queue found using the code below.

oQuery = create("msmq.msmqquery")
oQueueInfos = oQuery.LookupQueue(,,lcQueueName)

Everything I can find online says that LookupQueue finds public queues, but we will be using private.

I'm stuck until I can get past this first hurdle. If anyone has any code examples I can use that would be a great help.

Thanks,
Larry
Reply
Map
View

Click here to load this message in the networking platform