windows-8.1

PermissionError (WinError 31) A device attached to the system is not functioning

蓝咒 提交于 2019-12-11 01:39:50
问题 I am trying to install pip by python get-pip.py command on my python3.6 virtualenv but i get the error: (myvenv_python3) C:\Users\Kaleab\Downloads>python get-pip.py --trusted-host=pypi .org Collecting pip Downloading https://files.pythonhosted.org/packages/0f/74/ecd13431bcc456ed390b 44c8a6e917c1820365cbebcb6a8974d1cd045ab4/pip-10.0.1-py2.py3-none-any.whl (1.3MB) Could not install packages due to an EnvironmentError: [WinError 31] A device at tached to the system is not functioning Consider

windows 8.1 assigned access for Desktop App

心已入冬 提交于 2019-12-10 21:42:33
问题 I have a Desktop Application written in WPF (originally for Windows 7) that I would like to run in Kiosk (Assign Access mode) on a Microsoft Surface Pro 2. The assigned access feature looked perfect, but it doesn't support non-store apps. I just need a way to prevent the user from switching to another app or getting access to the OS etc. Possible? 回答1: Make your application fullscreen as shown here: full screen wpf In your main window constructor subscribe on Deactivate event or override

Android Studio stuck on “Downloading Components”

末鹿安然 提交于 2019-12-10 21:17:03
问题 I'm already to install android studio ,and when i want to download components like sdk manager etc, I'm stuck in here like this: 回答1: I had exactly the same issue I became frustrated after seeing these downloads repeatedly which is not descriptive. Also it took lot of time to download on high speed internet. Just wait it will be finished. 回答2: i had the same situation and i thought it was a problem but it's not. just wait until it finished . it needs hours to downmoad all components ! 来源:

Programmatically access most frequently used apps in Windows 8.1

六月ゝ 毕业季﹏ 提交于 2019-12-10 20:49:53
问题 The Windows 8.1 start menu provides a list of apps that can be sorted by most used (Windows Button > Down arrow > Apps: by most used). Is there a way to programmatically get a list of these apps in this order in C#? If not in this order, at least a list of the most used and/or moderately used apps as displayed in the Windows 8.1 start menu? 回答1: The answer is probably yes, you can, though it's not recommended (nor easy). Raymond Chen described this pretty clearly in his blog post, "Why is

Compiling RCurl from source on Windows

允我心安 提交于 2019-12-10 20:26:45
问题 As there is no Windows binary for v1.95-4.3 yet, I need to install/compile the RCurl package from source on Windows 8.1. (64 bit). Could someone tell me Which version of cURL I need Where the various files such as libcurl.dll etc. need to be placed exactly Does the x64 directory mentioned in the error message below correspond to the x64 directory of the R installation? > install.packages("RCurl", type="source") trying URL 'http://cran.rstudio.com/src/contrib/RCurl_1.95-4.3.tar.gz' Content

How to send and receive push notifications for Windows Phone 8.1

浪尽此生 提交于 2019-12-10 16:15:04
问题 I followed Microsofts article about sending and receiving push notifications on Windows Phone 8.0: https://msdn.microsoft.com/en-us/library/windows/apps/hh202967(v=vs.105).aspx It works fine, but now we are creating a new Windows Phone 8.1 app and try to rewrite the same 8.0 code, but some classes are not available in WP 8.1. Please help me how we can implement these for Windows Phone 8.1. 回答1: Here is my class which I use for receiving push notifications and handling the ChannelUri . Just

call to window.open() returns null on IE 11 + Windows 8.1 Preview

 ̄綄美尐妖づ 提交于 2019-12-10 13:27:27
问题 I am doing somethig like this,where MyConfig is a aspx page. winOpen=window.open('/Account/Register','MyConfig','toolbar=no,status=no,location=no,menubar=0,resizable=yes,scrollbars=yes,width=' + wWidth + ',height='+ wHeight + ',top=' + wTop + ',left=' +wLeft); winOpen.focus(); It returns null.It is working fine in chrome + WIndows 8.1 preview,But it is not working in IE 11. EDIT I have added one more line in the question and actually that line is failing since window.open() return null and so

Google Chrome Pinch-to-zoom prevention

孤者浪人 提交于 2019-12-10 12:37:19
问题 I'm developing an app for Chrome on a Microsoft Surface Pro 2 running Windows 8.1. Recently, the Chromium team decided they wanted to add the pinch-to-zoom gesture in Chrome for Windows 8, which is all and good. They did not, however, add a flag to disable this behavior in Chrome's settings for those few of us that don't want pinch-to-zoom functionality. Now I'm left trying to disable the browser's default behavior by other means. The first thing I tried was to add this meta-tag: <meta name=

How to allow iis8.5 service to interact with desktop

不羁岁月 提交于 2019-12-10 12:05:24
问题 The problem is i couldn't find this option at all. I need to run winforms app from iis, and i couldn't achieve it. Сan someone give me a tip for this. I tried to give localsystem and admin identity to site pool, but it's not working,just process running without any window. Update i did check "allow service to interact with desktop" thank to answer,but still window not appear Update2 i even tried this one answer,and second one but can not start process at all 回答1: The 'Interact With Desktop'

Zooming into all content of a Canvas

冷暖自知 提交于 2019-12-10 11:48:11
问题 I have this Xaml: <Grid x:Name="DrawingGrid" Visibility="Collapsed"> <AppBarButton x:Name="ExitDrawingButton" Icon="Cancel" Click="ExitDrawingButton_Click"></AppBarButton> <ScrollViewer x:Name="DScrollViewer" ManipulationMode="All" MaxZoomFactor="2.0" MinZoomFactor="1.0" HorizontalScrollBarVisibility="Hidden" VerticalScrollBarVisibility="Hidden" DoubleTapped="DScrollViewer_DoubleTapped" Width="1140" Height="770"> <Canvas x:Name="inkCanvas" Background="Transparent" Width="1140" Height="770">