windows-7

Delphi 7 - Why does Windows 7 change encoding of characters in runtime?

I have a delphi 7 form: and my code: when I run this form in Windows 7, I see: In design time, form had polish letters in first label, but it doesn't have them in runtime. It looks ok on Vista or Windows XP. When I set caption of second label in code, everything works fine and characters are properly encoded. First 5 codes of t...

Test Results window in VS2008 not showing results

I have an existing solution that has been working for a long time, containing around 600 tests in a couple of test projects. I recently moved to a new PC - it's Win7-x64, and I installed a fresh copy of VS2008. When I first opened the solution on the new machine, the Test List Editor was completely empty. Trying to create a new test l...

Programatically change cursor speed in windows

Since getting a satisfactory answer on SuperUser is very difficult, I want to rephrase this question and ask: Is there any way to programatically detect a mouse was plugged in the usb port, and change the cursor speed in windows (perhaps through an API)? I'd like to use C#, but I'm open to any language that can run on a windows 7 machi...

SQLCODE -1390 connecting to DB2 64 bit client from 32 bit app

Hi there, I've got a 32 bit application that connects normally to a DB2 database. (written in C) When I run it on a machine with a DB2 64 bit client, I get a SQLCODE -1390 from connect. (Win7 64 Bit, DB2 V9.7 client 64 bit) Connecting from the command line works (db2 connect to ...) With a 32 Bit DB2 client on the same Win7 64 Bit machi...

Windows 7 64 Bit - ODBC32 - Legacy App Problem

Good day StackOverFlowlers, I´m a little stuck (really stuck) with an issue with a legacy application on my organization. I have a Windows 7 Enterprise 64 Bit machine, Access 2000 Installed and the Legacy App (Is built with something like VB but older) The App uses System ODBC in order to connect to a SQL 2000 DataBase on a Remote Serv...

Unless I start Management Studio with "Run as administrator", I get a Login Failure (Error 18456)

I cannot connect to the SQL Server instance if I do not start management studio as a administrator. I am running windows 7, SQL Server 2008, and Management Studio 10.0. If I run as a normal user, the error I get is: Cannot connect to .. Additional information: login failed for user 'COMPUTERNAME\MyUserName'. (Microsoft SQL Server, E...

prevent sleep mode and automatic update/shutdown - windows 7

Hi, I need to run a program - probably for a couple of days. I am just wondering how I can prevent windows 7 to go into sleep mode/hibernate and prevent automatic update. Thanks. Christian ...

Makecert problem under Windows 7

I'm creating a certificate to use with an SslStream, and I've been doing it this way under XP: makecert -r -pe -n "CN=aName" -ss my -sr localmachine -sky exchange -sp "Microsoft RSA SChannel Cryptographic Provider" -sy 12 server.cer If I understand this correctly, this creates a certificate in server.cer, and creates a private key ...

Problems installing SQL Server 2008 on Windows 7 Pro

I'm having no luck. I've tried installing SQL Server 2008 Express on my Windows 7 Pro box about 4 times now. Each time it installs the 'setup files required' then does nothing. All I can do is click the 'New ... or Add Features...' link to try starting again but get the same results each time. Any developers experienced this before? ...

Mercurial extensions not working in Windows 7 x64?

We are test driving Mercurial at work. We don't want to have to enter our user/pass each time we interact with a repository, so we set up the mercurial_keyring extension. We: Installed Python 2.6.5 (32 or 64 bit, depending on the system) Installed setuptools (for easy_install.exe) easy_install keyring easy_install mercurial_keyring ...

::LookupAccountSid API Extremely Slow When Targeting x64 Platform (Windows 7)

During our application startup, we are making a call to ::LookupAccountSid(). When I build targeting the x86 architecture, this call is nearly instantaneous. However, when I target x64 (debug or release), the call generally takes over 40s to complete. Since this is occurring during application startup, the result is fairly unpleasant ...

classic asp & .net 2 site not working on windows 7

I am receiving the following error message: An error occurred on the server when processing the URL. Please contact the system administrator. If you are the system administrator please click here to find out more about this error. I have my site in the inetpub directory in a subfolder called website. I have also gone to add/re...

Debugging Drupal 6

OK, I've read and attempted all of the tutorials I can find on being able to debug a locally installed Drupal 6 instance. I'm on Windows, 32-bit. I have access to Eclipse (obviously) as well as Visual Studio 2005/2008. I've yet to be able to get any of the Eclipse options (XDebug, Zend, etc.) working to be able to step through code, i...

How to get target path for UserName/My Pictures folder?

How can I get target path for "My Pictures" folder in Window Seven? In Seven we've two folders: "Pictures" and "My Pictures" (second links on a first). So in my app I display both folder, and want understand that "My Pictures" folder is only shot-cut. What attribute should I use or other way? ...

how to install multiple instances of apache on a single windows7 machine?

I want to run multiple instances of apache on one single machine? How to go about it? I am using xampp.. any kind of help would be appreciated. thanx I installed one more xampp in a separate directory, but only one xampp control panel can run at a time. ...

How do you map a shared CD/DVD drive on the host to a drive letter on the Gues in Windows Virtual PC?

In the previous versions of Virtual PC, the Host's CD/DVD drives just get assigned drive letters. Nice and neat. But in Windows Virtual PC (Win 7) the drives are all just available but without drive letters. I need to access the Host's CD drive using a drive letter. ...

How do I compile for windows XP under windows 7 / visual studio 2008

I'm running Windows 7 and Visual Studio 2008 Pro and trying to get my application to work on Windows XP SP3. It's a really minimal command line program so should have any ridiculous dependencies: // XPBuild.cpp : Defines the entry point for the console application. // #include "stdafx.h" int _tmain(int argc, _TCHAR* argv[]) { pr...

List service and services status under Win-7

I have a service monitor app that monitors the status of three other servers app - you know those kind of green, red status stuff, start, stop, etc. The problem is that it shows the wrong state in Windows 7 even if the user is the administrator. The start, stop buttons are disabled and the install button enabled, the status color is gr...

How can I enable Vista/Win 7 theming/style for a ToolTip control?

In Windows Vista and Windows 7, ToolTips have a new visual style or theme, they are shiny grey metallic. How can I enable the new style for a ToolTip control? Some controls, like ListViews and ToolBars, use the new tooltips automatically, but other tooltips are rendered with the old yellow XP style. I've tried sending an TTM_SETWINDOW...

Is there a way to query WMI without using PowerShell or CIM Studio?

I'd like to query WMI for WCF service information, but I'd rather not use PowerShell or the CIM Studio. Any other tools for doing this (command-line is cool too)? ...