windows-8

Quality of the search result images in Metro Search Charm

為{幸葍}努か 提交于 2019-12-11 08:17:30
问题 This should be a trivial one, it's maybe only my bad day ;) I use 40x40px images for showing the type of the search results. If I use exactly the same images in my main app they are shown correctly. If I use them in the search charm their quality is drastically decreased. What am I doing wrong? I tried another sizes, another picture formats, still the same. I tried another image (photo below) and that one looks OK. Why is only my circle based icon so deformed? 回答1: It sounds like this could

The URI given to MediaControl for a music file's album art .Net

你。 提交于 2019-12-11 08:16:47
问题 I want to show album art in the windows 8 media control, like this: However, MediaControl.AlbumArt has type Uri, instead of type ImageSource like I expected. Does the album art embedded in a music file even have a URI? I've tried providing a URI to the file ("file:///C:/Rest/Of/Path.mp3") (an immediate exception results), but other than that I don't even know where to start. Maybe I'm supposed to write the album art to a temporary file and point at that (feels like the wrong way to do it, but

Styling thumb using Blend

牧云@^-^@ 提交于 2019-12-11 08:09:51
问题 How can I style thumb using blend. I need to apply a cylinder like style to my thumb. with a gradient color effect. The gradient effect is to be applied vertically with a color combination of gray and white color. I have 0 knowledge in Blend Please help. 回答1: You can do it without using Blend. Simply add a slider in XAML page & open design view. Then right click on slider, open "Edit Template" menu and click on "Edit a Copy". So the default style of slider will be added in page's resource.

Is it possible to use tile templates with secondary tiles in a Windows Store App?

百般思念 提交于 2019-12-11 07:50:03
问题 The title is the whole question: Is it possible to use tile templates with secondary tiles in a Windows Store App? Also can secondary tiles animate? It looks like the answer is no, even in Windows 8.1 but maybe I am just missing something. Here is a link to the Tile Template: http://msdn.microsoft.com/en-us/library/windows/apps/windows.ui.notifications.tiletemplatetype.aspx Here is a link to the SecondaryTile class: http://msdn.microsoft.com/library/windows/apps/br242183 It's weird because

Powerbuilder 10 Windows 8 compatibility

China☆狼群 提交于 2019-12-11 07:45:09
问题 Does anyone know if Powerbuilder 10 is compatible with Windows 8 (Both the IDE and the runtime module)? It seems like 11.5 is officially supported, but I couldn't find any info on PB 10's compatibility on Windows 8. If it isn't, any tips on the migration process from 10->Further version? (Anything particular we have to watch out for?) 回答1: You should have no problem with running PB10 applications on Windows 8, appart perhaps not being not fully compliant with Win8 standards (concerning the

Message dialog not showing in catch clause [duplicate]

倖福魔咒の 提交于 2019-12-11 07:43:18
问题 This question already has answers here : Try-Catch doesn't show Message Dialog box with await (1 answer) Better way to show error messages in async methods (2 answers) Await in catch block (9 answers) Closed 6 years ago . I am using the following code in my Windows 8 app function to catch an error and display an Message Dialog catch (Exception ex) { MessageDialog err = new MessageDialog("Error"); await err.ShowAsync(); } But I get an error "cannot await in the body of a catch clause". But

How to Play Video File On D Drive In WinRT?

爱⌒轻易说出口 提交于 2019-12-11 07:34:40
问题 Using XAML C# in Windows "Metro" Apps how do I go about playing a certain video file. Examples: D:\video1.wmv \\MEDIAPC\video2.wmv The only way I managed to get this working so far is by using FilePicker, but I don't want to use this as I already have a list of files to play. I have tried to use GetFileFromPathAsync but I keep getting permission / access issues await StorageFile.GetFileFromPathAsync(@"D:\video1.wmv"); Apologies if this has been answered I just couldn't find an answer that

Is it possible to Switch User Accounts programmatically?

烈酒焚心 提交于 2019-12-11 07:16:15
问题 We are working on a windows 8 native application that will need a feature to switch between an administrator account and an less privileged account and then back again. Assuming we have the credentials (user and password), is this possible programmatically - using a combination of a front-end (WPF) app and a background service? Here are few links which we are looking into. We have already looked into it, just want to see if anything new for windows 8: C# - Programmatically Log-off and Log-on

Windows 8 exception “System.Security.SecurityException”

给你一囗甜甜゛ 提交于 2019-12-11 07:15:52
问题 I am starting to develop windows 8 app. I am new in windows 8 app development. I have one page i.e. MainPage.xaml . I am not able to see the design view. It gives an error. System.Security.SecurityException Designer could not be started because of a permissions issue on the drive to which it is installed. Please check the permissions of the folder before trying to start the designer. at Microsoft.Expression.HostUtility.Platform.AppContainerProcessDomainFactory.CreateDesignerProcess(String

Convert Custom Cordova Plugin to Windows 8/RT

笑着哭i 提交于 2019-12-11 06:48:24
问题 I am in the midst of converting a html/javascript app that runs on iOS/Android to work on Windows 8/RT. I have most of the HTML/Javascript/jQuery working on the Windows 8/RT but need to figure out to get the plugin working on windows 8. That said I have a couple questions. 1) What is the native language of Windows 8/RT? In Android, my Javascript plugin talks to a JAVA file and returns a pluginresult. What is the equivalent on Windows 8? 2) Is there any documentation on how to setup a Windows