windows-vista

Vista Window Focus Problem

I have an application that manages patient demographic information. Along with this data a user can scan a picture of a patient and assign that picture to a patient. When the user clicks the scan button a separate application is opened as a dialog in order to scan the image. When running this on XP everything worked fine. The imaging app...

Configuring IIS on Windows Vista Home Edition

My friend accidentally bought a laptop with Windows Vista Home Basic Edition. He figured out how to install IIS on it, but it doesn't seem to have either the management console or the admin tools. Is there any way for him to configure a site or import an IIS 6 config file? EDIT: "Windows Vista Home Edition" --> "Windows Vista Home Basic...

How to add custom protocol to Vista "Set Associations" list?

I've registered custom protocol "xyz" on Windows Vista: HKEY_CLASSES_ROOT\xyz = "URL:Extensions Protocol" It works OK with my application. Open "Control Panel -> Programs -> Default Programs -> Set Associations", scroll the list to the end. Here is the list of protocols. I would like to see my custom protocol associated with my applica...

Where and how does Windows XP store wep/wpa keys?

Like the title says Where and How (i.e. if encrypted, with what method) does Windows XP store WEP/WPA Keys? ...

Windows swapping redundantly?

This may not be strictly programming related but more OS-structure related. Running Vista 32 bit on a brand new laptop with 3GB of memory, Running idle the system consumes about 40% of its memory. Other then the fact that this is outrageous on its own right, the OS should be able to fit all of the processes nicely into memory and not ne...

Is Vista worth considering when developing for XP?

Quite a few comments to answers in a different post gave me the impression that a lot of things regarding standard folders (%APPDATA%; %TEMP%) in Vista are different from XP, which should of course be taken into account when developping software that will have to run under Vista at some point. But in my company, I do not see that happe...

C# - How to get Program Files (x86) on Vista x64

I'm using: FileInfo(System.Environment.GetFolderPath(System.Environment.SpecialFolder.ProgramFiles) + @"\MyInstalledApp" In order to determine if a program is detected on a users machine (it's not ideal, but the program I'm looking for is a right old kludge of a MS-Dos application, and I couldn't think of another method). On XP and 3...

Running compiled python (py2exe) as administrator in Vista

Is it possible to programaticly run compiled Python (comiled via py2exe) as administrator in Vista? Some more clarification: I have written a program that modifies the windows hosts file (c:\Windows\system32\drivers\etc\hosts) in Vista the program will not run and will fail with an exception unless you right-click and run as administrat...

How to check if OS is Vista in Python?

How, in the simplest possible way, distinguish between Windows XP and Windows Vista, using Python and pywin32 or wxPython? Essentially, I need a function that called will return True iff current OS is Vista: >>> isWindowsVista() True ...

How to run NOT elevated in Vista (.NET)

I have an application that I have to run as Administrator. One small part of that application is to start other applications with Process.Start The started applications will also be run as administrators, but I'd rather see them run as the 'normal' user. How do I accomplish that? /johan/ ...

Guide to New Vista Features

I'm an MFC programmer. I just had my first taste of Vista (on a VPC... Yup, I'm late). I should be evaluating things in depth in the coming days. On taking a casual look, I noticed two major changes: The shell is new User Access Control Event Viewer has changed (would like more info on this) What other new features should I look out ...

Is there an API for vista to detect if the desktop is running full screen?

e.g, Is the user playing a movie full screen, or looking at powerpoint in full screen mode? I could have sworn I saw a IsFullScreenInteractive API before, but can't find it now ...

Microsoft Async RPC crash in Vista

Hi, I am working on a program that makes RPC calls where the client and the server are running on the same machine. I want the client have a timeout on it's calls to the server because we ran into problems of it becoming unresponsive waiting on the server. To solve this problem we used an asynchronous RPC call and canceled it if timed o...

Why does a deleted file reappear in Vista?

I have an automated test running on my program that generates some large MPG files along with other files. After running the test, I have the script clean up after itself. The other files (a mix of binary and text files) are removed with no problems. The MPG files, however, don't get deleted. If I try and manually delete the MPG file...

How do I implement an address location bar (bread crumb control) similar to that in Windows Vista's File Explorer?

The explorer control in Windows Vista is very handy and I would like to be able to incorporate it in an application written in WPF. I've been unable to find a stock control that is part of the Framework. This application is being specifically developed for Windows Vista and therefore, having the same look and feel as the OS is desirable....

Do I need to develop on Vista to write to the wmdc (windows mobile device center) API?

Can I write and compile code for this on XP? We have utilities for our apps that use activesync and now will be adding Vista/WMDC - and I was hoping I don't have to have another development OS (Vista) to develop and compile on. I have not seen much documentation for the API for WMDC - can someone point me to some useful references fo...

SetLimitText() in a CEdit in Vista does not work

This is happening on Vista. I created a new dialog based MFC project to test this. I added a CEdit control to my dialog. I called SetLimitText to let my CEdit receive 100000 characters. I tried both: this->m_cedit1.SetLimitText(100000); UpdateData(FALSE); and static_cast<CEdit*>(GetDlgItem(IDC_EDIT1))->LimitText(100000); I placed ...

Command/Powershell script to reset a network adapter

OS: Vista enterprise When i switch between my home and office network, i always face issues with getting connected to the network. Almost always I have to use the diagnostic service in 'Network and sharing center' and the problem gets solved when i use the reset network adapter option. This takes a lot of time (3-4 min) and so i was tr...

Text to speech in Vista

I did it by creating OLE object with Delphi in 2000/NT/XP as following: Voice := CreateOLEObject('SAPI.SpVoice'); Voice.speak(...) But this does not work in Vista, how can I make my program simply speak some text in Vista? ...

As a Programmer, what specific problems have you faced with Windows Vista?

Please share problems faced by you as [1] A Developer writing software FOR Vista. [2] A Developer writing software ON Vista. ...