windows-8.1

How to show “An app on your PC needs the following Windows feature.” dialog programmatically?

天大地大妈咪最大 提交于 2019-12-04 14:53:54
When I try to run .NET 3.5 applications on Windows 8.1 which has not .NET 3.5 Framework, Windows will show the "An app on your PC needs the following Windows feature. .NET Framework 3.5 (includes .NET 2.0 and .NET 3.0)" dialog automatically. But I want to show this dialog programmatically. I think that the dialog is much more friendly than DISM command. Any help would be appreciated. The dialogue you are searching for is provided by a tool called Fondue (Features on Demand User Experience Tool). To request .NET 3.5 you need to invoke it like this: FONDUE.exe /enable-feature:NetFx3 Available

OpenProcess: access denied error only on Windows 8.1

删除回忆录丶 提交于 2019-12-04 13:08:12
问题 I have a program which adjusts SeDebugPrivilege and then starts to iterate through system processes and calls OpenProcess for them (and does other stuff, but it's not important now). Also the program runs in administrator mode of course. On Windows XP and Windows 7 it works fine , but on Windows 8.1 OpenProcess fails for the following system processes with ERROR_ACCESS_DENIED(5): smss.exe, csrss.exe, services.exe . As I know with SeDebugPrivilege I should be able to open these processes and

cordova.file is undefined for windows / wp8

佐手、 提交于 2019-12-04 13:04:04
问题 I'm trying to export an app done with Cordova to desktop/tablet Windows 8.1 and Windows Phone 8.1. My app works successfully on Android, iOS. cordova -v 4.1.2 cordova plugins list org.apache.cordova.file 1.3.1 "File" But when I try on a Windows 8.1 or Windows Phone my app fails. The "cordova.file" is undefined. I can't access to cordova.file.dataDirectory to store my data or any cordova.file.* properties alias. I see no "Quirks" for Windows on https://github.com/apache/cordova-plugin-file

How can i import windows.media.capture in my WPF project?

余生长醉 提交于 2019-12-04 12:14:12
问题 I am really confused about windows media capture namespace, I would like to import the namespace to develop camera function in windows 8.1. FYI, I developed using visual studio 2013 and windows 7 64 bit, i already tried to install windows 8 Software Development Kits also, but i still can't find the namespace. Am I missing something? 回答1: Finally I've done developing app for windows 8.1 Table in Windows 7 x64 and want to share some experience that i had in here. Steps : Edit .csproject in wpf

How to use SQLite on new Windows 8.1 Store app (Visual Studio 2013)

我的梦境 提交于 2019-12-04 12:03:58
问题 So, I installed Visual Studio 2013 on my Windows 8.1 box. I want to experiment with it and created a new Windows Store Grid App . I want to persist data on a SQLite database, apparently the database of choice for WinRT apps. Quickly found links to the vsix needed in order to be able to use the SDK: SQLite download page, and downloaded sqlite-winrt81-3080002.vsix. Installed it, then in my project, added the reference to the newly installed SDK (right click references, add reference, navigate

Tkinter understanding after()

谁说我不能喝 提交于 2019-12-04 10:54:18
First of all, take a look at my previous thread here: Tkinter understanding mainloop After following the advice from there, in GUI programming, infinite loops have to be avoided at all costs, in order to keep the widgets responsive to user input. Instead of using: while 1: ball.draw() root.update() time.sleep(0.01) I managed using self.canvas.after(1, self.draw) inside my draw() function. So my code now looks like this: # Testing skills in game programming from Tkinter import * root = Tk() root.title("Python game testing") root.resizable(0, 0) root.wm_attributes("-topmost", 1) canvas = Canvas

Can a HTML/JavaScript Windows Store app run in a resizable window?

。_饼干妹妹 提交于 2019-12-04 09:01:34
I am about to begin developing an application on Windows 8.1. To leverage my existing skills and experience I would prefer to use HTML rather than XAML for the front end. Instead of running the application in full screen, I'd like to have it in an old-school WPF/WinForms style window which can be resized, maximized etc. Is this possible? If so, how? This is not possible in Windows Store Apps. The closest thing you'd get is Snapped Views, which is sufficient in most cases, but will not behave as windows from WPF. You can read more about the guidelines and possibilities in the MSDN UX/UI Page ,

Meaning of the tilde in compatibility settings values of the Windows 8.1 registry

元气小坏坏 提交于 2019-12-04 07:24:04
I tried to figure out how to manage compatibility settings for some older programs in an automated way. This Super User question How can I set the compatibility mode for an executable from the command line? already helped a lot pointing onto the registry key being used for compatibility settings. HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers Sadly, there is one tiny detail remaining unanswered so far. I tried to figure out what changes in application's property dialogue does by inspecting the related registry value, and it seemed so simple! But I'm irritated by the

vertically scrolling gridview XAML windows store app

痴心易碎 提交于 2019-12-04 06:56:18
how to edit GRIDVIEW in windows store app xaml so that we can make it scroll vertically instead of horizontal. am using XAML should we manually make a new user element using scroll-view or is there any simple way to achieve this with windows store app . <GridView HorizontalAlignment="Stretch" VerticalAlignment="Stretch" ItemsSource="{Binding imagelist}"> <GridView.Resources> <DataTemplate x:Key="DataTemplate1"> <Grid Width="250" Height="250" Tapped="Grid_Tapped"> <Image Source="{Binding imsourceurl}"/> </Grid> </DataTemplate> </GridView.Resources> <GridView.ItemTemplate> <StaticResource

Script Notify for ms-appdata

南笙酒味 提交于 2019-12-04 06:23:00
I want to notify my web view from button in html file and trigger the javascript: function notify(str) { window.external.notify(str); } The event captured using wv_ScriptNotify(..., ...) : void wv_ScriptNotify(object sender, NotifyEventArgs e) { Color c=Colors.Red; if (e.CallingUri.Scheme =="ms-appx-web" || e.CallingUri.Scheme == "ms-appdata") { if (e.Value.ToLower() == "blue") c = Colors.Blue; else if (e.Value.ToLower() == "green") c = Colors.Green; } appendLog(string.Format("Response from script at '{0}': '{1}'", e.CallingUri, e.Value), c); } I set the html file on ms-appx-web and it running