windows-7

Windows environment variables change when opening command line?

Sometimes when I change my environment variables in Windows, and then use software the depends on those variables, they are not properly updated. And good example is to change a variable, then open up Windows Command Line and echo the variable and see that it hasn't been changed, even though you properly changed it in the Environment Va...

What is the alternative to MilRelease api from MilCore.dll?

Hi I am trying to port my application from windows Vista to Windows 7. In my WPF application I am showing a splash screen, for which I have used WIC components. I am creating some resources using IWICImagingFactory_CreateDecoderFromStream_Proxy IWICImagingFactory_CreateFormatConverter_Proxy CreateBitmapFlipRotator And then to releas...

Can I use handwriting personalization in custom .net app

Windows Vista and 7 both contain the ability to personlize the handwriting recognition. You can train the tablet to recognize your specific style. I know the personlization is used by the Native Windows Tablet Input Panel (TIP), the OS's handwriting control. Does the .NET SDK provide access to this personlization data so that my ....

How to determine the name of the DLL (string) that loaded my DLL?

I'm writing a device driver that is loaded by a 3rd-party driver. I need a way to determine the name of the 3rd-party driver that is loading my device driver (for debug purposes). For example, GetModuleFileName will provide me the name of the executable. I'd like instead to be able to get the DLL names. The stack trace may be one o...

Disable Windows and Alt-Tab Key Combo(s)

I'm just looking for a program which can disable the [Windows] key on a keyboard and also the [Alt]+[Tab] shortcut, but leave other shortcuts (Ctrl+Esc for start menu, etc) still active. Anyone know of any? ...

Host unavailable when user is logged off

I am facing a problem that I discovered while I was implementing a small client/host application. The client side runs Windows 7 64-bit and machine never turns off but user is automatically logged off after 30 minutes of inactivity. When user is automatically logged off the host becomes unreachable, first I thought the problem was isola...

Mute/unmute, Change master volume in Windows 7 x64 with C#

How can I adjust master volume in Windows 7 with C#? I have seen an excellent implementation using winmm.dll here, but it works with XP and not with Windows 7. ...

Taking screenshots in Windows Vista, Windows 7, with transparent areas outside the app region

Hey Folks, I am trying to take a screenshot of an application and I would like to make the parts of the rectangle that are not part of the applications region be transparent. So for instance on a standard windows application I would like to make the rounded corners transparent. I wrote a quick test application which works on on XP (o...

IIS 7.5, ASP.NET, impersonation, and access to C:\Windows\Temp

Summary: One of our web applications requires write access to C:\Windows\Temp. However, no matter how much I weaken the NTFS permission, procmon shows ACCESS DENIED. Background (which might or might not be relevant for the problem): We are using OLEDB to access an MS Access database (which is located outside of C:\Windows\Temp). Unfortu...

Put an application window as wallpaper

I'm looking to put an application window behind all other windows. I was thinking of using .NET 4 and WPF or Silverlight. I don't have any specific drawing code, I just want my application window as my desktop wallpaper while retaining the interactivity (no mucking around with screenshots etc). Is this even possible and if so, how? Ed...

will all windows 7 versions be suitable for a development machine?

So windows premium/standard/ultimate, are these versions all ok for a development computer? ie. do any prevent installations of things like sql server, vs.net,etc? ...

Adding a directory temporarily to Windows 7's DLL search paths

I want to temporarily add a directory to the DLL search paths - is there a correct way to do this under Windows 7? Scenario I've got a C# application, let's call it WonderApp. WonderApp needs to call a C++ DLL, located in C:\MyPath. So as part of WonderApp's Program.Main(), I added the following command: Environment.SetEnvironmentVar...

MS Word opens documents hosted on WebDav share read-only on Windows Vista and 7 but only if no other webdav connections are open

We have a WebDav server with some Word documents on it. (We are using PHP's HTTP_WebDAV_Server but get the same issue on tests with Apache mod_dav - both use digest authentication, basic auth doesn't work on Vista or later) We have a web page that opens the word documents using javascript like: Doc = new ActiveXObject("Sharepoint.OpenD...

vs2010: trying to debug javascript using Chrome: this is not a valid location for a breakpoint

Everytime I try to set a debug point in Javascript, eietehr while in Design mode or while runniong, I get the error: trying to set a breakpoint in javascript: this is not a valid location for a breakpoint When I go to VS2010's Options screen under Debugging Just In Time, I see that Managed, Native & Script are selected, I also plac...

Windows CE 5.0 emulator needed

I need an emulator for Windows CE 5.0 to test an embedded device (not PDA or smartphone) application that I am developing. This is what I have already tried: Visual Studio 2008 Pro includes an emulator. Unfortunately, it does not include a Windows CE image (only Windows Mobile and Smartphone). Yes, there is a difference, see the screen...

What actions will require UAC elevation in Windows?

I'm marking this as a community wiki because I'm not really looking for one complete answer. So if you feel like posting one or two things that will activate the UAC prompt instead of a comprehensive list then go ahead. What actions in Windows will activate UAC? I'd like to avoid it as much as possible because my application doesn't n...

What are the best JVM settings for Eclipse on windows 7 64 bit?

What's the best settings for Eclipse 3.5.2 on Windows 7 64 bit? I've read What are the best JVM settings for Eclipse?, but nowhere 64 bit system was mentioned. Eclipse 3.5.2 runs pretty slow on my 8GB windows 7 64 bit box. Thanks in advance! David ...

Picture position in a desktop background slideshow

I'm using windows 7 and I have a slideshow for my desktop background. I have pictures that are all of varying sizes, some are smaller then my screen's resolution, some are the same, and some are much larger. To look good, smaller wallpapers need to have their picture position set to 'center' (where the picture is centered on the screen...

File Association / Outlook Attachment Issue

I have a clickonce application with a custom (xml based) file association. Users can dbl-click a file from the file system and it will launch the associated clickonce app. On Windows XP, users can attach the file to an Outlook (2007, SP2) message and dbl-click the attachment to launch the app as well. However, in testing for an upgrad...

Are there two kinds of .dll files in Windows?

I know that some dll files have to be registered with the regsvr32 command. I tried that on a dll files I got and got an error message saying that "the entry-point DLLRegisterServer was not found." I heard that to use theis dll file you have to use "ctypes." So what are you supposed to do with it? ...