Is it possible to launch and (less important) control a WPF application from a Silverlight OOB app? Would I need to create an Automation Server for the WPF app. Is this possible?
Thanks
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If you’re using silverlight 4+, using an out of browser trusted silverlight application, you have access to COM interop.
For example, you can use COM interop to launch an application like excel, like here which allows not only launching, but controlling and populating information back and forth.
For your WPF application, you would likely need to create a COM library and installer for the users to run. After that, any trusted silverlight application could access this library in order to pass commands to launch the application as well as take control or handle events in the WPF application.
See a similar example of writing a COM wrapper for launching applications here. This example launches the application from a web browser, but the idea is easily the same for your silverlight application.