windows-7

Java environmental variable woes, maven also

So I re-installed java in a directory that doesn't have any spaces in it, as I was having issues with it before. Java JDK is installed in: E:\downloads\java\jdk I created a User variable: JAVA_HOME E:\downloads\java\jdk And my Path looks like: %JAVA_HOME%\bin;%M2%; Now opening a NEW cmd prompt: c:\java 'java' is not recognized...

Why does RunDLL32 process exit early on Windows 7?

On Windows XP and Vista, I can run this code: STARTUPINFO si; PROCESS_INFORMATION pi; BOOL bResult = FALSE; ZeroMemory(&pi, sizeof(pi)); ZeroMemory(&si, sizeof(si)); si.cb = sizeof(STARTUPINFO); si.dwFlags = STARTF_USESHOWWINDOW; si.wShowWindow = SW_SHOW; bResult = CreateProcess(NULL, "rundll32.exe shell32.d...

SQL Server 2008 on windows 7 Cannot logon

I am using SQL server 2008 on windows 7 Machine and when i try to logon using local user i get error message login failed cannont login, i am administrator on my machine. Any Ideas? ...

Moving from XP to Windows 7

This week I’m going to try and start the move from Windows XP to Windows 7 on my development PC at work. I’ve downloaded the Windows Easy Transfer app for going from XP to Win7; that should take care of My Documents. My concern is all of the development environment. In particular I’m concerned about re-establishing things like my Wind...

In Windows, where should the eclipse folder be placed?

I'm running Windows 7 with UAC enabled. I've always found it weird that Eclipse doesn't use an installer and doesn't use the AppData folder to store its data in Windows, but lately I've had to reinstall it a couple times (hard drive problems) and I've been wondering if I am really putting it in the best place. I copy the eclipse folder ...

System.Data.OracleClient on Windows 7 64

Hi, I'm trying to access an Oracle Database from a program I'm writing on Windows 7 64bit. Whenever it initializes the client, i get a BadImageFormatException complaining that I'm trying to use a 32bit client in a 64bit environment. I've tried to compile the program in any way (Any CPU, 32, 64 bit), but it did not solve the problem. Any ...

64bit equivalent class for a wmi class "win32reg_addremoveprograms"?

My code below works perfectly on a 32-bit Windows machine, however it refuses to work on a 64-bit machine due to the 32-bit WMI class win32reg_addremoveprograms used in the code. Is there a 64-bit equivalent of this class? $ServerFile = "D:\SharePoint\Powershell\AddRemovePrograms\Machines.txt" $ServerList = Get-Content $ServerFile $Exc...

Problem when typing quote in visual studio.

When using visual studio - when I type an open quotation character in the code designer nothing happens, it seems like the key command is held back for some reason until I type another quotation character, then both are sent to the screen at once. Same applies for single quotes, or double quotes. This is annoying, and I would like no...

Install Trac on 64bits Windows 7

I'm configuring a new Developing Server that came with Windows 7 64bits. It must have installed Trac with Subversion integration. I install Subversion with VisualSVN 2.1.1, clients with TortoiseSVN 1.6.7 and AnkhSVN 2.1.7 for Visual Studio 2008 SP1 integration. All works fine! my problem begun when going to Trac installation. I insta...

Latest Git - No SSH option on install

I installed 1.7.0.2 on Windows 7 and didn't see an option to choose the Git's ssh or Plink for the secure client. How do I set this? Does the environment variable GIT_SSH still work? ...

Why do the Vertrigo 2.21 (MySQL server do not start) do not work under Windows 7 ?

It says that port 3306 might be busy - i have changed it (Settings>Components Settings) but just nothing? VertrigoServ → MySQL database server does not work correctly. Check whether other applications use the important port (3306) and terminate them. Moreover, check firewall settings and correctness the configuration files....

What xdebug dll should I use under Vertrigo 2.21 and windows 7 and how to confugure it ?

I used to utilize php_xdebug-2.0.3-5.2.5.dll under Windows XP but it is not adopted by Win7 ? What is the thread safe and thread not safe ? ...

Missing Right Click menu in Windows 7

We have a few different programs all compiled together in the same suite, recently we had a bug reported that "The Right Click Shortcut Menu was missing." So as with any bug I tried to reproduce it and couldn't. No matter what I did the right click menu appeared on my system. My first guess was that this was an OS issue. We know it work...

Package <blah> does not exist error - NetBeans 6.8 & Windows 7

I'm using NetBeans 6.8 on Windows 7. I upgraded from WinXP and NetBeans 6.7. Now my existing java web app project is no longer able to import/find the packages I've developed - I receive a 'Package ,blah. does not exist' and yet the packages do exist, worked fine in NetBeans 6.7 and the project still compiles and runs OK. I've tried ch...

How to detect programmatically that Internet Explorer is switched off?

What would be the easiest way to programmatically check that Internet Explorer is switched off from Windows Features? Some registry key? I'm trying to customize a dialogue shown to user based on whether IE is installed or not and whether IE is enabled or not. ...

Win7: Right place to install a program that may be 'shared' with other computers

We have an app that currently installs itself into 'program files\our app', and it puts the internal data files into the common Application Data folder. This means the program is available to any user on that particular PC. Now we want to make a multi-user version of this program, multiple PCs accessing the program at the same time acro...

What PHP-debugger I can use under Vertrigo 2.21 and windows 7 ?

I used to use xDebug under Windows XP (as written here → http://serge.yrik.org.ua/blog/blog/devblog/14.html), but it doesn work under Win 7 ! ...

Cannot use CreateObject from VB scripts on Windows 7

When I try to create a COM object in VB script on a Windows 7 (64 bit) machine, I always get the following error: "ActiveX component can't create object 'xxx.xxx'. Code: 800A01AD I have applications that use the COM object without any problem. I have tried running the command line in admin mode, no difference. Is there any way to en...

WCF Duplex net.tcp issues on win7

We have a WCF service with multiple clients to schedule operations amongst clients. It worked great on XP. Moving to win7, I can only connect a client to the server on the same machine. At this point, I'm thinking it's something to do with IPv6, but I'm stumped as to how to proceed. Client trying to connect to a remote server gives...

How to open "Performance Options" dialog from command line or system call

Is there a way to automatically open up the Windows "Performance Options" dialog using the command line or a system call? The long way to get there is to go to Start, right-click on "Computer", then select "Advanced System Settings". A slightly shorter way is to go to Start, type in "Adjust", then select the "Adjust the appearance and ...