Launch .NET application through notification or windows messagingOption

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?
 
T

Tom Shelton

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)....
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top