Visio 2003 Developer's Survival Pack Tools and Samples

Tool: DAKbdEventLib.dll
Visio 2003 DSP home  This page

Overview

DAKbdEventLib.dll is an ActiveX DLL that provides a way for VBA code to queue keyboard input. This is similar to VBA's SendKeys function, except that it avoids some of SendKeys unpredictable behavior.

The main use for this component is to control Visio's SaveAs dialogs to allow saving a drawing page (or parts thereof) in various bitmap formats. See the material supplied for Chapter 32 (Bitmap Export) for sample code.

Files

Filename Description Installation
DAKbdEventLib.dll ActiveX DLL. Once installed you will be able to add a reference to this library (VBA Environment, Tools > References), which appears in the reference list as "DAKbdEventLib Diagramantics Keyboard Event Library".. Use regsrv32 to install. See VBVSLNotes "Making regsvr32 More Convenient".
     

Installation

Suggestions on how to operate are found in the sample Excel project and documentation for BitmapExport.


Article Created: 2003-09-01  Last edit: Last edit: 03-10-29 Graham Wideman
Go to:
  DiagramAntics.com