windows-xp

signal when user kills process?

I overloaded the 6 signals listed on this site http://www.cplusplus.com/reference/clibrary/csignal/signal.html Then i ran my app (double click not ran through IDE) and tried 1) end task 2) X on topright and 3) kill process. I expected the first two to cause some kind of signal (i am on XP) but alas i got nothing. Am i not allowed to ope...

Is it possible to achieve the "Aero Glass" look on XP?

Does anyone know any kind of framework that enables (not exactly the same, but) Vista's Aero Glass on XP? I need to develop a little desktop application with WPF, which has a Vista-like UI on XP. I don't need exactly the Aero Glass, some UI like "Windows Live Messenger" will do the thing. Is there any way to make it a reality? ...

Distributing WPF apps to a legacy user base: How seamless is it?

I'm considering developing a WPF application, to be hosted by a legacy Windows app (C++), and I'm trying to get a better sense of how feasible it'll be to do so, given the broad user base I'm targeting. Knowing WPF targets .NET 3.5, I'm looking for some insight as to what the field looks like right now -- who's already got the runtime, ...

Using JNDI to get a user's group name in Windows XP

Hi all, I have heard - and I'm not sure if it was from a credible source or from someone who actually has done it - that JNDI can be used to access a user's group name in windows. I am using Windows XP. I'm not sure how it works exactly but it sounds windows uses active directory to manage groups (can someone confirm?) and JNDI might ...

Getting a user's group name in Windows XP - using any way possible

Hi all, I've posted a similar question about how to do this in JNDI, but in THIS post I am wondering how to do it using ANY INTERFACE. I'd like to be able to retrieve a user's group name. When I say "group" I mean the group on the computer. Like "administrator" or "user." Can I do it through the command line, application, dll, or ...

Is it possible to host more than one website on IIS 5.1?

I'm running WinXP Pro SP3 and IIS 5.1 on my home dev machine. As far as I can tell IIS 5.1 only allows me to host one website, which is a problem because I'm working on three at the moment. Is that right, and, if so, is there any way around that limitation? EDIT: This is just for dev/test purposes - I don't want to actually host any liv...

Progamming errors with windows file blocking behavior

Has anyone run into strange programming errors by the Windows file blocking mechanism? I believe it was something introduced into SP3 so when you download an executable from the internet it blocks the file. You have to right click on the file and click "Unblock File" from the general tab. The first time I ran into it was when I was at...

What does windows run to open up the Control Panel

I uninstalled Google Chrome from my Windows XP machine and deleted registry entries using Revo Uninstaller. After that, whenever I do Start -> Settings -> Control Panel, I get an error "Windows cannot find '(null)'. Make sure you typed the name correctly, and then try again. To search for a file, click the Start button, and then click Se...

Copy Files quickly from a mapped network drive

Hi, Can anyone tell me how to quickly copy Files from a mapped network drive? The windows Copy Paste works very slow and hampers the performance of the system. I have used XCOPY source destination /i /s /z /q This was quick enough and copied a few files and later threw an error "The specified network name not available" I remember ...

Does anyone know of a good alternative to Pipe Viewer for Windows Platform?

If you do not know what Pipe Viewer is (I did not know about it until 5 minutes ago), then this blog does a good job giving a brief introduction to it with some examples. I write a lot of Perl Scripts as an ETL developer and a lot of times, the files that I work with take really long time to operate with (unzipping, moving, etc). Therefo...

Crashing with C# and Directory Services on XP

I'm trying to do some simple data retrieval with C# and Directory Services, but for some reason it doesn't work on any XP machines. If I run my code on a Server 2003 machine, there are no problems. I've spent a fair bit of time trying to find out if maybe there's some redistributable I need on XP or if the functionality simply isn't ther...

How can I write to the parallel port from the Windows Command line?

How can I write to parallel port through Windows XP command line? ...

Windows - VBScript - Determine IP address of computer on network

I have written some VBScripts to automate tasks that I perform on computers over the network. These work great for most tasks however within our network we have problems with the IP address in DNS being correct all the time. This mainly occurs with laptops where we have different IP ranges for machines on the wireless and wired network...

Unexplainable crash in DirectX app in Windows XP that uses english language

The app was working fine but now a few weeks later when the new version begun testing, it crashes. Tried it on five of the workstations, it crashes only on two of them. And the only common about them I can find is that those two have Windows installed with english language. Its a DirectX 8.1 application, written in C++ with Visual Studi...

How can I get output of NANT zip task to be unzipped on XP?

I wrote the following Nant script on my Vista dev machine and was pleased as punch with the output of the Nant zip task, as I can unzip it with any problems: <zip zipfile="${dir.build}CeoConfigUtilities.${build-version}.zip"> <fileset basedir="${dir.configutilities}" prefix="CeoConfigUtilities"> <include name="**" /> </files...

WIA.DeviceManager.DeviceInfos.Count = 0. Why?

I'm trying to identify the scanners attached to the computer. One of the possible solutions is to use WIA (Windows Image Acquisition Automation Library). These were my actions so far: Download wiaaut.dll Copy it to system32 Register it with "regsvr32 wiaaut.dll" (successfully) Add reference to my project in Visual Studio.NET Check tha...

Team is Going from XP32 to XP64 for .NET Development - Any Gotchas?

My team is getting new XP64 workstations. We've been using XP32 up until now. Most of our work is done in managed C#/VS2008/.net 3.5 and SQL Server 2005. However we do have a couple apps that are still in VS2005/.net 2.0. The majority of our applications are ASP.NET webforms apps and WCF services that are running on 64bit servers in prod...

What is the native way to create a shortcut (.LNK file) from the Windows XP command line?

EDIT! Sorry to change the question on everyone, but I am really just asking: How do I create a shortcut (.LNK) file from the command line with as little outside help as possible? I really don't want to run a VBscript or to download a program to do it for me. Is it really that hard? Thanks to everyone who provided exceptional answers...

Create GUI from Windows Service with a Network Log on

I have been reading a lot about executing a GUI application from a Windows Service. The "Allow service to interact with desktop" check box worked for me when the Service runs as the SYSTEM user (I am using Windows XP). Now I need the Service to run as a User defined in a domain (from the network). Everything works fine (even if no user i...

Run Win32 IIS applications under Windows XP 64bit

How do I run windows 32bit applications in IIS on Windows XP 64 bit? Note: This is not running within Visual Studio. Note: Only 404 errors are logged. Note: 404 errors caused by IIS disabling CGI scripts ...