windows-7

What is the exact architecture/components of MinWin?

I've always wanted a minimal windows NT build . Sounds like one's already there : MinWin. Can anyone tell me the exact design or architecture of MinWin and is it used in Windows 7 ? Windows Server 2008 already has a minimal Core build available for deployment . Why not Windows 7? ...

Sticky Notes API

hi do you know any sticky notes api? ps I know that tere is a same question but i just wanted to submit it under another tag, and had tno idea how to do that ...

TortoiseGit Fail to install context menu on Windows 7

I tried to install TortoiseGit on Windows 7. Installation seemed successful, but TortoiseGit context menu does not show up after reboot. What should I do to install TortoiseGit context menu? P.S. 1. msysgit is installed and successfully configured in TortoiseGit, if it's relevant. 2. uac is not turned off. Thanks ...

WCF Performance on Windows 7

I have an interesting problem with WCF in a Windows 7 environment... it's slooooooow. The service is self-hosted, running in a console app. The same code running in a Vista environment runs in about 1/3 of the time. Server config: <system.serviceModel> <behaviors> <serviceBehaviors> <behavior name="Logging.Services.LoggerServ...

WCF NetMsmqBindingin w7

I'm using NetMsmqBinding to build up service but got sth strange on w7. if the WCF Client and the service is on the same machine, the client cannot call the service successfully but result in "Access is denied" error (-1072824283, 0xc00e0025). the call can be done if the client is run as administrator. if the client and the service are...

Directory.Exists returns true when directory is not present

I am working on an application for Windows 7, and run some routine directory creation code: string dirPath = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.CommonApplicationData), "MyDir"); if (!Directory.Exists(dirPath)) Directory.CreateDirectory(dirPath); The problem is that the Directory.Exists line returns...

RUNASADMIN in Registry doesnt seem to work in Windows 7

For a while now the installer for my program has used the below code to make my app run with administer privileges. But it seems to have no affect under Windows 7. In Vista it worked beautifully. If I right click the shortcut and tell it to run as Administer, the program will start fine. But by using the below, code it should be made to ...

Failing to set COM+ ConstructorString on Win7 - CryptProtectData changes?

UPDATED I'm trying to programmatic-ally set a COM+ component's ConstructorString with a value for later initialization. The code in question works fine on WinXP, Win2k3, Vista and Win2k8. I'm failing on Win7 - Home Premium version. I've determined by trial and error that there seems to be a size limit on the constructor string - if t...

Java Sound API to access the system/master volume control in Vista and Win 7

History & Situation: I'm currently working on updating a Java application that was developed for a client several years ago (to run on WinXP) and is used for testing and training people with certain hearing impairments. Users who bought this application were provided with a particular USB sound device and headphones. One of the most im...

Win7: Replacing a driver without reboot

I'm debugging an audio driver under Windows 7. When I need to replace it with an updated version, I have to reboot the system because a copy of current driver under DriverStore is locked despite the fact that the driver is unloaded. Is there a way to avoid rebooting? It was possible on XP... ...

Log my battery performance on netbook

Which Windows API (Windows Xp and Window 7) do I use to log my battery performance on netbook? I want to write an app which can graph the watt vs time. I always run a select few apps on the netbook. Is there a tool for this already? ...

Gvim, MinGW and Powershell making them work the CLI way.

Just shifted to windows7. Liking it :). Is there a way to install MinGW in windows, such that, i can cd to my code directory (which is different from MinGW install directory) and compile my code there. IF, no then what is the equivalent of $PATH (bourne shell) in windows, and how shall i set it. Can this trick (setting MinGW in default...

Installing SQLite 3.6 On Windows 7

How do I install SQLite 3.6 on Windows 7? I extracted sqlite3.exe, sqlite3.dll, and sqlite3.def to C:\Windows\System32 but when I try to run a Ruby program that requires the use of sqlite3, I get this error: The program can't start because sqlite3.dll is missing from your computer. Try reinstalling the program to fix this problem. ...

How do I gather TCP statistics on Windows?

I am interested in gathering some statistics from every TCP connection on a windows box for performance evaluation reasons. I see part of the API I need: "The GetTcpTable2 function retrieves the IPv4 TCP connection table." I could obviously poll this function to find new connections, but really what I would like to do is collect some...

Using Windows 7 taskbar features in PyQt

Hi all. I am looking for information on the integration of some of the new Windows 7 taskbar features into my PyQt applications. Specifically if there already exists the possibility to use the new progress indicator (see here) and the quick links (www.petri.co.il/wp-content/uploads/new_win7_taskbar_features_8.gif). If anyone could pro...

Windows 7 process scheduler and Windows Embedded scheduler

What are the differences in the Windows 7 scheduler and Windows Embedded scheduler ? I last used Windows CE 5.0 (and XP Embedded). As mentioned here : "Microsoft has announced that the next version, Windows Embedded Standard 2011, will be based on Windows 7". What components are based on Windows 7, because it also mentions that Windows E...

Migrating to Windows 7 - How will this impact my software?

I want to migrate to Windows 7 from XP, and I have some questions: Will Oracle 10g and SQL Server 2008 work? Will my C# programming (in Visual Studio 2003, 2005 and 2008) work? Do I need to do anything particular before upgrading? ...

Icons on Titlebar

Hi Everybody, I just found something really cool and i'm surprised i didn't really notice it sooner. Have you ever seen WordPad running on Windows 7? If you have, you'll notice that on the top-left of the window's titlebar are a few icons (save, undo/redo). On the actual titlebar itself! How cool is that? I was wondering how i would imp...

VMware Fusion and MacbookPro keyboard

I'm running Windows 7 Ultimate (retail) under VMware Fusion on a Macbook Pro. I've created a keyboard layout for the mac using Microsoft keyboard Layout Creator MSKLC. My problem is that when I type the quote or double quote character, nothing happens. Then I press it again and get the character twice. Similar behaviour also occurs w...

PrintDialog.ShowDialog(this) immediately returns DialogResult.Cancel on Windows 7

An in house application that I'm developing is behaving strange on a Windows 7 (64 bit) PC. If I create an instance of a PrintDialog, and call it's ShowDialog() method, the method immediately returns DialogResult.Cancel without showing the printer dialog form. The Windows 7 PC does have printers installed (with a working default printe...