xbap

WPF (XBAP) application not trusted on some machines butother get a prompt and can run the application

妖精的绣舞 提交于 2019-12-10 10:49:07
问题 I'm having an Issue with a WPF file not running correctly. On some machines it starts a security prompt shows up and clicking ok lets the application run fine. but on other machines (some with an identical set up because the machines are all imaged the sames on this side of our network) no security pop up, just "Trust not Granted" I've Placed a Log below. I've tried things including but not limted to, deplying it directly to iis, to a file location and moving it over,( all using clickOnce) i

How to make WPF XBAP work in Cefsharp (chrome)

假装没事ソ 提交于 2019-12-09 13:53:08
问题 I am working on WPF XBAP application. It works in IE. It is not working in firefox and chrome. I searched and put a bunch of dlls inside google/chrome/Application path. still it didn't work. I put npwpf.dll in c:/programfiles(x86)/MozillaFirefox/plugins folder, still it didn't worked in firefox. When opening the firefox plugins page in browser, I can't able to see WPF plugin there. I tried reinstalling .net 3.5, still plugin didn't show up. To briew, could someone help me to know how I can

XBAP in fullscreen mode

天涯浪子 提交于 2019-12-07 08:47:27
问题 I want to Run my XBAP in full screen mode. Is there any way to make IE to open XBAP in fullscreen? 回答1: As I am running with full trust, whenever user clicks on full screen button, I used Process.Start() method to open IE in kiosk mode. The following code solved my issue. Process.Start("C:\Program Files\Internet Explorer\iexplore.exe", "-k c:\MyXbap.xbap"); 回答2: I'm not sure there's any good way to do this, but you could set up a shortcut to open IE in Kiosk mode and fire up your xbap: "C:

Should I still use Silverlight/XBAP

眉间皱痕 提交于 2019-12-07 04:38:22
问题 We need to create an application that can be used via the browser but that can also be used while offline. The browser Version will be used by our customer to do calculations. Each customer needs to log into the application with a username and Password. The offline version will be used by our own employees. They need to be able to use this Version while not connected to a Network. The data that is needed for the application will be stored in XML files. We are mainly programming with C# and

Binding a Popup to another control's relative screen position

对着背影说爱祢 提交于 2019-12-06 09:53:42
问题 I'm writing an XBAP with a complex Popup (Canvas Z-index of 99 with a grid on it...) that I would like to "attach" to the button that opens it and follow that button around wherever it goes on the screen. For example, if the button is in a ListBox or an XamDataGrid I would like the popup to follow the button as it scrolls through. If it is beneath an Expander I want it to stay attached to the button when the expander forces it to move, etc. Any Ideas? 回答1: When using a Popup , neither

WPF (XBAP) application not trusted on some machines butother get a prompt and can run the application

≯℡__Kan透↙ 提交于 2019-12-06 08:10:34
I'm having an Issue with a WPF file not running correctly. On some machines it starts a security prompt shows up and clicking ok lets the application run fine. but on other machines (some with an identical set up because the machines are all imaged the sames on this side of our network) no security pop up, just "Trust not Granted" I've Placed a Log below. I've tried things including but not limted to, deplying it directly to iis, to a file location and moving it over,( all using clickOnce) i have Fullpermissions checked, ive tried signed and unsigend, with passworded and unpassworded pfx. I

Manual XBAP publishing

烈酒焚心 提交于 2019-12-06 05:10:41
I found a method to manually publish a regular WPF Application, but i need the same instructions for a WPF Browser app instead. Here is the regular WPF App howto: http://msdn.microsoft.com/en-us/library/xc3tc5xx(VS.80).aspx . If anyone knows what changes I need to make to my mage commands to make it work for XBAP please let me know. Thanks. I had to alter the name of the default "Application Files" folder for one of our customers who doesn't like spaces in file or folder names and this meant re-signing the xbap after the publish. Here's the msbuild script I use to automate the process: <Target

How can I close the browser from an XBAP?

帅比萌擦擦* 提交于 2019-12-06 03:47:12
问题 I am using an XBAP application in full trust. I need to close the browser hosting the XBAP when I click a button. How can I achieve this? Application.Currenty.ShutDown() only closes the application, leaving the browser blank. 回答1: EDIT: My mistake, here is a thread with your problem - http://social.msdn.microsoft.com/forums/en-US/wpf/thread/21c88fed-c84c-47c1-9012-7c76972e8c1c and to be more specific (this code needs full trust security settings) using System.Windows.Interop; using System

How do I debug a published XBAP file in VS2010?

霸气de小男生 提交于 2019-12-06 02:53:49
问题 I need to debug a full-trust application either by specifying a URL or, ideally, from within the web app I am intending to deploy it to. I've tried the following: Running "PresentationHost.exe -embedding" from the command-line, attaching through Visual Studio. The IDE shows that my breakpoints are valid until I actually attempt to load the .xbap file, at which point it shows that there are no symbols loaded. None of my breakpoints are hit. I've tried "mage -cc" before doing this per several

XBAP in fullscreen mode

一个人想着一个人 提交于 2019-12-05 16:05:01
I want to Run my XBAP in full screen mode. Is there any way to make IE to open XBAP in fullscreen? As I am running with full trust, whenever user clicks on full screen button, I used Process.Start() method to open IE in kiosk mode. The following code solved my issue. Process.Start("C:\Program Files\Internet Explorer\iexplore.exe", "-k c:\MyXbap.xbap"); I'm not sure there's any good way to do this, but you could set up a shortcut to open IE in Kiosk mode and fire up your xbap: "C:\Program Files\Internet Explorer\iexplore.exe" -k c:\MyXbap.xbap that would 'full screen' it. 来源: https:/