Events between to .net applications?

Posted on 2012-08-14
Last Modified: 2012-08-16
Hi Experts,

Is it possible to have event raised in a .net app and have a different application handle the events?

I'm trying to do TWAIN scanning in a WPF application but WPF and TWAIN do not seem to work well together.  So I've been told to put the TWAIN scanning in a separate process then let the WPF app somehow get the images from the scanner.  

Question by:OFGemini
    1 Comment
    LVL 23

    Accepted Solution

    You could use a file and place the required event information there. Use the FileSystemWatcher to monitor the file from the WPF application and use a mutex to lock the file while in use. This method would allow you create a producer/consumer queue to manage the process.

    Here are some links you may find helpful


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    IT, Stop Being Called Into Every Meeting

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    Suggested Solutions

    More often than not, we developers are confronted with a need: a need to make some kind of magic happen via code. Whether it is for a client, for the boss, or for our own personal projects, the need must be satisfied. Most of the time, the Framework…
    Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
    Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
    Here's a very brief overview of the methods PRTG Network Monitor ( offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

    761 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    12 Experts available now in Live!

    Get 1:1 Help Now