windows-10

Unexpected behaviours in toast notification from desktop app in Windows 10

懵懂的女人 提交于 2019-11-28 14:18:29
I used the toast notifications for desktop app since Windows 8.1 but with the new action center in Windows 10, I am experiencing some unexpected behaviours. When the user do nothing with the toast, it simply disappear without going to the action center ( ToastNotification.Dismissed is ToastDismissalReason.TimedOut ). I don't know if it related to the fact that I use it in a win32 app but the same toast in a Windows Universal App goes to the action center when it timed out. One thing to note is that I have not registered an AppUserModelID for my win32 app like it was needed in W8.1, it seems to

Is Task Manager a special kind of 'Always on Top' window for windows 10?

穿精又带淫゛_ 提交于 2019-11-28 12:45:46
If my window has the 'always on top' extended style set, I would expect it to be on top of all windows that do not have the 'Always on top' style set and those windows that have the 'Always on top' style set but were activated before my window was activated. To test this feature, I open the task manager window - set it to always on top and then I open my window ( myWindow ). In Windows 7, I observe the expected behaviour - myWindow comes on top of the task manager. However, in Windows 10, that's not the case. The task manager is 'always on top' of other windows, even if those windows in

Debugging VBScript in Windows 10

烂漫一生 提交于 2019-11-28 12:43:49
问题 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? 回答1: I encountered the same issue after I'd installed MS Office 2010 on

MSBuild.exe has stopped cmake error

≡放荡痞女 提交于 2019-11-28 12:10:59
问题 I was able to compile zlib yesterday with CMake but the only possible change was installing Windows 10 SDK 10.0.14393.33 and now that I configure it with the same choice (Visual Studio 14 2015 win64) I get the following error: Any idea what could have gone wrong and how to fix it? The C compiler identification is unknown CMake Error: Could not find cmake module file: C:/Users/mona/playing-for-data/renderdoc/renderdoc/3rdparty/zlib/build /CMakeFiles/3.7.1/CMakeCCompiler.cmake CMake Error at

How can I stop my installer from triggering Windows 10's “This app has been blocked for your protection” error?

岁酱吖の 提交于 2019-11-28 12:04:12
Windows 10's security features sometimes blocks my application installer as not trusted, saying "This app has been blocked for your protection". (My installer is digitally signed.) There are workarounds available for end users, but this is not a good user experience. What should I do so Windows 10 trusts my application when downloaded from my company website? You can improve your reputation by signing with a trusted code-signing certificate. Established businesses resolve this chicken-and-egg problem by having previously used code-signing (i.e., back when Microsoft was less draconian). The

How to launch a full-trust (desktop bridge) app from UWP with arbitrary parameters

三世轮回 提交于 2019-11-28 11:32:46
Is it possible for a UWP app to launch its Desktop Bridge (full-trust application component) with arbitrary command-line arguments? I see the ability to specify "argument groups" (see https://docs.microsoft.com/en-us/uwp/api/Windows.ApplicationModel.FullTrustProcessLauncher ), but it looks like that only supports using a predefined ParameterGroup . I need to launch a UWP with programmatically-determined (at launch time) arbitrary command-line arguments. Is this possible, and if so, how? No this is not possible today. One quick way to accomplish the scenario is to have the UWP write the command

Can't open Package.appxmanifest in Visual Studio 2015

為{幸葍}努か 提交于 2019-11-28 11:20:36
I started porting my app to Windows 10 Universal App today, started as a blank project. However I can't open the Package.appxmanifest file in Visual Studio, even when I right-click and select View Code (F7). It says "Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information." Any solution for this? Q U A N G I fixed it by removing the Apache Cordova Tools Package. Michael Braude You are hitting by a known bug that we have fixed it for new installs. However, you could hit it if you installed the tools for universal apps within a specific

ContactManager.RequestStoreAsync() throws System.UnauthorizedAccessException

核能气质少年 提交于 2019-11-28 10:37:59
问题 I am trying to use the ContactManager class in the Windows 10 Universal apps API. I am trying to do this on a Windows 10 Desktop machine. I am receiving an exception, "System.UnauthorizedAccessException" when trying to request a list of contacts using ContactManager.RequestStoreAsync(). In previous versions, this function only worked on Windows Phone devices. The Microsoft documentation just says it requires a Windows 10 Device family now, but I'm not having any luck. using Windows

Can DPI scaling be enabled/disabled programmatically on a per-session basis?

给你一囗甜甜゛ 提交于 2019-11-28 10:24:46
My application happens to be written in Python using pygame, which wraps SDL, but I'm imagining that this is probably a more-general question to do with the Windows API. In some of my Python applications, I want pixel-for-pixel control under Windows 10 even at high resolutions. I want to be able to ensure, for example, that if my Surface Pro 3 has a native resolution of 2160x1440, then I can enter full-screen mode with those dimensions and present a full-screen image of exactly those dimensions. The barrier to this is "DPI scaling". By default, under Windows' Settings -> Display, the value of

How to update chrome driver for windows 10

ⅰ亾dé卋堺 提交于 2019-11-28 09:25:37
问题 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? 回答1: 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