windows-7

Windows 7 taskbar thumbnails for one app (such as in IE8)

Under Windows 7, IE 8 shows every open tab as a taskbar thumbnail. How can I achieve this in my own app? MSN Messenger exhibits the same behavior. ...

Visual Studio 2008 on Windows 7 hangs (is not responding) when opening web.config file

Dear Group, I have just completed moving my C# ASP.NET web application from Visual Studio 2008 running on Windows XP to Visual Studio 2008 running on Windows 7. I have noticed when I open my web application in Visual Studio 2008 and double-click on the web.config file to edit the file, that Visual Studio 2008 hangs (is not responding)....

Using IIS6 as ASP.NET development host in Visual Studio 2008 on Win7

I've inherited a ASP.NET 1.1 webapp that runs in production on win2k3 under IIS6. I'd like to closely match this environment during development and testing. For reasons I won't go into, using Cassini/VS Development Server isn't ideal so I'm trying to set up my Visual Studio environment to use IIS6. I do my development on VS 2008 on Win7,...

Application done in Windows XP SP3 not working in Windows 7

I have done a WPF appliction using VS 2008 SP1 in Windows XP SP3. I copy the exe and dlls to my Windows 7 RC build 7100 machine. But the exe is not working. When I doubleclick on the exe, a message comes like 'Application stop working. windows is gathering the information'. Why this happends? I am overriding the OnStartup function in Ap...

changing the color of MDI child windows under Windows 7

I have an MDI application written in C++ that looks great under Windows XP. All of the MDI child windows end up looking like their parent window. Nice. However, under Windows 7 (and probably Vista), the parent windows have aero glass, and the child windows are this hideous unchangeable baby blue color (same as the Windows 7 Basic them...

TortoiseHg without context menu commands

TortoiseHG's context menu entries totally mess up Windows 7 explorer's context menu's appearance, and I can get by fine with the hg command line tools. However Tortoise Overlay icons are must-have for me. How can I disable TortoiseHg's context menu commands but still have the Tortoise Overlay icons appear in hg repository folders? ...

Pinning advertised shortcuts on the taskbar in windows 7

My application launches using an advertised shortcut in the Windows Start Menu. This means the shortcut doesn't link directly to my exe, though the exe is ultimately what runs. My problem is: when I right click the shortcut in the Windows 7 taskbar and select Pin to Taskbar, and then launch my application, I end up with two icons in th...

Debugging shell extension in Windows 7

Hello. I'm trying to debug shell extension (IContextMenu) in Windows 7 with Visual C++ 2008. I have set DesktopProcess=1 in the registry and set host app to explorer.exe. But when I start the debugger, it launches explorer.exe and then detaches from the process. DllMain of the shell extension isn't called. The same code with exactly th...

How does Windows Task Scheduler in Win7 recognize a failed task?

Hello, I am working with Windows 7 and I have an application that returns zero (0x0) when successful and one (0x1) on error situations. I have scheduled this app using Windows Task Scheduler. I have checked the option boxes "If the task fails, restart every" and "Attempt to restart up to:". I thought that a non-zero return code from ...

Two Finger Click Event using Windows 7 Multi-Touch

We would like 2 code samples (C# would be great) of Windows 7 multitouch functionality using .NET 3.5 sp1 and the ManipulationProcessor: A two finger click sample – An event should be raised when a user “clicks” on a UIElement such as a Rectangle using 2 fingers simultaneously (Close together). The click event should be fired when the...

Web Setup Project not working

'The installer was interrupted before [project name] could be installed. You need to restart the installer to try again.' I just moved to Win7, and I cannot get the .msi files to install from my Web Setup Projects that are built on that machine. The same projects build and work fine on my other Windows XP, IIS6, VS 2008 SP1 machine. ...

Cannot set InetMgr.exe as startup program in VS 2008 on Windows 7

When I try to set "C:\windows\System32\inetsrv\InetMgr.exe" as the startup program for a Visual Studio project (to test an IIS 7.5 extension), it is rejected with the message "The external program cannot be found". If I try to select the EXE manually by clicking the ellipses (...) button, the EXE is not in the folder. But if I access th...

Detecting Windows 7 with Google Analytics

This question might belong on one of the other trilogies, but it sorta seemed to be the best place. I have google analytics set up, but it doesn't seem to detect Windows 7. I'm on Win7 myself, so I know there should be at least some number of Win7-users. The user agent for Win7 is NT 6.1, and google analytics have detected NT users, bu...

Certificate problem - Error Importing Key "object already exists" after Windows 7 upgrade

I have about 60 .pfx files for all major assemblies for a project. They are unique files, but I use the same password for all. After an upgrade from Windows Vista to Windows 7 I get an Import Key File dialog requesting the password for them when I click Build in Visual Studio 2008. This would have been fine, but after inserting the pas...

PhotoView Windows 7 Reference Application

I downloaded the PhotoView reference app for Win7 with source. The app works, but I can't get the project to build. There is a ServiceControlInterop C++ project in the solution that won't build. I figured out that it needed the Win7 SDK, which I downloaded, but now that I've got the proper winsvc.h referenced I get a slew of new error...

How to uninstall the .NET German Language Pack in Windows 7?

I’ve set up my computer with Windows 7 Ultimate German and Visual Studio 2008 English. Unfortunately I get now all messages of the .NET framework in German. This makes it difficult to search the web for error messages or to post a stack trace in an English forum. How can I uninstall the German Language Pack in Windows 7? The .NET Frame...

A clickonce deployed application is installed only for the specific user?

Are there any defaults in the clickonce installation? If someone decides to install the application, this application will be availiable to all the users of the computer? I guess the answer is no. They can only use the application if they log into the user account who installed it... but sometimes it is better to ask ...

Binding an IPv6 server socket on Windows

I try to bind an IPv6 server socket in Java 1.6 on Windows 7, using this fragment: ssock = ServerSocketChannel.open(); ServerSocket sock = ssock.socket(); sock.bind(new InetSocketAddress(InetAddress.getByAddress(new byte[16]), 0)); Unfortunately, this fails with an IOException: Address family not supported by protocol family: bind I...

Is there a way to set an application appearance different with the windows appearence?

e.g. set the application appearance to classic, but set the window appearance to Aero style. Is there a way to do this? ...

Correct way to design around Windows UAC limitations?

I found out an application I wrote does not work properly under Windows Vista/7 if UAC is enabled at any level, because it writes files to the install directory of the program, defaults to "C:\Program Files\MyProgram." If UAC is disabled (or on any other version of Windows) it works properly - I read that UAC denies applications write ac...