I am creating a WPF application using C# code and have run into a problem. I am trying to load external applications, such as MS Word, Excel, Outlook, Teams, etc, from the application when I click a button and would like it to show/open this application in my WPF main window frame. Is this possible to achieve?
I found a piece of code that I have used in the code behind but obviously, it just opens the program as normal,
private void Outlook_Click(object sender, RoutedEventArgs e)
{
MainWindowFrame.Content = System.Diagnostics.Process.Start("outlook.exe");
}
What do I need to do in order to achieve my aforementioned goal? Am I even correct in using a frame or should I be using something else?