windows-10

Is it possible to use Wi-Fi Direct from a non Universal application?

只谈情不闲聊 提交于 2019-11-30 17:56:22
问题 I've been trying to code a simple command-line based application (using C# and .NET from Visual Studio 2015 and Windows 10) to start a Wi-Fi Direct advertiser following Microsoft's Universal Samples, but manually adding references to the necessary *.dll and *.winmd assemblies instead of creating a UniversalWindowsPlatform project. (System.Runtime.WindowsRuntime from Refference Assemblies and Windows from Windows Kits\10\Union Metadata\Windows.winmd) This is the relevant code: public void

Universal Apps template missing in Visual Studio 2015 Community

两盒软妹~` 提交于 2019-11-30 17:44:42
问题 I still cannot create a new Universal App in Visual Studio 2015 Community I have installed. I thought the reason was I was running Windows 8.1. Today I upgraded to Windows 10, but there is no "Universal Apps" templates available. I have installed Windows 10 SDK but nothing changed. How can I fix that? Thank you. 回答1: You need to install the Windows 10 Developer Tools (select modify and select the Win10 tools + Emulator if wanted). After this you see the template in New Project. 回答2: As of

Java Thread.sleep() on Windows 10 stops in S3 sleep status

牧云@^-^@ 提交于 2019-11-30 17:37:44
There's a desktop application that uses Thread.sleep() to achieve long (minutes or hours) delays. This same application has been working fine from Windows XP through (at least) Windows 7. The application calculates how far in the future it needs to do something, then hits a Thread.sleep(msToWait). This has been working fine, even if the system happens to go into S3 sleep state during the wait. As of Windows 10, though, the code after Thread.sleep() does not execute "on time" if the machine has been in S3. It appears that the machine begins executing code at "msToWait" plus the time the machine

Compile fortran module with f2py and Python 3.6 on Windows 10

牧云@^-^@ 提交于 2019-11-30 17:28:18
问题 I'm trying (and failing) to compile a fortran module (specifically igrf12.f from the BGS) using f2py and Python 3.6 on Windows 10. Python was installed using Anaconda 4.4.10. My setup: Python 3.6.3 |Anaconda custom (64-bit)| (default, Oct 15 2017, 03:27:45) [MSC v.1900 64 bit (AMD64)] on win32 Windows 10 Enterprise (version 1703) NumPy 1.14.0 I followed f2py directions from the SciPy documentation and a very helpful guide from Dr.Michael Hirsch. Dr.Hirsch has created the pyigrf12 module, but

npm ERR! tarball.destroy is not a function

こ雲淡風輕ζ 提交于 2019-11-30 17:06:50
Hi I'm having issue while installing react-dom module. I'm able install other modules like react express modules, on windows 10. 64 bit machine npm install react-dom npm WARN package.json -panel-client@1.0.0 No description npm WARN package.json -panel-client@1.0.0 No repository field. npm WARN package.json -panel-client@1.0.0 No README data npm WARN package.json -panel-client@1.0.0 No license field. npm WARN retry will retry, error on last attempt: Error: EBUSY: resource busy or locked, rename 'C:\Users\NOI-DE~1\AppData\Local\Temp\npm-3064-f12f714d\registry.npmjs.org\react-dom\-\react-dom-0.14

Which .Net version does windows 10 have built-in? [closed]

廉价感情. 提交于 2019-11-30 16:48:29
问题 Closed . This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 9 months ago . I want to know which .Net version does windows 10 have built-in? like Windows 7 comes with 3.0 and 3.5 .Net pre-installed by default. 回答1: Here is a link to Microsoft Article that answers " What version of the .NET Framework is included in what version of the OS? " Windows 10

How to make a Windows 10 computer go to sleep with a python script?

你离开我真会死。 提交于 2019-11-30 16:42:42
How can I make a computer sleep with a python script? It has to be sleep , not hibernate or anything else. I have tried to use cmd but there is no command to sleep or I didn't find one. You can use import os os.system("rundll32.exe powrprof.dll,SetSuspendState 0,1,0") If this command doesn't work for you (it actually puts your comp. in hibernation mode) you will need to turn hibernation off: Powercfg -H OFF To turn hibernation mode back on: Powercfg -H ON Alternatively, you can also use: Rundll32.exe Powrprof.dll,SetSuspendState Sleep If you don't want to turn hibernation off just to run a

npm ERR! tarball.destroy is not a function

ぃ、小莉子 提交于 2019-11-30 16:27:12
问题 Hi I'm having issue while installing react-dom module. I'm able install other modules like react express modules, on windows 10. 64 bit machine npm install react-dom npm WARN package.json -panel-client@1.0.0 No description npm WARN package.json -panel-client@1.0.0 No repository field. npm WARN package.json -panel-client@1.0.0 No README data npm WARN package.json -panel-client@1.0.0 No license field. npm WARN retry will retry, error on last attempt: Error: EBUSY: resource busy or locked,

VBScript consumes memory after Creators Update (Win 10, 64bit)

坚强是说给别人听的谎言 提交于 2019-11-30 15:59:07
Since the latest Windows update (creators-update, winver gives 1703, build 15063.483) we have problems with VBScript accessing COM objects. It just seems to consume memory until memory exceeds. We already have checked our sources and made it to just one simple vbs file that uses the FileSystemObject . Look at this simple script file: Dim fso, folder Set fso = CreateObject("Scripting.FileSystemObject") If Not fso Is Nothing Then Do Set folder = Nothing Set folder = fso.GetFolder("C:\Users") Loop Set folder = Nothing Set fso = Nothing End If It does just nothing but hanging in that loop, but if

Alternative way to check if CTRL+ALT+DEL screen is visible

*爱你&永不变心* 提交于 2019-11-30 15:53:04
问题 Currently I'm using the below code to test if the CTRL + ALT + DEL screen is visible and it is working as expected. The problem is that polling this info consumes CPU and I'm looking for an event based option. Does anyone know another way to detect if this screen is visible? I only need to know when this screen is closed. I don't really care when it opens. Just that it had been open and is now closed. To be honest, I found this code and I'm not exactly sure how it is specific, if at all, to