windows-7

Using GlobalFlags to call vsjitdebugger with VS2010

I've upgraded to Win7 and VS2010. Previously on Win2K and VS2008, I used GlobalFlags to debug an application on startup, simply by setting it's debugger to vsjitdebugger - see the screenshot below. Unfortunately, this doesn't work on my current setup - a google and search of SO haven't turned up any answers. Thanks in advance. UPDATE:...

Having trouble with Tkinter transparency

I'm having problems making a top level widget fade in, in TKinter. For some reason the widget doesn't fade in at all, then it will show up in the taskbar, but only after clicking the button that runs this command twice (it's not supposed to be in the taskbar). The code responsible for these problems. Alpha = 0.0 w1.attributes(...

Are there reasons why DLL redirection won't work other than the presence of a manifest?

We have a legacy VB6 application that uses Crystal Reports XI to generate printed reports. We've found through experience that the Crystal Reports print engine crashes if it picks up the wrong version of usp10.dll (the Windows Uniscribe library). One customer is consistently having printing issues on their Windows 7 machines (running W...

Professional Windows 7 icon packs

First of all, I know that there are some topics about icon packs here on stackoverflow. However I'm looking for specific Windows 7 style icons. Most icon packs that you find have a rather old look, or non natural Windows 7 look or too futuristic, catchy, kiddy, non professional. I came across these: http://www.iconshock.com ( http:...

Preview Handlers (Office 2007, Vista & Win7) - issue w/ reisize

Greetings, I'm working on a preview handler for Office 2007, Vista and Windows 7. I'm basing my code off the following MSDN article. The "guts" are done as it was pretty straight forward. I've been testing in Windows 7 (64-bit) Explorer. One thing I've noticed is the preview handler appears to "lock" the Explorer window and doesn't al...

Windows 7 Ribbon: How to specify "Four buttons, two big, two small"?

When laying out a group, the Windows Ribbon Framework supports some predefined layouts. One of the layouts, which requires four buttons is called FourButtons. This layout supports 3 different sizes, Large, Medium, and Small. In each case it gives the layouts: Large: Medium: Small: Right now i am using the FourButtons predefin...

How do I detect when a device attached to the system is ready for use?

Hi all I'm sorry if this is similar to an earlier question but this is something I just noticed. I can detect when my device is attached to the system (via usb) and trap the message correctly however if I unplug and plug the device back, attempting to access the device via the CreateFile() function always returns an error: ERROR_GEN_FAI...

disable / remove .NET Framework 3.5 language pack in windows 7

Windows 7 comes with the .NET Framework 3.5 already installed. Because I installed the Dutch version of Windows 7, the errors thrown by .NET 3.5 are also in Dutch. Not very practical when debugging in Visual Studio, I want the English exceptions. In Windows XP this was not a problem, you could uninstall the language pack (Install / Unin...

Application Data folder in Windows 7

I have Windows 7 64 bit installed on my system. I have a question about "C:\ProgramData\Application Data" folder. It is mentioned here and here that "Application Data" is a Junction point which points to C:\ProgramData. So, i would expect the following command to list the contents of the C:\ProgramData folder (my ProgramData folder has f...

Run Explorer in SYSTEM account on Windows Vista or 7 using Sysinternal's psexec tool?

Has anyone been successful at launching an instance of Windows Explorer in the SYSTEM account on Windows Vista or 7? It is possible to do this on XP, but I haven't been able to get it to completely work in Vista or 7. Trying to launch Explorer as SYSTEM into session 1 (my user session) results in Explorer exiting immediately and returni...

Switching User Contexts in Visual Studio and TFS Source Control

While developing ASP.net applications on a Windows 7 machine in Visual Studio. Sometimes I need to do testing for Internet Explorer 6 compatibility. The way I test IE 6 is I have virtual machine running on my local machine. The easiest way I could figure out to access development on my parent development machine was to switch my ASP.ne...

Upgraded from Win XP to Win 7, now can't run my SAS scripts dealing with MySQL databases.

Hello, my SAS scripts worked fine when I was in XP, but now that I've upgraded to Windows 7, my access to MySQL has been impaired. I am sure that MySQL is running. If I open a browser then I can send commands.... The issue is with the SAS software itself. Has anyone else had this issue? Know how to fix it? ...

Can't debug stored procedure after upgrading to Windows 7

After upgrading to Windows 7, I can no longer debug stored procecures in SQL server management studio (MSSSMS). I get the message "Failed to start debugger". Data is Null. This method or property cannto be called on Null values (System.Data). I tried starting MSSMS with "Run as administrator", but the same thing happens. Any ideas? Thank...

How to use touch swipe in Windows 7?

I can not fine the use of swipe in WM_GESTURE in Windows 7, how can I do swipe left/right in Win7? ...

msdn CM_GET_Parent Example Doesn't Work

I am working on getting the device id from the usb device i plug... The above application works on win-Xp but not in Windows 7 When i try to figure it i found that CM_Get_Parent () not works... can anybody please guide me on why its not working ...and is there any compatible function which can work on windows 7 source code: HDEVINF...

How to detect that WPF window has been snapped in Windows 7

Windows 7 has the snapping feature which 'snaps' a window to the edges, and changes the one dimension of the window size to match the same dimension of the screen, and then choses another size for the other dimension. I want to detect that it has happened so that in my WindowStyle.None window with custom chrome, I can implement the pro...

My Visual Studio 2010 Menus are right aligned, how to fix that?

That's what my menus look like in Visual Studio 2010 since a couple of days: How to fix that without loosing all my Settings? With fixing I mean restore left aligned menus. No other application shows that strange behavior. ...

WCF service URL ACL on windows 7 : Your process does not have access rights to this namespace

Porting an application from my previous development machine (XP) to a new one (w7), and having an issue with WCF. HTTP could not register URL http://+:8001/KolonistenVanCatan/MetaData/. Your process does not have access rights to this namespace (see http://go.microsoft.com/fwlink/?LinkId=70353 for details). Now, the page ...

Problem running Android "Hello World", Eclipse 3.5, Win 7.

When trying to build the "Hello World" in Eclipse i keep getting this error: ddms]Failed to initialize Monitor Thread: Unable to establish loopback connection The emulator pops up some time after the error but without the "hello world"-program. I've tried the adb kill-server stuff, turned off all firewalls, yet i still keep getting th...

Can't add new Redirected Port in Windows 7 after installing RedMon

My operating system is Windows 7 32bit. I installed RedMon1.7, Ghostscript 8.71 and GSview 4.9; installations were successful. I went to Add New Local Printer in Windows Devices and Printers, clicked on Create A New Port, and selected Redirected Port from the Type of Port list. Clicked Next and in the Add New Port window I named RPT1: an...