windows-7

how do you uninstall an xampp installation that refuses to uninstall?

依然范特西╮ 提交于 2019-12-08 03:09:41
问题 I downloaded xampp 1.7.3 (32) on windows 7 (64) in the programs(86) folder. both MySql and Apache refuse to run, they start and then instantly turn of. All ports are free. So I decide to uninstall however, when i run the uninstaller I receive the following error "Input Error: Can not find script file "C:\Program Files (x86)\xampp\uninst.temp\xampp_uninstall.vbs" XAMPP uninstall not OK Why is there spaces in the above line and does this matter "C:\Program Files (x86)" ? Can somebody please

Python executable as Windows Service

拜拜、爱过 提交于 2019-12-08 03:02:42
问题 I know there are similar topics to this on StackOverflow, but none of them have the same issue as me. Most of the questions are asking how to start a service from Python. I have a .bat file that is creating a service, and using a PythonFile.exe that I created using py2exe. I am getting the error "Error starting service. The service did not respond to the start or control request in a timely fashion". The service does not run, but I see the executable in the ProcessManager processes. Are there

How to execute “net use” command from Inno Setup installer on Windows 7?

与世无争的帅哥 提交于 2019-12-08 02:58:15
问题 I'm working on an Inno Setup installer, which calls net use to connect to a shared server. The installer can connect to the server, if it's running on Windows XP, but not on Windows 7. I think it's related to UAC as I type the same command, the server is connected on Windows 7, but the setup is running with admin privileges. I'm using the following net use command through Exec or ShellExec script functions: /c net use \\servername password /user:username Actually, here is a part of the script

Change h.264 quality when using SinkWriter to encode video

早过忘川 提交于 2019-12-08 02:36:01
问题 I am using Microsoft Media Foundation to encode a H.264 video file. I am using the SinkWriter to create the video file. The input is a buffer ( MFVideoFormat_RGB32 ) where I draw the frames and the output is a MFVideoFormat_H264 . The encoding works and it creates a video file with my frames in it. But I want to set the quality for that video file. More specifically, I want to set the CODECAPI_AVEncCommonQuality property on the H.264 encoder. In order to get a handle to the H.264 encoder, I

how can i set the value of Minimum (Maximum) Processor state

房东的猫 提交于 2019-12-08 02:34:09
问题 Under Win7, open Control Panel -> Power Options -> Advanced Settings->Processor power management. you can see Minimum Processor state, Maximum Processor state. I have get the value by powercfg command using C#. Now,I want to set the value of Processor state by C#. For example the old value is 5%,execute the programe,update the value to 10%. I have search the powercfg help document,there are no such command to do this. How can I achieve this? 回答1: I could only recommend calling

Writing to the Windows 7 “preview” window area

早过忘川 提交于 2019-12-08 02:01:20
问题 How can I write or draw controls to the Windows 7 preview area using C#? For an example of what I am talking about, open Windows Media Player in Windows 7 and play a song. While the song is playing, minimize Windows Media player, then hover your mouse over the Windows Media Player icon and you will see a pause, rewind and fast forward button just below the actual Media Player preview window. How can I duplicate this kind of behavior in C#? 回答1: You're looking for Windows 7 Thumbnail Toolbars:

User/password problems with GetVolumeNameForVolumeMountPoint() (Windows remote drive mount?)

无人久伴 提交于 2019-12-08 01:59:54
问题 From a Vista workstation, I have an attached XP Embedded computer on which I want to programmatically mount a volume locally (e.g., mount the XP Embedded \\MyXPEmbedded\C:\some\path\ to the Vista workstation (mounted to C:\mounted_XPEmbedded\ ). (This is an administrative utility that runs on the Vista workstation that maintains files on the XP Embedded workstation, which is part of a larger device.) I can see the XP Embedded computer from the Vista workstation. For example, I can :

POST getting converted to GET across OS

白昼怎懂夜的黑 提交于 2019-12-08 01:59:37
问题 I'm facing a very weird kind of problem while running my application. When I hit a website and login to my application, the POST is getting converted to GET automatically. Since all the request parameters are getting lost due to this, the page shows up an error screen. This issue happens in IE-8 (Windows 7), but works absolutely fine in IE-8(Windows XP). How is the OS involved in this? Have anyone faced such issues? This issue happens in IE-9 as well. Kindly refer to this issue as well. Any

Unable to install Android SDK 17 [duplicate]

こ雲淡風輕ζ 提交于 2019-12-08 01:53:08
问题 This question already has answers here : Closed 7 years ago . Possible Duplicate: Android: trouble updating to Android SDK Tools, revision 7 I'm trying to install 6 new updates to the Android SDK (to version 17 from 16), I get this err msg: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -= Warning ! =- A folder failed to be moved. On Windows this typically means that a program is using that folder (for examplle Windows Exploder or your anti-virus software.) Please momentarily deactivate your anti

How to install node-mysql?

断了今生、忘了曾经 提交于 2019-12-08 01:38:23
问题 Im in windows 7 cmd prompt,,, Im trying to instal by: npm install node-mysql Im getting this: C:\Program Files\nodejs>npm install node-mysql npm http GET https://registry.npmjs.org/node-mysql npm http 404 https://registry.npmjs.org/node-mysql npm ERR! 404 'node-mysql' is not in the npm registry. npm ERR! 404 You should bug the author to publish it npm ERR! 404 npm ERR! 404 Maybe try 'npm search mysql' npm ERR! 404 npm ERR! 404 Note that you can also install from a npm ERR! 404 tarball, folder