windows-vista

Windows Vista users verification

hi! I want to verify that given username/password pair is a valid windows vista account using c#. ...

How to write a launching program in C++ or C# for Windows Vista

How do I write a program in C++ or C# that launches applications on Windows Vista? For example launching Dreamweaver CS 4 ("C:\Program Files\Adobe\Adobe Dreamweaver CS4\Dreamweaver.exe) and place it on top with the BringWindowToTop-function? ...

Watin tutorial execution returns a Javascript error on IE for every "keystroke"

I am using Watin for the first time, setup the tutorial, but as soon as i hit run, watin opens up IE and starts "typing" for WatiN on the Google search box, but the problem is, every keystroke, returns a javascript error getElementById not found error... Anyone had this problem ? I am running on Windows Vista 64 with VS 2008 (havent...

Several instances of Netbeans on Win 32 platform

It it possible to have several instances of Netbeans running as you can with Visual Studio on Win 32 platform? I can just fire up one. ...

Strange, possible “shadow copy” issue where two editors show different contents

I have some code that is reading a config file, but when I open the file in TextPad, I see different values than my application does. I checked it with Notepad. Notepad agrees with my application, TextPad shows something else. This is on Vista x64 Business. Any idea what could be causing this? I've looked in the Context Menu->Proper...

"Windows (Vista) cannot find "abc.def". Make sure you typed the name correctly and then try again."

In Windows Vista (only) when I double click on a file in Windows Explorer that is associated with my application, the following message is displayed: "Windows cannot find "abc.def". Make sure you typed the name correctly and then try again. Where abc.def is the file I double click on in Explorer. My app starts if it isn't alre...

How do I Access File Properties on Windows Vista with Python?

The question is as simple as in the title, how do I access windows file properties like date-modifed, and more specifically tags, with Python? For a program I'm doing, I need to get lists of all the tags on various files in a particular folder, and I'm not sure on how to do this. I have the win32 module, but I don't see what I need. Tha...

Instant Rails no Rakefile

I just installed InstantRails on my PC running Vista. When trying to update some files, I run into this error: ...\rails_apps>rake rails:update rake aborted! No Rakefile found (looking for: rakefile, Rakefile, rakefile.rb, Rakefile.rb) where rails_apps is in the directory where I extracted InstantRails. Am I not in the correct directo...

IPhotoAcquireProgressCB

Does anyone know how to implement IPhotoAcquireProgressCB with IPhotoAcquire using c#? The definitions can be found PhotoAcquire.h of the vista api Thanks ...

Why can't I invoke python from the command line?

I have Python 2.6 installed on Windows Vista. If I am at C:\Python26> and I type python, Python's command-line interface starts, as desired. I have added C:\Python26 to my PATH so that I would be able to run Python scripts from any directory, but it hasn't helped. In particular, from any other directory, the command python is not reco...

Locate Another Application's Data Directory

Given an application "Foo" which can be installed with or without a manifest (Into "Program Files") under windows Vista, which also has a subdirectory of the application install path "bar": How can i locate the actual path of \foo\bar from a another (C#) application which does not use file and registry virtualization. Is there a clean ...

How can I determine why the machine came out of suspend?

I'd like to be able to determine, programmatically, why a Vista system came out of standby (S3). Any language is fine, though a .NET one would be best. I'm looking to put this code into an application that I'm working on. I'm looking for reasons like "Media center wanted to record a program," "user input woke the machine," "windows up...

Video recording problems on Vista Business using Windows SDK

Has anybody encountered problems with camera recording to wmv file format on Vista Business x64 using Windows SDK? I am using a Logitech quickcam 9000 pro webcam and aparently the resulting video is invalid - it can be played with Windows Media Player but while trying to use the "WMVCopy" sample from Microsoft SDK Samples, I've come acro...

Windows Vista/7 Programmatically login

Is it possible to create a service or application which can programmatically log a user in when windows(vista/win7) starts up.... if a user has a token eg biometrics or smartcard ...

Apache 2.2 VirtualHosts on Vista

Apache 2.2 set up on Windows Vista When I go to localhost in my browser I get the "It works!" page, so I'm pretty sure it installed just fine Problem is when I go to a VirtualHost that I've set up (ex. tryout.localhost) it still goes to the "It works!" page instead of going to the files specified in the DocumentRoot of the virtual host...

NSIS InstallDir in Vista / XP

I created installer via NSIS. "c:\program files\myapp" is default folder for my application. But I need another default folder (for example c:\users\\AppData\myapp) in Windows Vista. I found lot of Functions to determine Windows version, but I cannot call them before defining InstallDir variable. Any ideas how to do it? ...

Ugly WPF text rendering - can't disable hardware acceleration on Vista

I'm experimenting problems with text rendering in WPF (third party applications and mine too). Labels and other text don't display correctly, look a little blurred and are rendered with some random colored pixels around. I'm working on a low end crap machine (SiS Mirage 3 graphics) with Vista SP1, .NET 3.5 SP1 and graphics driver update...

How do you retrieve the tags of a file in a list with Python (Windows Vista)?

I want to make something of a tag cloud for various folders I have, but unfortunately, I can't seem to find a way to access the tags of a file in Windows Vista. I tried looking at the win32 module, and os.stat, but I can't seem to find a way. Can I get some help on this? ...

GetThreadId on pre-vista systems?

Apperantly, GetThreadId is a Vista API. How can I get a thread's id on pre vista systems? ...

Windows API to make Windows Vista and 7 semi-transparent screenshots

Windows Vista and Windows 7 display semi-transparent forms when Aero is activated. And some screen-taking applications such as WinSnap or Windows Clippings are able to capture those windows as a semi-transparent PNG image. What Windows API are they using to obtain such a beautiful capture ? ...