Launch Windows 8 app with WPF - wpf

Is it possible to launch a Windows 8 native application throuh a wpf application? i.e. can I launch the native Camera app using a wpf app?

I'm not 100% sure how it's done in WPF but Windows 8 applications can register with custom protocols. For instance the Mail app is registered with the "mailto" protocol.
If you search under settings for "protocol" you can see which applications are registered with which protocols. Sadly it doesn't look like the Camera app has any custom ones.

Related

UWP Mobile Run WACK test for mobile app

I am new to Windows app development. I am building a C# app targeting UWP desktop & mobile platforms. I have read these links MSDN-Link 1 & MSDN-Link 2
Both these links doesnt seem to talk anything about running WACK tests for mobile. Any useful info will be highly appreciated.
I am building a C# app targeting UWP desktop & mobile platforms.
WACK test is now enabled for the UWP workflows, there is no need to care the device platform, whether your app runs on desktop or mobile does not change UWP workflows, you can directly publish your app to store after WACK test for UWP app is finished.

Is it possible that windows form application create app package?

I use rassberry pi 2 with Windows 10 Iot Core.Remote machine of Visual Studio didn't work when I run the my universal windows project with İot Extention(it s say that deploy failed) so I send app package of my project from device portal and it run but I have windows form application and it dont create app package for sending to device portal.
What can I do ? Is it possible that windows form application create app package? or what is any other possible way?
Windows Forms applications are the old or classic applications. Windows 10 iot is compatible with UWP(Universal Windows Applications) apps only.
You can't create an appx for Windows Forms applications, because this kind of package is for UWP apps.
Update: Now you can use Desktop conversion for UWP( Project Centennial)
https://developer.microsoft.com/en-us/windows/bridges/desktop

Silverlight: How to deploy a Silverlight app?

I've just written a Silverlight app and want to deploy it. This app is NOT to be hosted at a website. It is supposed to be a standalone app, just like a standalone WPF app for Windows, but (if I understand Silverlight correctly) it can run on both Windows and Mac.
I've created a .xap file. What do I do with this file to get the app installed? Thanks.
You do need to install it from a website as it still requires the Silverlight environment provided by the browser plugin.
It is the browser plugin that provides the OOB (Out Of Browser) mode.
I gather Adobe Air has the same requirements for apps.
In addition to what #HiTech Magic stated, you can also create a standalone installer for silverlight OOB apps using SLLauncher.exe.

How to communicate between Windows Form app and Web Site?

We developped an C# .Net 2.0 Windows Form application for Windows XP embedded that controls the underlying hardware/device. Now, we need to add a c# .NET 2.0 Web Site (hosting by IIS inside the same device) that can send commands to the Windows Form application (example: Start measuring) and receive data.
What is the best way to do it?
We thought about Web Service, but how the Windows Form application can know when the Web Service will receive a command from the Web Site.
Thank you.
Note: Forbidden to install on the device a Framework .NET 3.x or 4
Given this restriction on .Net 2.0, .net remoting is the way to go in this situation.
http://en.wikipedia.org/wiki/.NET_Remoting
Winform app can expose objects via remoting. Web app can send request to these objects. request would have commands.

Silverlight and Windows Workflow Foundation

Can I make a Silverlight application communicate with a Windows Workflow Foundation (WF) application? If yes, how can I do that?
I tried to add a reference from my Silverlight application to a WF application and it doesn't work.
If your application was a service application, then yes.
Silverlight won't host a workflow, but it could call a workflow service if the workflow you need to run is hosted within a service rather than an application.
It should be a matter of adding the service reference within the Silverlight application.

Resources