Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 SQL Server Development (2000)
 problem with SQL server, link to msmq, or lanch application

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2005-04-20 : 07:53:14
mourad writes "Hi

I'm developping winth SQL server 2000, and the microsoft message queue and VB.NET.

I want to send message from SQL server, in a MSMQ (Message Queue).
I know how to do with VB.NET.
But i can't launch the programme with a trigger,
declare @cmd sysname
@cmd = 'c:\MessageQ.exe'
exec master..xp_cmdshell @cmd

I need you help, I want to know how to lanch application in SQL Server trigger, or how to send directly a message to a message queue.

Thanks"
   

- Advertisement -