windows-7

Registry Problem

I made a launcher for my game server. (World of Warcraft) I want to get the installpath of the game, browsed by the user. I'm using this code to browse, and get the installpath, then set some other strings from the installpath string, then just strore in my registry key. using System; using System.Drawing; using System.Reflection; using...

Windows 7 UAC manifest file for some VB6 application

Hi, all, I have an old VB6 application which should run on Windows 7 (with UAV set to the default level, 3 of 4 IMHO). It has the functionality to update itself, and Windows 7 is now complaining that it would modify the computer (At least windows 7 is right here). I was able to run it in Vista with some kind of manifest file, but this...

Slow-Loading Browser dialog Visual Studio 2008

When I click the "..." button to browse my machine for locations to publish my application to, it takes nearly a minute to open the folder dialog. I have a Windows 7 Pro machine with a terabyte drive and 8 gigs of ram. Any suggestions on improving the performance or experience with this as a known issue? ...

Set window to stays always on desktop on windows7

Hi, I'm trying to set my window a child of the desktop, and i'm doing this like this: HWND ProgmanHwnd = ::FindWindowEx( ::FindWindowEx( ::FindWindow(L"Progman", L"Program Manager"), NULL, L"SHELLDLL_DefView", ...

VB.NET 2008, Windows 7 and saving files

Hello, We have to learn VB.NET for the semester, my experience lies mainly with C# - not that this should make a difference to this particular problem. I've used just about the most simple way to save a file using the .NET framework, but Windows 7 won't let me save the file anywhere (or anywhere that I have found yet). Here is the code...

Get sample of sound from stereo mix in Windows

Is there a way in Windows using C# to record a sample of the stereo mix? In other words, record all pings, beeps and music being played via any application? I've had a look at NAudio which will record the microphone as it's source, but I can't figure out how to point it at Windows' stereo mix? Or, if anyone knows, any pointers on how t...

Sharepoint Foundation 2010 development environment installation problems

I'm having problems installing development machine for Sharepoint (Foundation) 2010. This is what I did so far on the same machine: Installed a clean Windows 7 x64 with 4GB of RAM without being part of any domain. Just a simple standalone machine. Enabled IIS related features as described here except IIS6 related ones (two of them) Ins...

Visual Studio has stopped working - on Win 7

Hi I have Win 7 Enterprise. If i open any .cs file on VS 2008/2010 it gives a message " Visual Studio has stopped working" on a dialog box. There are two buttons "Debug" and "close program". Debug button starts devenv in debug mode with assembly code as i do not have the pdb file for the same. There is another machine with same configu...

Windows 7 - Enable Network DTC Access

I have a Visual Studio 2010 Windows Forms application in which I start a transaction using the TransactionScope class. I then Receive a message from a Sql Server Broker Services message queue, which works fine. I next try to call a stored procedure from the same database with a call to my data access layer which is a Visual Studio data...

C++ Multi Monitor - Find All Visible/Open Windows

I'm trying to find all the windows of ANY kind that are open (and have a taskbar 'button'). I have no problems finding the list processes/hWnd's, and then cycling through those, but how do I determine if a process/hwnd has a window open? (even if minimized). I've tried doing different combinations of the window parameters (such as WS...

Delphi: Disable TaskManager in Windows 7

I found this code for disabling the task manager in Windows XP. It works :) But does it work in Windows 7, too? The registry path is the same, I've checked this. But maybe there are some restrictions!? Thanks in advance! ...

Compiling a C++ application on Windows 7, but execute it on Win2003 Server

I have a C++ application (quite complex, multiple projects) in Visual Studio 2008, that produces a single dll. Recently I switched to Windows 7, but had previously been compiling under Windows XP. Suddenly the dll in question cannot be loaded by another application, i.e. on a machine running Windows 2003 Server. I've been trying variou...

Adding items to other applications taskbar menu in Windows 7

Is it possible to add other menu items to other pinned applications right click menu in the Windows 7 taskbar? I'm using .NET, but I will accept P/Invokes as well. I've been reading the documentation on the API, and can't seem to find a way to do this. I just thought I'd check here as a last ditch effort to find a way. ...

VS2010 Ultimate - Unable to launch ASP.NET Development Server

I've worked with ASP.NET once before and had a project where it was potentially useful, so I started creating an ASP.NET website as part of a solution that contained several C# class libraries. I'm using Visual Studio 2010 Ultimate Edition and Windows 7 Professional x64. The issue is that when I try to debug my website project, I get th...

Unable to query proxy "Automatically Detect Settings" on windows 7

Hi, I am trying to capture proxy setting ("Automatically Detect Settings"). My code works on XP and Vista. But it is NOT working on Windows 7 Please see the details of target platform Windows 7 Enterprise, IE 8.0.7600.16385, Wininet.dll 8.0.7600.16535 Please see the code snippet INTERNET_PER_CONN_OPTION_LIST List; INTERNET_PER_CONN_...

What causes a duplicate memory free operation?

A member of our team has reported an issue on Windows 2008 R2 which reports "duplicate memory free operation". I can't find much about this on the Web. The problem can't be reporoduced on a non-english operating system. Any suggestions? ...

Can I modify the way Windows draws the Aero UI?

Windows 7 with Aero Glass basically looks quite nice I think. But it has some major drawbacks regarding readability: I cannot easily tell whether a window is currently active or not. I've been tweaking the colours and transparency levels a lot recently but the only safe indicator is the close button: it's red when the window is active, i...

/clr option in c++

Can someone help me find a solution to the following error: "fatal error C1190: managed targeted code requires a '/clr' option" My configuration is .. Visual studio 2008 Windows 7 Here is the code (i got by using net resources) #using <mscorlib.dll> using namespace System; using namespace System::IO; int main() { // C...

How do I disable "(Program) Has Stopped Working" dialog in windows 7?

I'm new to using Windows 7 on a development machine, and I have a development tool that's crashing on launch, and I don't get to see any error messages it throws, or get a chance to debug it, because it shows the Windows 7 dialog for crashed programs, where it says "Windows is checking for a solution..." I want to have my old school big...

WCF client hangs on response

I have a WCF client (running on Win7) pointing to a WebSphere service. All is good from a test harness (a little test fixture outside my web app) but when my calls to the service originate from my web project one of the calls (and only that one) is extremely slow to deserialize (it takes minutes VS seconds) and not just the first time. ...