hi there*.sh
im not really feeling home in the windows world but at the moment i have to use a laptop with windows xp installed on it...
the point is, that i do not have administrator privileges. Im currently working on a grails application and therefore I have to set the JAVA_HOME and GRAILS_HOME eacht time, I start the machine...
Could...
How do I create windows with irregular shapes using WinForms and C#?
...
I want to (need to) start a sub-process from a perl script that checks certain environment variables. In one instance the environment variable needs to be there but empty.
$ENV{"GREETING"} = "Hello World"; # Valid
$ENV{"GREETING"} = ""; # also valid
I can set $ENV{"GREETING"} = ""; and in that perl script $E...
How do I escape ampersands in a batch file (or from the
Windows command line) in order to use the start command to
open web pages with ampersands in the URL?
Double quotes will not work with start; this starts a new
command line window instead.
Update 1: Wael Dalloul's solution works. In addition, if
there are URL encoded character...
How do I go about creating my own taskbar toolbar, a la Windows Media Player:
Examples or documentation or even open source software that implements this for just about any language would be appreciated, but Google isn't being very helpful. Ultimately, I would like to do this in C# (I expect to need P/Invoke) for XP onwards, but any l...
Hi,
I'm having a problem where a TCP socket is listening on a port, and has been working perfectly for a very long time - it's handled multiple connections, and seems to work flawlessly. However, occasionally when calling accept() to create a new connection the accept() call fails, and I get the following error string from the system:
...
Can i get the file name of the current playing track/video from windows media player?
It will be a small program, written in c++. I have some experience in c++ but no knowledge about this kind of problem. It would be great to show me a way to learn, to start building something
...
I have http connection code that does the typical
InternetOpen -> InternetConnect -> HttpOpenRequest -> HttpSendRequest using wininet,
which worked just fine on all the prior versions of windows , but win server r2 x64 what is happening is that everything else works just fine but the cookies aren't being accepted and returned on subse...
I'm trying to patch a waf issue, where the Windows command prompt output isn't coloured when it's supposed to be. I'm trying to figure out how to actually implement this patch, but I'm having trouble finding sufficient resources - could someone point me in right direction?
Update 1
Please don't suggest anything that requires Cygwin.
...
I have a WinForms app that is retrieving data from a web service on a worker thread and I need to disable all input to my app until the data is loaded.
Currently, I create a semi-transparent form and place it over my application. When the data call completes I close this overlay form. This works fine accept that it causes considerable...
I happen to be working in a sandboxed Ruby environment and have been trying to add libraries to it with mixed results. However, it has raised some interesting questions about how Ruby works. I'm looking to understand how Ruby links libraries and how it decides what to load when it starts up.
What is going on when I do a
require 'someLi...
I've put together the batch file below; I don't have much experience with batch files and I can't figure out why the file fails with an error message stating that the:
DO command was unexpected.
Looking at the following code, does anyone know what I did wrong? Thanks.
@ECHO OFF
REM Set arguments supplied by Subversion
SET REPOS ...
I want to improve the cross platform behavior of a java application. However, its test suite currently assumes the existence of the /tmp directory.
What is the best equivalent location on the windows platform? N.B. I most definitely do not want to assume the user has admin rights but I do want it to work on at least XP, Vista & Windows7...
I followed this spectacularly worthless piece of drivel from MS http://support.microsoft.com/kb/899115 in order to turn on MSDTC trace.
As it fails to follow through on a very reasonable and obvious expectation of the reader, specifically "how do I read this binary log file?" I read this equally worthless KB document http://msdn.microso...
I am creating a Windwos Installer project just for the use of installing our third party assemblies into the gac of the users computer. The problem i am running into, is when i make an update to the assemblie and increment it's version number, i get an error saying:
"Another version of this product is already installed. Installation of ...
My company has built a machine that measures wedge and roundness of lenses by reading and interacting with very precise indicators, motors, and a switch panel. The interface for the machine is a WPF application and it runs on Windows Vista on a normal PC bought from the store.
I've never worked with Windows Embedded, but it sounds to me...
I am writing a Java program that wants to do 3 things, and I don't know how to do them or if it's even possible with Java.
1 - I want to ensure that the computer whether running mac OS or windows xp/vista, doesn't go to sleep whilst running my app.
2 - I want my app to be able to turn the volume to full on all of the above OS's before ...
Is there a 64 bit version of Java 1.4.2 for Windows?
I need this because of a BEA WebLogic 8.1 application that runs out of memory all the time.
UPDATE:
As Tom Hawtin pointed out there are licensing problems with the Sun 64 bit version I suggested in my own answer. Just out of curiosity:
If you know a version which is available under ...
Is there a way to detect whether there is an antivirus software installed in a machine using C#? I know the Security Center detects antivirus software but how can you detect that in C#?
A link would be sufficient. :D
Thanks
...
I need to write a script which will post username and password onto a server url, fetch the session cookie and save it into IE's cookie directory. Basically I want a script to automatically log me into a site simply by running it.
Any help on how to do it? Anything from C, VBS to python, perl will do.
...