Preparations to use the Active Worlds Visual Basic SDK


To create your own Active Worlds VB (Visual Basic) bot, you first have to make some preparations. You can not start without these. After these basic steps you can start writing your bot. Good luck!

  1. Download the VB (Visual Basic) SDK (Software Development Kit) from the download page and save it to your hard disk somewhere you can find it.
  2. Unzip the file and remember where you saved it.
  3. Open VB (Visual Basic) and start a new project (i.e. Standard EXE template).
  4. Click on the Project menu item  and select Components or press CTRL-T from within the form. Click the Browse... button of the components dialog.
  5. Click on ActiveX Controls (*.ocx) and select All Files (*.*).
  6. Find the directory in the file selection box, and double click the unpacked awsdkxx.dll file (You unpacked in step 2.) and press the OK button.
  7. You should find an icon saying 'AW' at the toolbar to the left. Double click it, and a greenish icon with 'AW' on it will apear in your form.
  8. Be adviced to rename it (on the right side of the VB development environment main window you find the property window with an attribute called 'Name', enter the reference name of your choice there) to 'sdk'. We use this name in the example.
  9. Look for an icon called 'Timer' at the left of VB development environment window. Double click it, and rename it to 'CallBack' for the GreeterBot example.

    Preparations are done now.
 

Many thanks to DutchBull for providing this page and the example.
Note, The example is kept very simple. Advanced VB coders might have more sophisticated solutions.


Active Worlds™ is a trademark of Activeworlds Inc. You may obtain support from the Active Wiki at http://wiki.activeworlds.com/index.php?title=SDK. Problems with this web page should be reported to the author.

Copyright © 1998-2009 Activeworlds Inc. All rights reserved.