windows-10

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

六眼飞鱼酱① 提交于 2019-11-29 23:09:35
问题 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")

PHP Manager for IIS fails to install

久未见 提交于 2019-11-29 21:18:34
I am trying to install PHP on IIS 8. Every time I start the PHP installation, PHP installs but I get the follow error: As Abhi says: fire up regedit.exe and change the decimal value of Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W3SVC\Parameters\MajorVersion from 10 (as set by Windows 10) to e.g. 8. Installer should work now. Afterwards, you can set the value back to 10 (or whatever value your Windows env. had at first). Tip : For quick navigation, paste the path Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W3SVC\Parameters into the address-bar of Registry

JavaFX ComboBox not responding on Windows 10

走远了吗. 提交于 2019-11-29 20:41:43
I recently upgraded to Windows 10 and JavaFX code which worked in Windows 8.1 appears to freeze up in 10. I've tracked the issue down to opening a ComboBox within a dialog. This appears to freeze any JavaFX program. Does anyone else have the same issue? (Windows 10 computers are still few and far between so would be good to confirm bug is indeed JavaFX issue) I have attached example code below. The ComboBox in the main stage is fine but when I open a dialog and try and use the ComboBox there, the whole thing freezes. I'm using Java 8u51 in Eclipse 4.4.0 package javafxExamples; import java.util

Launch Metro style apps using powershell

感情迁移 提交于 2019-11-29 19:51:45
问题 I am trying to write a powershell script for windows 10 that will automatically launch a Metro-style app. The Start-Process cmdlet seems like it should work, but I cannot get it to launch anything unless I provide a path to the .exe For example, the following input works: Start-Process 'C:\Program Files\Internet Explorer\iexplore.exe' Unfortunately, Metro-style apps do not have an executable file. What file do I need to use to launch them? If I wanted to launch Windows Store for example, how

Copy Paste in Bash on Ubuntu on Windows

青春壹個敷衍的年華 提交于 2019-11-29 19:42:08
How to execute a copy paste operation from Windows 10 to the Bash on Ubuntu on Windows environment? I tried the following: ctrl + shift + v right click to paste Any suggestions? Update 2019/04/16: It seems copy/paste is now officially supported in Windows build >= 17643. Take a look at Rich Turner's answer . This can be enabled through the same settings menu described below by clicking the checkbox next to "Use Ctrl+Shift+C/V as Copy/Paste". Another solution would be to enable "QuickEdit Mode" and then you can paste by right-clicking in the terminal. To enable QuickEdit Mode, right-click on

How to access Windows.Services.Store namespace from a Win32 app converted to UWP with the “Project Centennial converter” to enable in-app purchases?

最后都变了- 提交于 2019-11-29 18:57:58
问题 I have a native C++/MFC app that is developed in VS 2008, no .NET stuff, that I converted into a UWP app using the Project Centennial converter. So now I have an .appx package that runs in Windows 10 v 1607 as a UWP app. My next goal is to add in-app purchase support before submission to Windows Store. The question though is how do I access Windows.Services.Store namespace from a pure Win32 app from a native C or C++ code? 回答1: Use WRL. Here's an example on how to purchase an in app purchase:

Debugging VBScript in Windows 10

帅比萌擦擦* 提交于 2019-11-29 18:02:54
I recently took the free Windows 10, upgraded it to Pro, and installed Office 2016 Home. I seem to have lost all my debuggers. I used to be able to type: "%windir%\SysWOW64\cscript.exe" "TestScript.vbs" //d //x in Windows 7 and up would pop the debugger. It all seems to have been removed -- even the debugger clsid is missing. I don't want to install Visual Studio -- is there no way to get the minimalist debugger back? omegastripes I encountered the same issue after I'd installed MS Office 2010 on Windows 7 HB. MS Script Editor included in Office 2000 through 2007 only. So to make debug

Unable to activate Windows Store app (Visual Studio 2015, Windows 10 Version 1511)

折月煮酒 提交于 2019-11-29 17:09:38
问题 Today I updated my Windows 10 PC to Threshold 2. The update went fine apart from Visual Studio refusing to run any of my Universal Windows 10 projects (including new ones). When I try run an app I get this message: Unable to activate Windows Store app '{App}'. The {App name}.exe process started, but the activation request failed with error 'The app didn't start'. I have tried everything: Repairing / Uninstalling then Installing Visual Studio Cleaned the Solution Deleted the 'bin' and 'obj'

How do I create file hardlink in PowerShell on Windows 10?

对着背影说爱祢 提交于 2019-11-29 17:01:40
问题 How do I create file hardlink in PowerShell on Windows 10? PSCX has New-Hardlink , but is it still needed on Windows 10? You could always shell out to mklink , but from powershell that requires you prefix the command with cmd /c , which is ugly and hard to remember. 回答1: New-Item -ItemType HardLink -Name CoverageCount.cs -Value ..\..\OPIAspnet5\Models\CoverageCount.cs The ItemType parameter now includes a type for hardlinks, which I feel is a hidden gem of PowerShell on Windows 10. 来源: https:

How to update chrome driver for windows 10

孤街浪徒 提交于 2019-11-29 16:26:42
Hello I am looking to update my chrome driver to the latest version but ant find any information on updating the driver just info on installing it. What do I need to do to update the driver to the latest version? chromedriver is a single self-contained executable file. Just replace your existing version with a newer one. download the latest version of chromedriver_win32.zip from https://sites.google.com/a/chromium.org/chromedriver/downloads unzip the file to extract chromedriver.exe replace your existing file with this new executable. Recently I found that chromedriver has almost one-to-one