windows-vista

Refresh/Restart Vista's graphical login screen using JScript (WSH)

Background: I have a JScript that runs when the computer starts up (from task scheduler). The script does some magic and determines if a user should be allowed to login at all. It starts by disabling all user accounts and then if a user is to be allowed in it enables the users account by firing the 'net user' command using wshShell.Exec(...

Find Vista Language using WIX

I am working on an installer which will be installed on multiple versions of XP/Vista with different languages. In the installer, I need to find out the language of the OS installed. I know how to get the OS version by using "VersionNT" and/or "VersionNT64", is there any similar way to get OS language also? I need to add different regis...

Can you determine if Vista UAC allows writing to a directory without elevation in java?

Here is the scenario. I have an application which writes a configuration file in its directory (user.dir). When the user cannot write to that directory due to UAC issues, I would like to change that to write to user.home/.appname/. The problem is that Windows really lies to my application and writes to user.dir which is in the Program Fi...

MFC Active-X control in a winforms window on Vista 64bit; "Class not registered Exception"

In an attempt to try to confirm another SO posters suggestion for key handling in an ActiveX control hosted on a winforms window, I tried making a bare-bones MFC ActiveX control, then placing it on a windows form. In design time the control showed up with no troubles. When running the application the dreaded "Class not registered excep...

How to programmatically create a file association that works in XP, Vista and Windows 7

I want to be able to register my file-extension from my program. (Associate the filetype with my program) There are lots of articles about this, but the technique discussed (fiddling with the registry) is only appropriate for Windows XP as far as I see. What is the best way to associate a filetype with a program so that it works under ...

Bypass keyboard,mouse input and let SendInput pass

I'm making user definable key macros to a program. (Those macros are limited to that program.) I'm using TApplicationEvents to record key messages. And then use SendInput to play them back. But I need to disable mouse and keyboard so it wouldn't interrupt playback. I can't use JournalPlaybackProc and JournalRecordProc because they are ...

Windows Vista language text service problem

Hi, All I'm using English version of Vista and having problems with using programs that display Russian characters somewhere. For example dictionaries doesn't work for me, since they display Russian character. Also I see just "magic" characters in text editor (notepad) when open a Russian text file. I tried to change whole Vista Interfa...

How to enable DOS in Vista or Win7

AFAIK there is no DOS in vista and windows 7, but I need to execute system program written on assembler to read and write data (BIOS). I can't do thus from Vista, because I'm in user more (ring-3). That's why I have 2 ideas: - execute form DOS (but I need DOS); - write service that executes before I log in to user mode. Loading DOS f...

How To Get My Solutions Into Windows Problem Reports and Solutions

Windows Vista added a Problem Reports and Solutions facility that records software problems, reports them to Microsoft, and then say they collect and make solutions to those problems available to users. So when my program hits a bug and crashes, the user gets an exception report: This then gets captured by Windows as one of it's prob...

LLVM MinGW installation on Vista?

From llvm.org I've downloaded llvm-2.6-x86-mingw32.tar.bz2 into c:\llvm and llvm-gcc-4.2-2.6-x86-mingw32-tar.bz2 into c:\llvm-gcc as well as setup a desktop shortcut the following batch file in c:\llvm-gcc which attempts to setup an environment for compiling via the llvm-gcc command line too: @echo off color 0E echo Configuring LLVM env...

Visual Studio 2008 C++ debugger drops out of single-step mode under Vista

I have a fairly large C++ project, and am trying to use the debugger to step through some code. Unfortunately, it sometimes decides to drop out of that mode, and just execute the code without paying attention to the fact that I pressed F10, and not breaking at subsequent breakpoints. I don't know when it's going to drop out, but it see...

Comparing signatures in Ink Serilized Format

Hey guys, I have a load of signatures I wish to compare (all in ISF - ink serialized format). Does anyone know how to compare these signatures? Thanks in advance ...

openCV support for vista 64x

hello .. im trying to install openCV over windows vista 64x but it's shows a fatal error.. i tried everything i can but its useless does openCV work on vista 64 ??? how do i get rid of this problem??? please help thanx in advance ...

How to adjust JFrame border thickness in Java

I'm using Vista, my old Java app ran on Win XP has thin borders, about 2 pixels thick, but now on Vista, the borders deafults to thick lines, maybe 6,7 pixels thick, can I specify in Java how thick my JFrame borders should be ? ...

Algorithm to determine vista/windows 7 OS edition from product key

We have to automatically create the XML file for an unattended vista/windows 7 installation in which we do write the product key (MAK type). Unfortunately the windows image contains multiple editions (home, home premium, professional, ultimate) so we need to decide which version we should use and write that info to the XML as well. And w...

Why my Host is (suddenly) ping unreachable from my Ubuntu VMWare (bridged) Guest ?

Hi, I am trying to set up a production environment for my grails application. So I have downloaded a VMWare Ubuntu image distribution (8.10) and I have installed Java/Groovy/Grails/Tomcat under this server. Everything worked fine until the moment I needed to share some files with my host computer (Windows Vista - Firewall Disabled). Th...

Windows7 on virtual pc

I would like to check out Windows7 and install all of my developer programs on it just to test if everything works fine. In the mean time I want to continue my work on my Vista os. Is it possible, using Virtual PC, to install Windows7 and afterwards replacing my Vista installation with this Virtual PC Windows 7? ...

What causes the Vista/Win7 warning: "This program may not have installed correcly" ?

What causes this warning and what can I do to keep it from popping up when my app installs? Possible causes: Virus scanning software (I'm looking into that) Not putting the uninstall in the Add/Remove programs (this will definitely cause the problem, per documentation from Microsoft (see answer below) Putting .ocx or .dll files in th...

WxPython, Windows Vista 64-bit, and failure

I have Windows Vista 64-bit SP2. I am trying to use wxPython for GUI development with Python, because all my research pointed to that as the way to go. I have downloaded and installed the win64 wxPython. I get the same error every time. Python 2.6 (r26:66721, Oct 2 2008, 11:35:03) [MSC v.1500 32 bit (Intel)] on win 32 Type "help", "cop...

VB6 Apps Hangs only in Vista/Win7/Win2008 Must reboot to bring them back

I have vb6 apps that runs without any problems for hours on vista/32/64 or win7/32/64 and Xp32/64 machines. It sometimes hang in XP machines but I can just close the app in Task Manager then restart without any problems. Now with Vista/Win7, it still hangs after several hours then I close the apps with Task Manager then restart the app...