windows-xp

Making an animated taskbar app

Hi. I have a HP notebook (running XP). I have seen on IBM computers, that they have a power-meter (it looks like a bar). It displays percentage of power left in battery. It is displayed in the taskbar. Not in the systemtray. Either on the left side or the right side of the potential language toolbar. The application is animated, since ...

Log on as a service right - add user command line

Is there a way to add a user via command line tools to the "Log on as a service right" in Windows XP/Vista? ...

mysql on xp performance issues

Please could you let me know if there are any performance issues with using mysql on windows xp. The mysql serves over 10 client server apps, which query the database simultaneously ...

TextRenderer.DrawText renders Arial differently on XP vs Vista

I have a c# application that does text rendering, something on par with a simple wysiwyg text editor. I'm using TextRenderer.DrawText to render the text to the screen and GetTextExtentPoint32 to measure text so I can position different font styles/sizes on the same line. In Vista this all works fine. In XP however, Arial renders diffe...

how to install OpenVPN for Windows XP SP2

I downloaded openvpn-2.0.9-gui-1.0.3-install.exe and began to istall. But it say that it is not tested on Windows XP. Is it safe to setup it on Windows XP? What version to use to setup on Windows XP SP2. ...

Connecting two Windows XP with MSMQ

This question is a cross between a developer and a server setup question. I asked on Serverfault but no answer yet. As a developer, I need to setup a test to see how MSMQ works between two machines, and I'm unclear what to do. I will use C# or BizTalk to do the read/write to/from the queues. I have MSMQ installed on two Windows XP c...

Unable to access Java-created file -- sometimes

In Java, I'm working with code running under WinXP that creates a file like this: public synchronized void store(Properties props, byte[] data) { try { File file = filenameBasedOnProperties(props); if ( file.exists() ) { return; } File temp = File.createTempFile("tempfil...

What features can I use during log in/out

I know that this question is going to be painfully vague, but here it is any way. I have made an small console application designed to be run on Windows XP Pro computers. It will be run at log in and log out. The command to run this program will be set via GPO and will include command line operators to control what data the program send...

Legal aspects of virtual machines

My normal pc is currently under 'repair' due to me uninstalling a bunch of apps in an attempt to fix an old app that failed in certain situations and causing a looping screen of blue death. Now I've been asking for the ability to have virtual machines so I can do testing of legacy software in a safe and controlled manner and not worry a...

Need help configuring IIS 5.1 on XP

Hello everybody. Fist of all I want to say IIS to me is like a vending machine to a monkey. So I have Windows XP SP2 with IIS 5.1 on it and an ASP.NET Web Forms project. I just want my website to be accessed by someone else from the internet or from my local network. How do I configure IIS so that is possible? I tried a lot of user gu...

Activate a python virtual environment using activate_this.py in a fabfile on Windows

I have a Fabric task that needs to access the settings of my Django project. On Windows, I'm unable to install Fabric into the project's virtualenv (issues with Paramiko + pycrypto deps). However, I am able to install Fabric in my system-wide site-packages, no problem. I have installed Django into the project's virtualenv and I am able...

A way to launch x applications as administrator automatically (Windows xp)

The problem is that in our clients their normal user doesn't have administrator privileges so when they have to install or update our programs they have to log again as administrator to install them and then log as their user which is cumbersome... As some updates are automatic the "run as" solution isnt a valid one... One good idea wo...

How to check which process is using write protected mode on file?

I have file which is opend with write protection for some process. Is there a simple way to check which process set write protection on that file in Windows Xp ? Any tool ? ...

IIS serving corrupted MSI

Hello, I am trying to put an .msi for download in a virtual directory setup with IIS. The download works fine but when I try and install the .msi, it says it is missing a _cabinet file. Me and a coworker had this issue will the installer downloaded fine & ran correctly on another coworker's machine. Am I missing anything? Is it a be...

VBScript file open dialog that works in XP and Vista?

In XP, you can use VBScript with the UserAccounts.CommonDialog object to bring up a File Open dialog (as described here), but apparently this does not work under Vista. Is there a VBScript method for File-Open dialogs that will work for both? Or even one that will work nicely for Vista? Disclaimer: I'm a proper programmer, honest, and...

VS 2008 SP1 craching when I open an ASPX file on Windows XP

VS 2008 SP1 craching when I open an ASPX file on Windows XP Has anyone experienced this before ? VS does not give me any error messages. It simply shuts down very quickly. -- plugins : VisualSVN (had Resharper 5.0 RTM but removed it trying to fix the problem) I am able to open the files with notepad and to modify them with notepad. ...

system() call returns "Permission Denied" on Windows XP

I am experiencing a problem with a C program running on Windows XP that is getting Permission Denied (EACCES) errors when it tries to call system(). It doesn't seem to matter what I put in the command string, the commands all work manually but get Permission Denied errors when executed via system() The other interesting thing is that ...

QT widget for on WindowsXP

Hi Geeks, I need to create a widget which shows battery status(in percentage) inside my qt application. Can anybody suggest me how to get the winXP api to know the battery status. Then as the api will return the percentage I will display on my widget.... ...

How long will NetworkStream Read wait, before dying?

I have a call to Read on NetworkStream objeck, which uses Socket.Receive internally. Say that no data is comming in. How long before the Read Method exits? ReceiveTimeout is set to 0 (infinite timeout). What if I unplug the internet cable? Will it exit? ...

How can the SO_RCVBUF be smaller than the TCP receive window? (Windows XP)

I have an application using TCP on Windows XP. When I call getsockopt with the SO_RCVBUF option, it reports 8192 bytes. However, Wireshark shows the app advertising a receive buffer of 64K. How is this possible? To have a 64K receive window, doesn't it need a 64K buffer? Are there two different buffers? ...