Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > .NET > Other .NET > Windows Presentation Foundation
Password Reminder
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
Windows Presentation Foundation Discussion of the beta version of Windows Presentation Foundation "WPF" formerly know as codename "Avalon" as well as the related XAML.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Windows Presentation Foundation section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old June 23rd, 2008, 03:41 PM
Registered User
Join Date: Jun 2008
Location: Auburn, AL, USA.
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Calling my WPF application from Microsoft Robotics

I have an application using Microsoft Robotics Development Studio that calls a winform. I want to change my application to call a WPF application. I have a WPF with two files App.xaml and Window1.xaml and App.xaml.cs and Window1.xaml.cs. From my MRDS application I have tried to call the WPF application using the following code I found in the WPF Unleashed book.

App app = new App();
app.StartupUri = new Uri("Window1.xaml", UriKind.Relative);


App app = new App();
Window1 mainWindow = new Window1();

This compiles and runs however after initializin App it hangs when it tries to initialize Window1. What am I doing wrong? Is there any documenation that can help me?

Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Calling Webservice from application premalm ASP.NET 2.0 Professional 3 October 17th, 2008 03:24 AM
Please use the Microsoft Robotics Forums TrevorTaylor BOOK: Professional Microsoft Robotics Studio ISBN: 978-0-470-14107-6 0 October 9th, 2008 02:36 PM
calling an external application forlorn Classic ASP Professional 0 August 19th, 2005 03:26 AM
calling an external application forlorn Classic ASP Basics 0 August 19th, 2005 03:22 AM
Microsoft Access Application Development Richard Hunter BOOK: Expert One-on-One Access Application Development 1 July 15th, 2005 02:50 PM

All times are GMT -4. The time now is 03:55 AM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.