How to use Dictionary class in VBA (VB5, VB6, Word, Excel, VBNet, …), VBS / JS (ASP, WSH).
Dim D as Multi.Dictionary Set D = New Multi.Dictionary 'or Dim D1 As New Multi.Dictionary D.Add Key, Value D1(Key) = Value '….
Dim D Set D = CreateObject("Multi.Dictionary")
<OBJECT RUNAT=server SCOPE=Application PROGID=Multi.Dictionary ID=MyDict></OBJECT>
<OBJECT RUNAT=server PROGID=Multi.Dictionary ID=MyDict></OBJECT>
<Script RunAt=Server Language=JScript> var d d = new ActiveXObject("Multi.Dictionary")
d.Add("Key", "Value") //or var d1 = new ActiveXObject("Multi.Dictionary") </Script>a
Free-threaded (multithreaded) dictionary object. Lets you work with unique/non-unique keys in VBScript and JScript envinronment (share application/session variables in ASP) or any other programming language. You can share dictionary variables between processes or computers, you can save or restore dictionary variables to a disk, work with keys using regular expression and more.
© 1996 - 2009 Antonin Foller, Motobit Software | About, Contacts | e-mail: info@pstruh.cz