WiFiEnable Script
|
|
All modern modems and routers provide Web interface. This makes it possible to control
them simulating HTTP request, which may be done in many ways. I used the easiest
one - scripting. The WiFiEnable script allows to enable/disable wireless network
in 3Com's OfficeConnect Wireless 11b Cable/DSL Gateway. The code also illustrates
how to use include files in VBScript (useful for configuration files and code reuse).
|
|
|
|
Download - WiFiEnable.zip (1 KB)
|
|
|
|
|
|
|
|
|
BroadcastListener Class
|
|
This example shows how to use System.Windows.Forms.NativeWindow class to listen
to Windows broadcast messages such as WM_DEVICECHANGE, WM_TIMECHANGE and so on.
All that you have to do is to override WndProc method of NativeWindow. Even this
is already done ;-) Thanks to Efraim Gottlieb for the original idea.
|
|
|
|
Download - BroadcastListener.zip (11
KB)
|
|
|
|
|
|
MD5RC4 VB Class
|
|
This class encrypts/decrypts data with MD5 hashing and RC4 encrypting algorithms
using Windows CryptoAPI functions.
|
|
|
Click here to
view screenshot
|
|
|
|
Download - MD5RC4.zip (3 KB)
|
|
|
|
|
|
XPFrame User Control
|
|
XPFrame solves well known problem of standard frame's behaviour with XP styles (see
screenshot bellow). This control looks like .NET GroupBox under Windows XP or like
VB Frame under early systems. Demo project is included.
|
|
|
Click here to
view screenshot
|
|
|
|
Download - XPFrame.zip (10 KB)
|
|
|
|
|
|
MiceHook C++ DLL
|
|
MiceHook is DLL written in Visual C++ for installing system-wide mouse hook. Its
main feature is the way it sends messages to application. MiceHook simulates mouse
events on VB's PictureBox or any other object that has window handler. You don't
need to use subclassing, just add suitable control to your project, set "Visible"
property to false and place code in appropriate event. Demo project is included.
|
|
|
Click here to
view screenshot
|
|
|
|
Download - MiceHook.zip (8 KB)
|
|
|
|
|
|
AdvSysTray VB Class
|
|
AdvSysTray creates system tray (or "taskbar", like Microsoft calls it) icon. Its
code was used in PopOops. Class correctly works in all
versions of Windows. In systems with Shell32.dll 5.x or later AdvSysTray shows balloon
tooltips. Demo project is included.
|
|
|
Click here
to view screenshot
|
|
|
|
Download - AdvSysTray.zip (9 KB)
|
|
|
|
|
|
EasyPopupMenu VB Class
|
|
EasyPopupMenu dynamically (on-fly) builds popup menu using Windows API. Class also
creates radio items, that are not available in Visual Basic menu builder. Demo project
is included.
|
|
|
|
Click here
to view screenshot
|
|
|
|
Download - EasyPopupMenu.zip (6 KB)
|