Working with Microsoft Agent Control:

  • Microsoft agent characters files will have .acs as its extension (characters in search option (dog (Rover), Merlen 9man), . . . . .)
  • Agent characters will have individual capabilities based on the Agent Character File

Take New WINFORM

Rclick on Tool Box and select the Add tab

Name: COM components

Rclick on COM components tab (In opened Window) under this

Check    Microsoft agent Control2.0 Untitled OK

Drag & drop Agent Control on the Form.

Drag & drop ListBoxControl beside Agent Control

  List box  

Inclined to build a profession as VB.Net Developer? Then here is the blog post on, explore VB.Net Training

Double click on Form_Load

‘Form_Load

AxAgent1.Characters.Load (“Merlin”, “C: Windowsmsagentcharsmerlin.acs”)

AxAgent1.Characters (“Merlin”).Show ()

For each an as String in {To list out animations on}

AxAgent1.characters (“Merlin”).Animation Names

‘ListBox1_SelectedIndexChanged

AxAgent1.Characters (“Merlin”).Play (ListBox1.SelectedItem)

(Execute)

VB.NET Tutorials