Launch .NET application through notification or windows messagingOption

  • Thread starter Thread starter Andy
  • Start date Start date
A

Andy

Is there any way to launch a .NET application by issuing a windows
message?

I have two VB.NET applications, A and B.


A writes records to a database, and then issues a message that its
finished.
The message somehow causes application B to launch which then
offloads
the records in the database to somewhere else.


What's the best windows technology to use to do this?


Delegates? Windows messaging? Triggers? Callbacks? Is there
anything else?
 
Is there any way to launch a .NET application by issuing a windows
message?

I have two VB.NET applications, A and B.


A writes records to a database, and then issues a message that its
finished.
The message somehow causes application B to launch which then
offloads
the records in the database to somewhere else.


What's the best windows technology to use to do this?


Delegates? Windows messaging? Triggers? Callbacks? Is there
anything else?

Can you not just launch the other application using Shell or
System.Diagnostics.Process? What is the rational for wanting to use a window
message for this? The only way I could see to do it that way would be to have
a applciation launcher in the background that was capable of watchign for a
window message - a simple broadcast of a custom window message (using
RegisterWindowMessage api)....
 
Back
Top