windows-7

Does SuperFetch affect dwMemoryLoad percentage and clash with smart memory management?

If you use GlobalMemoryStatusEx to get statistics, one is dwMemoryLoad which is the approximate percentage of physical memory in use. Is memory that SuperFetch has consumed added to dwMemoryLoad? I'm working on software which uses this statistic to manage its own caching, flushing cache when the percentage goes too high. I'm worried that...

Task bar icons missing

Hi, I have tried to install a shell DLL in Windows7 using innosetup (installation script). To apply the shell changes I have restarted the explorer by using batch file (during installation). It seems working on WindowsXP and Windows2003 without any issue. But in Windows7 once the explorer restarted all the taskbar icons like skype, goo...

Is it possible to use the IE connection settings from a .NET application

I have a .NET application (WPF but that doesn't really matter) running on Windows 7 (x86). I want to connect to the internet from my application to call a web service. When there is a wifi connection, I want to use that. If there is no wifi connection, I want to automatically connect to a GPRS connection setting defined in the OS (e.g. i...

IIS7, Default.aspx error message (screenshot)

I'm creating a new ASP.net website via Visual Studio. I then try to run the default.aspx page it generates, and it throws this error: I've tried deleting the affected lines as suggested by MSDN but to no avail! I am on Windows 7, with ASP.net installed Any ideas? ...

Enable drag&drop from explorer to Run-As-Administrator application

I built a winforms application, and implemented drag&drop functionality. this functionality works great in WinXP or in Win7 from Run-As-Administrator applications. The problems become when tring to drag from non-admin application in Win7 to my program, it just not working. I understand this because the OS filtering the messages. I foun...

Why can I not compile GTK+ using MinGW?

Help me Stackoverflow! So, I feel that I have set up my environment correctly but I cannot build my program! #include <cstdlib> #include <stdio.h> #include <stdlib.h> #include <gtk/gtk.h> using namespace std; /* * simple gtk application * author jan bodnar * date february 17, 2008 */ int main(int argc, char** argv) { GtkWidget *win...

Quickly getting the color of some pixels on the screen in Python on Windows 7

I need to get the color of some pixels on the screen or from the active window, and I need to do so quickly. I've tried using win32gui and ctypes/windll, but they're much too slow. Each of these programs gets the color of 100 pixels: import win32gui import time time.clock() for y in range(0, 100, 10): for x in range(0, 100, 10): ...

color coding of .phtml Zend framework files in Dreamweaver 8 win7

Hi, I am using Dreaweaver 8 in windows 7. Problem is that i cannot see color syntex coding of phtml files. How can i ??????? Thanks in Advance. ...

How to run more than 6 instances of a application on a single port in Windows 7/vista

Hi All, I have an application running on a different machine ....the application needs some info from a windows 7 machine, which is listing on a specific port. I need to run 64 instances of the application but vista is supporting only 6 instances over the specific port. How can I change this from 6 to 64 ... Thanks for your help....

Free RCS for Windows 7

I've been using RCS (revision control system) from MKS Source Integrity for several old projects. I have to move to a new Windows 7 computer. The old version I have does not install on Windows 7, and a new version of the software is very expensive. What is the best free or cheep source of RCS for Windows 7? Also, will it be compatible w...

Stop application to write on Registry and Filesystem

Suppose you have installed application X on your machine, not totally trustful. I would like to stop this application to make changes in my computer. My OS is Windows 7, but a solution on a neighbor like XP or Vista would be valid too. Thanks in advance. ...

WPF button press on Windows 7 mulit-touch

I am developing a WPF kiosk like client that will be deployed on an HP TouchSmart Windows 7 machine with multi-touch enabled. My problem is that with Windows 7 multi-touch, the application does not recognize a finger 'tap' as a button press event, and therefore the button press Trigger to change color is never fired. The Windows 7 an...

Connecting to database over loopback adapter with SQL Management Studio under Windows 7

Hi all, following situation: I am running a MSSQL Server 2005 on a virtual pc. The vpc(Windows Server 2003) and my host system(Windows 7) are connected with a loopback network adapter. I can ping the vpc and I can access the web application running on the vpc. But I am not able to connect to the database from my host system with Sql Ma...

Intercept outputs from a Program in Windows 7

I have an executable program which outputs data to the harddisk e.g. C:\documents. I need some means to intercept the data in Windows 7 before they get to the hard drive. Then I will encrypt the data and send it back to the harddisk. Unfortunately, the .exe file does not support redirection command i.e. > in command prompt. Do you know ...

win 7 hangs on restart because of tascam audio interface

In xp, my Tascam US 122 usb audio interface works fine. On my windows 7 computer the device works, however when i restart/shutdown it hangs at the "shutting down" screen forever. If the usb cable is removed prior to initiating restart/shutdown then everything goes fine, the computer restarts as normal. This is a known problem, runnin...

Do Windows 7 virtual machines exist

Does anyone happen to know whether Windows 7 is an option for new virtual machines running on an actual Windows 7 OS . . . ...

Strange error logging in to supplier site from Sony laptop

This one would have me tearing out my hair, if I had any. We need to log in to a site from an advertising supplier. From within our office LAN I see the following ... I have no issues logging in to this site from my desktop PC running XP, but my boss - who is the one who needs to log into this site, cannot. On my boss's system, which ...

Programmatically add rules to "Windows Firewall with Advanced Security snap-in" ?

Is there any library in .NET that would allow me to manipulate the Windows Firewall with Advanced Security in Windows 7? The reason I ask this is because, I want to be able to add program/port exceptions programmatically. For example, I want to add program.exe to the Inbound Rules section and for this program, I want to allow TCP port ...

How to start `powercfg.exe -energy` from a .NET app?

When I using (var process = new Process { StartInfo = new ProcessStartInfo { FileName = "powercfg.exe", Arguments = "-energy", RedirectStandardOutput = true, UseShellExecute = false, } }) { process.Start(); process.WaitForExit(); } It outputs: A biblioteca de Diagnóstico de E...

Resources for Windows Aero Glass and Compositing (DWM)

I am looking for good resources for learning to use the Win32/GDI APIs or whatever supercedes it to draw and paint directly using the Win32 API to a glass form. While I am using Delphi, I tagged this as Delphi or Visual C++. Any code samples and articles that you can find would be appreciated. MSDN articles do not seem to be written a...