Automatically Dismiss NET SEND Messages

Category:
Windows 2000/XP
Type:
Snippets
Difficulty:
Beginning
Author:
DaProber

Version Compatibility: Visual Basic 6

More information:
Automatically dismisses messages sent with "NET SEND" or a program that uses NETAPI.DLL for the same purpose without using API calls (just uses AppActivate and SendKeys).

Instructions: Copy the declarations and code below and paste directly into your VB project.

Declarations:

Code: