xbap

Xbap arrow keys jump to the address bar

In an xbap application, when navigating listboxes, comboboxes etc with the arrowkeys, reaching the end of the list will result in focus jumping to the addressbar of the browser. Very annoying.. Any ideas on how to avoid this behaviour? ...

How to close a window in c#

I've got the following code in a window B that is started in its own thread from a window A. view.Closing += (sender, e) => { view.Visibility = Visibility.Collapsed; e.Cancel = true; }; When I close window A window B remains in memory and the application doesn't dispose. How should I go forward make sure that the application i...

Is there a WPF message box?

Is there a standard message box in WPF I should use, like WinForms System.Windows.MessageBox.Show()? ...or is it OK to use the WinForm message box? ...

Using the same WPF application for standalone and on web

Hi: I have an XBAP (WPF on browser) application that I want to run as a standalone application and also in the browser. How can I do that without making a lot of code changes, since going forward we will be doing a lot of modifications to the code anyway. And it is not a good idea to maintain 2 different codebases for that. thanks, PN ...

Can an XBAP only take up part of the browser screen?

I know with Silverlight you can control the width and height of the Silverlight section within the web page. However, it seems like from what I can tell when you are using XBAP you give the entire browser page area over to WPF. Is there a way to have an HTML and have XBAP be embedded within a rectangle of that HTML page? Or is this on...

Converting WPF Browser App to WPF Desktop App

Without copying all the code from one project to another, is it possible to convert an XBAP browser app into a WPF forms app? ...

CD burning....Debug works,Published doesnt.

I am working on a program to burn a CD. Its located on a server but to my knowledge when it is ran it is pulled to that users computer, then ran. My problem is it runs in debug and after I publish it to the server, it can no longer find my CD burner. I can provide more information, i just don't know what to add. ...

XBAP Startup Performance Improvements

I have an XBAP application which is approximately 1.3MB in size. I have tried to get the size of the application down to as small as possible but have dependencies on the WPF Toolkit amongst other things and am limited there. Currently I am experiencing slow start ups in the following areas: Initial Download (probably application siz...

Why do I get "Access is denied" when re-loading an allready running XBAP?

I'd like to embedd a XBAP in a SharePoint Web Part. My approach is to load the XBAP (on the same server) using an IFrame. If I load the Web Part for the first time, it works. However if I navigate to some other page within SharePoint and return back to my Web Part, I get "An error occurred in the application you were using" and "Acce...