Results for "Author: alan toews"
This dll and test project allow you to easily place an icon in the system tray and set its tooltip. This dll provides MouseMove, MouseDown, MouseUp, Click, DoubleClick, Minimize, and Restore events, and allows you to easily minimize a form to the tray. You can also specify a popup menu, and how it responds. (eg: on right click,double click etc...) I've added a new property (Persistent) which reloads the icon if Explorer crashes. Please let me know if you find any bugs with it.
Nothing fancy about this, it simply retrieves the source of the url you specify. The best part about this code, is you don't need to add any controls to your code. you just drop in the module, and call one function [some string]=GetURLSource("http://[some url]") It's simple and lightweight, and with a little creativity, you could add features like daily news headlines, todays weather forecast, or stock prices to your projects. If you'e got any questions, feel free to send me a message.
This module will enable you to run a program, or open a file in its associated app with one command. It also allows you to add web or email hyperlinks just as easily. See the sample form for examples.
Many unix servers also run a rexec daemon, which lets you execute a command on the server remotely. This project provides an rexec client, and a windows server, so the same client can execute commands on both windows and unix machines. The rexec client works flawlessly for my needs when connecting to SCO Unix, Solaris, and Red Hat Linux. I imagine it will work on any unix rexec server, but I've never seen any documentation on the rexec protocol, so I couldn't say for sure. Please note, that the windows server component is nothing special. It was a quick job I wrote this morning, and it works with the rexec client I wrote. It allows full password protected access to the command prompt of the serving machine. If there is a need for it, I'll invest some time and add better security, multiple connection support, or ability to run as an NT service, or whatever else I think of. It stores the password in an obscured and compressed field in the registry, so it is not humanly decipherable, but it requires a trivial amount of code to retreive it. It doesn't represent any significant form of security, but it does give complete access to the command prompt once you're logged in, so BE CAREFUL WHERE YOU USE IT! Also, there may be (large) discrepancies in the real rexec protocol and my implementation of it. If anyone has documetation on it, I wouldn't mind having a look. If you find any bugs, or have some thoughts on this, feel free to write.