I have a Lenovo Y550 laptop which has a nice looking touch sensitive strip with led lights on top of keyboard. The usage for this is however quite useless (it can be used to start 4 different Lenovo programs) so I started to think if I could program something of my own for it.
However I don't have any experience with this kind of thing....
I have changed my locale to English/Great Britain (en-GB) as described here. When running my C# .NET application, I was expecting that Thread.CurrentThread.CurrentUICulture and Thread.CurrentThread.CurrentCulture would reflect this en-GB setting. However, I'm still getting en-US. Is there something that I'm missing?
...
Is anyone familiar with how to identify a USB pnp event with Perl on a Windows (win32 system)?
There is Device::USB (Use libusb to access USB devices) but it suitable for linux, and in order to work in Windows it require libusb and even that not require it to works, is there any other option to identify if a USB device is plugged or un...
This may not be a purely programming related question, but I come across this often during development. When my app crashes and I choose to kill it, Windows automatically throws up a "Checking for a solution..." dialog box. When I hit the cancel button on that I get another dialog box that says "Restarting the program..." Is there a w...
There is a nice function plotter built into OSX. Has anyone found something free that runs on windows (with out having to go through Cygwin)?
...
How can I check OS version in a batch file or through a vbs in an Windows 2k/2k3 environment ?
You know ... Something like ... : "If winver Win2k then ... or if winver Win2k3 then ....
...
When running a program, such as notepad, as a service do you not see the program visually?
I see notepad running in the task manager but I can't actually see its instance running. Why is this?
...
Hi all,
Is it possible to use VBScript or commandline to grab the server IP of a PPP VPN under Windows?
Note this is not VPN dialup server IP.
...
Hi!
I am trying to find a native installer for windows to install an enterprise java application. The most important feature I want is the ability to upgrade existing installations in an rpm kind of way (distinguish between configuration files and files to be upgraded/replaced). I am currently using IZPack which as far as I can see lack...
Hi there,
i'd like to create a windows service that would be accessible via WCF from a web application.
The workflow would be:
Windows Service starts and would hold a default value in memory.
A web app would connect the windows service via wcf and take the value and after some processing set the value back in the memory.
In a while wo...
I have a 32-bit native C++ ATL in-proc COM server which depends on a huge set of legacy 32-bit libraries. I need to use it from a 64-bit application with the smallest changes possible.
One option is putting it into a COM+ application. What are other easy options?
...
On Windows the user has an option to display/hide file extensions when viewing files. How can I programmatically find the current setting of this option?
...
I need to wake up a hibernated laptop at a given time every day...
should i use pinvoke? if yes? wich one? how?
tnx a lot!
...
I'm porting a windows program from 32 -> 64 bit. It has a 32 bit installer which is written using NSIS. Can I launch one of my new 64 bit exes using the 32 bit NSIS installer? I don't think there is a 64 bit version of NSIS...
...
I'm currently maintaining a piece of software that we outsourced couple of years ago and that is poorly documented. The piece is a COM server for consuming by third-party applications and an installer that does all necessary deployment.
There's the core compiled as 32-bit DLL and meant to be used from 32-bit applications. And there's al...
I built a Java application that is delivered on USB sticks. To ensure compatibility, I ship an appropriate JVM on the sticks. I made an EXE that simply invokes this JVM with the application jar.
Now the problem: some virus scanners act aggressively and just remove the executable!
I tried an exe made with a "Batch file to Executable" to...
Yes, I know, the archive bit is evil.
That being said, is there support for querying it with 'find', and modifying it with 'chmod'?
My googling has turned up nothing......
...
My application creates a thread and that runs in the background all the time. I can only terminate the thread manually, not from within the thread callback function.
At the moment I am using TerminateThread() to kill that thread but it's causing it to hang sometimes.
I know there is a way to use events and WaitForSingleObject() to make t...
I'm working on a self-hosted WCF service for which encrypted communications is an option. Everything works fine when a certificate is already bound to the port as described here.
However, I want to avoid asking the user to run a command line tool. Is there a way the binding can be done programmatically? Perhaps using WMI?
...
I know about the GetLastInputInfo method but that would only give me the duration since last user input - keyboard or mouse. If a user input was last received 10 minutes ago, that wouldn't mean the system has been idle for 10 minutes - scans, downloads, movies - lots of reasons.
So how can we identify whether the system is truly idle or...