windows-7

“Permission Denied” using cygwin in Windows

筅森魡賤 提交于 2019-12-20 09:56:05
问题 Background: I am trying to write a [.bat] file so I can double click it and a bash script will get invoked. The bash script will start up a few windows GUI apps to monitor GPU/CPU temperatures. I just did a fresh install of cygwin v1.7.7-1 (downloaded today) and windows 7. Code: monitor-temps.bat: C:\cygwin\bin\bash.exe ~/bin/monitor-temps.bash pause Code: monitor-temps.bash: #!/usr/bin/bash "/cygdrive/c/Users/michael/Desktop/apps_and_drivers/GPU-Z.0.4.8.exe" & Output: After I double click

Why does scaling of controls differ between PC's?

风流意气都作罢 提交于 2019-12-20 09:45:00
问题 I try to give the user a 'clean and simple' interface by hiding some elements. Only a small arrow denotes that he can expand some part of the main menu bar. When all is closed it looks like this: When you open all it looks like this: Each arrow is a SpeedButton thats sits on the left side of a panel. By clicking on the button the Width is toggled between the width of the Speedbutton (closed) and the width of the panel at design time (open). The width of the panel at designtime is stored as a

How to register a windows service but avoid it being listed in the services console?

只谈情不闲聊 提交于 2019-12-20 09:25:26
问题 I know a legitimate Windows Application, a parental control software, that install as a service, but the service is not listed in the service list, the list you see in services.msc. It is listed in the task manager, though, but not in the server list. I know it is a server, because it is in the Registry section with all the rest of the services, however, the services.msc console won't list it. I've researched for days without an answer. I found this similar question, but in the answers they

Cucumber not showing coloured output in windows

心已入冬 提交于 2019-12-20 08:59:33
问题 this is probably something really stupid but I can't work it out. I upgraded my version of cucumber to v 0.10.0 and now the test's (running on Win 7) are not showing coloured output with the "pretty" formatter. When tests are run it prints this error: *** WARNING: You must use ANSICON 1.31 or higher (http://adoxa.110mb.com/ansicon) to get coloured output on Windows I have been to http://adoxa.110mb.com/ansicon but it's not obvious to me how I should be upgrading it. Anyone know how to upgrade

Can't delete a folder on Windows 7 with a trailing space [closed]

微笑、不失礼 提交于 2019-12-20 08:49:22
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 5 years ago . Issue: I have a Windows 7 sub-directory which I can't delete. While I know others here, and many more elsewhere on the Internet have asked about this general class of Windows 7 file system problem, my question here specifically relates to the specific class of un-deletable files on Windows 7 which have a

Cannot get Remote Debugging working with VS2010

北慕城南 提交于 2019-12-20 08:48:39
问题 I have a server and a workstation on the same corporate domain. My user is a local administrator on both machines. I have Installed the VS2010 version of MSVSMON and set it to run as a service on the server under my user DOMAIN\greg.b (I gave myself "log on as service"). I log onto the server using my domain account and start Remote Debug monitor. I then connect to the server from my Visual Studio. In the monitor on the server I can see 23/09/2010 16:26:33 DOMAIN\greg.b connected. Then a

How would I find the cygwin version which has been installed on my machine

不问归期 提交于 2019-12-20 08:47:03
问题 Cygwin - How would I find the Cygwin's version which has been installed on my machine? (Win Vista) 回答1: With the uname utility, as on other POSIX systems. uname -r 回答2: If you want to detect if you're running the 32 bit or 64 bit version, the -m switch will tell you: uname -m "i686" for the 32-bit version, "x86_64" if it's 64-bit. uname -a ..gives you all the information at once. Check man uname for details. (This is also answered in How do I tell whether my cygwin installation is 32 or 64

Have WAMP start automatically upon Windows start-up (without logging on or any UAC interference)

安稳与你 提交于 2019-12-20 07:59:06
问题 I'm looking to have WAMP start when I switch on the computer. Ideally it would start without users even having to log on. I've added WAMP to the start-up in the registry but a user needs to have logged on and UAC is still playing it's annoying part. Is there a way to accomplish this without logging on or UAC interfering? Thanks. 回答1: Follow these instructions to start the appropriate WAMP services on start-up. UAC will not interfere here and there is no need to log in to start your web-server

Access Parallels Windows localhost from Mac [closed]

狂风中的少年 提交于 2019-12-20 07:59:03
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 6 years ago . I use Windows (7) OS as a development platform, running on a Mac / Parallels Desktop 5. I would like to access the Windows localhost - from the Mac side for testing purposes. I've found many solutions of accessing the other way around (access Mac's localhost from Windows) - but found no solution for this access

How can I programmatically control the Microphone and Microphone Boost settings in Win7 from C#?

橙三吉。 提交于 2019-12-20 07:28:05
问题 Windows 7 has some new audio settings which I haven't been able to control from my C# application. Specifically, within the Input (microphone) properties, there is a Levels Tab containing Microphone and Microphone Boost sliders, and a Microphone mute toggle / checkbox. I need to programatically ensure that the Microphone is not muted--but have not found the necessary APIs to either read or set the values. 回答1: I was unable to find an API that provided control over these specific volume levels