Questions tagged [xbap]

XBAP (XAML Browser Application) are Windows Presentation Foundation (WPF) applications that run in a sandboxed environment in a user's browser

XBAP (XAML Browser Application) is a new Windows technology used for creating Rich Internet Applications.

347 questions
2
votes
1 answer

Calling WPF Application Function from JavaScript Button

I have a xbap application and i would like a javascript button to call a function from this application. I've read something on Internet and it seems i have to use either a webcontrol (is that correct?) or an object control whom to pass an id or…
catalin ilie
  • 121
  • 2
  • 7
2
votes
3 answers

Get Published XBAP version in C#

I have an XBAP currently published on my local machine, which has an 'About' canvas build into the XMAL, of which I want to show the published version number, but I can only seem to get the assembly version number. Any suggestions?
William Troup
  • 12,739
  • 21
  • 70
  • 98
2
votes
3 answers

How can I set the focused control after a Dialog Box?

I'm working on an XBAP app where Users primarily use the Keyboard for Navigation. When I display a MessageBox, I can hit Enter to close it but then the main application doesn't seem to regain focus. I have to manually click the mouse on the screen…
Rachel
  • 130,264
  • 66
  • 304
  • 490
2
votes
0 answers

use stream as source for wpf media element

Is there any way to set media element source as stream? I know there is something in SL with: SetSource() is there anything like this in WPF? instead of Uri. I have already array of bytes representing wave files and want to send the array to the…
Dor Cohen
  • 16,769
  • 23
  • 93
  • 161
2
votes
2 answers

Is SilverLight web application and Xbap browser application is same

I'm new to WPF and confused about the XBap browser application. I read that with the help of WPF we can make Windows stand-alone applications and Browser applications. I am confused that an Xbap Browser application is also a Silverlight application…
Shashank
  • 6,117
  • 20
  • 51
  • 72
2
votes
3 answers

How do I run a Full Trust XBAP on intranet?

I've made a WPF Browser Application that hosts old WinForms controls (I haven't migrated fully to WPF yet). Using WindowsFormsHost means my Browser App requires Full Trust to run. This is not a problem for me since this app is only meant to be run…
Anthony Brien
  • 6,106
  • 7
  • 43
  • 56
2
votes
3 answers

Authenticode code-signing incredibly slow

We have a utility we created to sign our XBAP manifest file. This is the following code that it executes: cert = new X509Certificate2(certFilePath, password, X509KeyStorageFlags.MachineKeySet); SecurityUtilities.SignFile(cert, null,…
Bob Wintemberg
  • 3,212
  • 6
  • 34
  • 44
2
votes
2 answers

How to Open modal window/dialog in XBAP Application?

In WPF, if i want to open a modal/response window then i write code like Window1 _windowObj1 = new Window1(); _windowObj1.Owner = mainWindowObject; _window1Obj.ShowDialog(); How to do the same in XBAP. I tried it, but the window is opened…
ksvimal
  • 287
  • 2
  • 11
  • 25
2
votes
0 answers

XBAP WPF Application Unable to Access Settings Within app.config

I have an XBAP WPF application that has been working for some time now. I am recently having problems accessing settings within the app.config. Direct references to AppSettings return empty strings, and…
DazzledKid
  • 396
  • 1
  • 6
  • 20
2
votes
1 answer

How to use DispatcherOperationCallback in vb.net

I have a problem with coverting c# to vb.net on using DispatcherOperationCallback. I have tried to convert it based on help to convert c# anonymous to vb.net I'm using VS2010. I have a c# code like this: public void Callback(Contract contract) …
tong
  • 259
  • 5
  • 23
2
votes
2 answers

Verify the signing of manifest and application files

I am exactly using following steps to resign my application manifest and deployment manifest using certificate file. mage -s app-manifest -cf cert_file -pwd password mage -u deployment-manifest -appm app-manifest mage -s deployment-manifest -cf…
OmGanesh
  • 952
  • 1
  • 12
  • 24
2
votes
1 answer

Is it possible to access the ASP.NET HttpSession by using WPF XBAP Application?

I have a .xbap application and ASP.NET running on the same IIS server. And I did a login session from ASP.NET, but in my XBAP Application it must login again to access to this system. I want to use this ASP.NET Session to be a session of whole…
Noppol
  • 69
  • 2
  • 4
  • 10
2
votes
3 answers

.NET client vs. ActiveX (or another approach?)

Does anyone have any white papers or articles that would compare and contrast a web architecture where a .NET client component is required and the options being considered are ActiveX or a .Net component solution? I have a customer that wants to…
Wade
  • 241
  • 1
  • 2
  • 7
2
votes
1 answer

Issue with VS 2010 and XBAP

In VS 2010, I've created a new WPF Browser Application project. Once the project has been created, I started the project by pressing the F5 key to run or debug it. Now Firefox opens and shows me a dialog to download the XBAP file or to execute the…
System.Data
  • 3,878
  • 7
  • 32
  • 40
2
votes
1 answer

Difference between win32 dll and .net dll in the context of web application?

My web application, written in WPF( XBAP), p/invokes a win32 dll (player.dll written in C and C++). I deployed the application. When I tried running the web-application in IE, initially I got this error: System.DllNotFoundException: Unable to …
Nawaz
  • 353,942
  • 115
  • 666
  • 851