windows-7

Eclipse- JDK not found

。_饼干妹妹 提交于 2019-12-12 07:33:37
问题 I have downloaded JDK 7 and Eclipse Helios, but when I open Eclipse, I get the following error A java Runtime Environment (JRE) or Java Development kit (JDK) must be available in order to run Eclipse. No Java virtual machine was found after searching the following locations: C:\eclipse\jre\javaw.exe javaw.exe in your current PATH I have tried to put the exact path of JDK bin folder in eclipse.ini file but it didn't work -vm C:\Program Files\Java\jdk1.7.0_05\bin Can somebody tell me what is

Qt: what is the current status of Windows 7 Taskbar Extensions support?

坚强是说给别人听的谎言 提交于 2019-12-12 07:27:16
问题 Windows 7 Aero Theme has a brand new taskbar with extensions. What is the current status of Taskbar Extensions (jump lists, etc.) support in Qt? 回答1: Far as I'm aware there's no support for this yet - but there would be nothing to stop you making native OS API calls to do this just on Windows. If you want to see an example of this approach, check out this recent Qt Labs posting about using "blur-behind" on windows. 回答2: There is a commercial Qt add-on that implements all the taskbar

EPERM, operation not permitted error, config store

瘦欲@ 提交于 2019-12-12 07:12:41
问题 I know this is a common error with node but all my troubleshooting techniques seem to be failing. Windows 7 (32-bit) Node@0.10.10 npm@1.2.25 This issue occurs when trying to run package commands like bower and yo (Yeoman). For my sanity, I am in a Node.js command prompt running as an Administrator when executing these commands. For example, here is the output for running this with yo : Error: EPERM, operation not permitted 'C:\Users\me\.config\configstore\insight-yo.yml' at Object.fs.openSync

IIS 404/405 errors

笑着哭i 提交于 2019-12-12 07:04:00
问题 I am running IIS7 on Windows 7 Pro. I have a VS2010 solution from which some projects are web services using IIS. Until recently all services worked correctly. However, whenever I add/configure/update a service reference or hit it directly via a web browser, I receive the following error: There was an error downloading 'http://localhost/myapp.Web/myservice.svc'. The request failed with HTTP status 404: Not Found. Metadata contains a reference that cannot be resolved: 'http://localhost/myapp

Change proxy of IE c# for win 7 64 bit(test using httperbrequest to make sure registry change)

南楼画角 提交于 2019-12-12 06:31:09
问题 I have been testing my application on 32 bit and it is working fine but as soon it switches to 64 bit OS then there is a problem it changes proxy for one time but never again it keeps and tests same proxy for the rest of the loop .I came across some posts that shows that there is some difference bit 32 and 64 bit registry and have written a code but it dose not work well on 64 bit environment [DllImport("kernel32.dll", SetLastError = true, CallingConvention = CallingConvention.Winapi)]

How to make two running command-prompt windows send commands to each other on the same computer?

落爺英雄遲暮 提交于 2019-12-12 06:14:46
问题 I am somewhat new to using the command-prompt for programming related purposes so if this makes no sense or seems unclear please request that I elaborate and I will do my best. What I am hoping to be able to do is have two command-prompt windows open on my windows machine (running Windows 7) and have them communicate with each other. For instance I want Cmd window A to tell Cmd window B to print the contents of a file and vice versa. Is this in anyway possible? Also, I know there may be a way

NetTcpBinding and Windows 7 firewall

末鹿安然 提交于 2019-12-12 05:48:59
问题 I have an wcf winforms self-hosted app using nettcpbinding.(net.tcp://aaa.homeip.net:9388) The problem is windows 7 firewall, I added the exception on the inbound and outbound list (port 9388) but still doesnt work(even if the client is in the same machine)...I also tried to add Distributed Transaction Coordinator on the program list like this hint but no success... Everything works fine when firewall is disabled. 回答1: Add/enable Windows Communication Foundation Net.TCP Listener Adapter (TCP

Delay in drawing on windows 7 OS

孤人 提交于 2019-12-12 05:48:32
问题 I need to identify some wnds in my application (objects of CMDIChildWnd class). To do this i am using a timer to draw the border of the wnd with specific color alternatively so as to give the feel of blinking. This works perfectly fine on WinXP machines, but faires miserably on Win7 machines; there is significant delay in painting the highlighted border. However when switched to optimize for best performance setting everything works just smooth. I am using CCLinetDC::Rectangle() method to

Batch File “Unbalanced Parenthesis”

北城余情 提交于 2019-12-12 05:46:54
问题 So I have this program I'm trying to make: //@echo off @title Calculate Caloric Needs set /p name=What is the name of the individual in question? CLS :START set /p sex=Is %name% a M(ale) or F(emale)? (M/F) CLS if NOT %sex%==M if NOT %sex%==F ( echo Invalid Selection...Try Again.... goto START ) set /p w=What is the target weight of %name%? CLS set /p h=What is the height of %name% IN INCHES? CLS set /p a=What is the age of %name%? CLS if %sex%==M set /a result=66 + (6.23 * %w%) + (12.7 * %h%)

NullPointerException thrown when instantiating and OleControlSite on Windows 7

老子叫甜甜 提交于 2019-12-12 05:38:39
问题 I am getting a NullPointerException when trying to open excel from SWT. Sadly I can't post the full stacktrace and some of the code because it has references to the company that I work for. Hopefully someone has run into this issue before and might recognize it. Here is the part of the stacktrace that I can post java.lang.NullPointerException at org.eclipse.swt.ole.win32.OleControlSite.disconnectEventSinks(OleControlSite.java:468) at org.eclipse.swt.ole.win32.OleControlSite