windows-7

No permission to write a file from task scheduler?

蹲街弑〆低调 提交于 2019-12-13 03:43:47
问题 I got a batch file that will run a c++ program and output to a file with ">" redirection. This file is to be run by task scheduler. I found out that when the batch file is ran from task scheduler, it claims "access is denied". The batch file runs fine until it reaches that ">" redirection part. (I see that the whole batch can run finely without ">") I have tried running the task scheduler as an administrator as well, but I still got "access is denied". Is there a way around this? 回答1: There

Is it possible to add functionality to Vista/7 taskmgr.exe?

前提是你 提交于 2019-12-13 03:37:53
问题 I was wondering if anyone knew whether taskmgr.exe in Windows Vista/7 was extend-able via a plugin system. I found this, but this is limited to XP,2k3 and he specifically states he didn't know about vista's and seven's. 回答1: I think it is not possible to extend Task Manager with some kind of plugin. App from the link is just a new app that mimics a regular Task Manager and add some functionality. It is however possible to bind a new app to be executed instead of a normal Task Manager . 来源:

Visual Studio USE LOCAL IIS WEB SERVER issue with IIS 7.5

China☆狼群 提交于 2019-12-13 03:32:15
问题 My Visual Studio 2010 issues following error when I try to map application to use local IIS: A larger image can be viewed here: http://img717.imageshack.us/img717/8323/errorvi.jpg I run VS2010 as administrator and I have installed (I guess) all necessary services and IIS features. What could be the reason? 回答1: Updated: Having looked at the error message again, when you say you run as administrator, are you running as an account that a member of the Administrators group or the real

Using GlobalFlags to call vsjitdebugger with VS2010

假如想象 提交于 2019-12-13 03:24:51
问题 I've upgraded to Win7 and VS2010. Previously on Win2K and VS2008, I used GlobalFlags to debug an application on startup, simply by setting it's debugger to vsjitdebugger - see the screenshot below. Unfortunately, this doesn't work on my current setup - a google and search of SO haven't turned up any answers. Thanks in advance. UPDATE: Forgot to mention that my global flags settings do seem to have some effect - running my command on the command line causes Windows to say the program has

Win7 Taskbar Icon Incorrect for PySide py2exe App

主宰稳场 提交于 2019-12-13 03:24:44
问题 I have a PySide app that I'm converting to an exe to be run on Windows 7 without any dependencies using py2exe. Here's setup from setup.py setup(windows=[{ "script" : "src/main.py", "dest_base" : "xxx-setup-" + configuration.version, "icon_resources": [(1, "images/xxx_icon.ico")], "other_resources": [(24,1, manifest)] }], name='xxx', data_files=[('imageformats',[r'C:\Python27\Lib\site-packages\PySide\plugins\imageformats\qico4.dll'])], options={"py2exe" : { "includes" : ["simplejson", "sip",

issues with WS2_32.dll behavior between windows 10 vs windows7

 ̄綄美尐妖づ 提交于 2019-12-13 03:18:49
问题 Did not find any suitable solution with existing questions so asking new question here. We use log4cxx which has WS2_32.LIB as dependency. WS2_32.LIB is present in Windows SDK version 10.0.16299.0. When using this log4cxx.dll on windows7 WS2_32.dll and all its dependencies gets loaded properly and application start normally. but in windows 10 environment WS2_32.dll expects dependent dll's like API-MS-WIN-CORE-CRT-L1-1-0.DLL which are not part of windows10 or any of the microsoft visual c++

DXGI and 2+ full screen displays on Windows 7

ε祈祈猫儿з 提交于 2019-12-13 03:11:12
问题 I am developing a program that needs two full screen Direct3D dispalys. According to the documentation I should create the swap chains in windowed mode and then switch to full screen mode. While this works fine on Windows 8 (currently I'm just using Alt-Enter to do the switch), it does not work on Windows 7. On Windows 7 I get a problem similar to this issue where the screen that has most recently been switched to full screen works fine, but the other screen, which was previously working just

Correct way to create shortcuts in user start menu CSIDL_STARTMENU

試著忘記壹切 提交于 2019-12-13 02:59:18
问题 I'm making a non-elevated software installer for Windows 10. The installer saves the application into C:\Users\USER_NAME\AppData\Local\MY_APP_NAME folder. It also creates a shortcut in C:\Users\USER_NAME\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\ folder. The shortcut correctly appears in Start Menu, but it never appears in search results. I tried rebuilding the search index and ran Start Menu troubleshooter with no luck. I'm from Poland and thus Cortana is disabled on my machine.

WPF Windows Docking that affects other windows in Maximized mode

。_饼干妹妹 提交于 2019-12-13 02:54:14
问题 I'm writing a WPF project that is effectively a ticker that runs at the bottom of the screen, above the taskbar. I need the ticker to: 1) Reside directly above the taskbar 2) Stay on top of all other windows 3) To continue to do so if the taskbar is set to auto-hide, without obstructing the taskbar 4) Make it so that other windows, which are maximized, don't occupy the space behind the ticker. So it should behave the same way as the task bar, in that it occupies permanent desktop space, which

What leads to the floating point exception “1.#IO”

≯℡__Kan透↙ 提交于 2019-12-13 02:36:46
问题 I'm debugging a simulation with many calculations in many Fortran files. I am used to seeing some floating point exceptions (-1.#QNB or 1.#QNAN) for errors that involve division by zero or operations that exceed the maximum size for floating point number. I'm assuming -1.#IO means invalid operation, but I'm not sure mathematically what would cause this and not QNB or QNAN or QINF. What would lead to the exception -1.#IO? 回答1: According to the IEEE 754 Standard for Floating Point Operations,