I'm working at touch Awesomium-based web brower. I have to use Windows 8 touch keyboard as main browser keyboard. I'm starting process named tabtip.exe:
System.Diagnostics.Process.Start("C:\\Program Files\\Common Files\\microsoft shared\\ink\\tabtip.exe");
Is possible to preload that app to make it starting faster?
There is no functionality in a WPF Application that would enable you to call any code before the Framework has been loaded. Normally, your earliest possible opportunity to call the
Process.Startmethod would be in theMainWindow.xaml.csconstructor.However, you could possibly cheat a little, depending on how important this requirement is for you. It is possible to open another
Windowother than theMainWindow(such as a splash screen) and then when you're ready and the external program has been started, openMainWindow.If you're interested in this suggestion, please take a look at my answer to the How to open a child Window like a splash screen before MainWindow in WPF? question, which will guide you through that process.