PageSourceSearch

https://www.motobit.com/help/asp-dictionary-object/default.htm

html motobit.com collected 2026-10-02 03:21:34 UTC 14,340 bytes, 183 lines download raw bytes

1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2<html>
3 <head>
4  <meta http-equiv="Content-Type" content="text/html; charset=windows-1250">
5  <title>ActiveX/ASP Dictionary object, free-threaded scripting dictionary.</title>
6  <meta name="description" content="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.">
7  <meta name="keywords" content="dictionary, object, asp, aspx, aspnet, asp.net, net, class, free, thread, application, scope, com, dcom, vba, vbs, visual, basic, lookup, lookuptable, search, find, keys, items, enumarate, associative, array, b-tree">
8  <link rel="stylesheet" href="basic.css">
9 </head>
10<body>
11
12
13
14<h1><a href="https://www.motobit.com/"><span>MOTOBIT.COM - ASP upload, IIS utility</span></a>
15 Multi Dictionary</h1>
16<strong class="subtitle">Library Multi Dictionary |  <a href="re13.htm" title="Revision history of the Multi Dictionary">Changes</a> | <a href="lc13.htm" title="Purchase the Multi Dictionary, license types, price.">Purchase</a> | <a href="download.htm"  title="Download links for the Multi Dictionary">Download</a></strong>
17
18<div class="search" title="Search Motobit.com - ASP upload, IIS monitor, ASP and IIS utility">
19  <form action="https://www.motobit.com/find.asp">
20  
21  <input value="" name="Comb">
22  <input type="submit" value="Search">
23  
24  </form>
25
26</div>
27
28
29<h2>Description of Multi Dictionary<div style="float:right"></div></h2>
30<p>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.</p>
31
32
33
34<h2><a href="download.htm"  title="Download links">Download</a><div style="float:right"></div></h2>
35
36<p>1/1/2024 - You can download and install <b>full version of the Dictionary</b>. This <b>software is not freeware</b>. 
37You can use the full version to develop ASP/ASP.Net/VBS apps, for scripting in WSH, to create VBA code in Excel/Word, in debug or backup environment for any time.
38Please <a href="lc13.htm">buy a license (see Purchase page through PayPal)</a>, if you use the upload on production environment. 
39Single license is for $47, site $247, distribution license with source code $397.</p>
40
41<p><h3>Current version 1.2</h3>
42<p>
43 <h4>EXE setup - All Win32 versions - Windows Server 2022, 2019 ... to 2000, NT. Windows WS 12 to 7, Vista, XP</h4>
44 <br />
45 <div> <a href="https://www.motobit.com/dlldownload/mdict/data.full/mDict-full-1-2-0.exe">Download Windows 32 EXE installer</a> </div>
46</p>
47<br />
48
49<p>
50 <h4>ZIP package - All Win32/Win64/X64 (IA64,Amd64) - Windows Server 2022, 2019 ... to 2000, NT. Windows WS 12 to 7, Vista, XP</h4>
51 <br />   
52 <div> <a href="https://www.motobit.com/dlldownload/mdict/data.full/mDict-full-1-2-0.zip">Download ZIP package (with installer inside)</a> 
53</p>
54
55
56</p>
57
58<h2>License<div style="float:right"></div></h2>
59<p>Shareware <a href="lc13.htm">About prices and registration</a><br></p>
60
61<h2><a href="pa37.htm" name="pa37.htm">Features and functionality of Multi.Dictionary class</a><div style="float:right"></div></h2>
62<p><P>Main ideas</P>
63<UL>
64<LI>Free-threaded hi-speed dictionary algorithm (<a href="pa104.htm">better than Scripting.Dictionary</a>, which is apartment threaded) 
65<LI><a href="pa102.htm" title="MultiDictionary object can be also used to share dictionary data between more processes on one computer or between computers using Windows COM+ server application. This article contains step-by-step guide to setup COM+ application on server and clien">Share dictionary values over processes/remote computers (from VBSCript in ASP to WSH, ..)</a> </LI>
66<LI>Extended dictionary functionality</LI></UL>
67<P>Features</P>
68<UL>
69<LI>Unique/nonunique keys (<a href="cm422.htm" title="Set or get unique keys property. Specifies a dictionary mode of Add method. If True (default), Add method does not allow to add two items with the same key.">UniqueKeys</a>, map/multimap). 
70<LI>Connect to another dictionary object in the same process (<a href="cm411.htm" title="Lets you connect to another Dictionary object in the same process.">Connect</a> method). 
71<LI>Extended <a href="cm419.htm" title="The Lock method blocks other clients from modifying the variables stored in the Dictionary object, ensuring that only one thread at a time can alter or access the dictionary variables.">Lock</a> and <a href="cm420.htm" title="The Unlock method enables other threads to modify the variables stored in the Dictionary object after it has been locked using the Lock method.">Unlock</a> methods to synchronize multithreaded tasks. 
72<LI><a href="cm414.htm" title="Array containing all items in the Dictionary object.">Items</a> and <a href="cm416.htm" title="An array containing all existing keys in the Dictionary object.">Keys</a> enumerators.</LI>
73<LI>Bulk remove dictionary elements (using <a href="cm423.htm" title="Removes all key and items from the Dictionary object.">RemoveAll</a> method).</LI>
74<LI>Bulk <a href="cm692.htm" title="Save all dictionary data to a file.">Save</a> and <a href="cm693.htm" title="This method loads dictionary data stored by the Save method.">Load</a> dictionary data to/from a disk.</LI></UL>
75<P>Other functionality</P>
76<UL>
77<LI>Share Application/Session variables in ASP (see <a href="sa279.htm">ASP - Share application variables</a> sample) </LI>
78<LI><a href="pa102.htm" title="MultiDictionary object can be also used to share dictionary data between more processes on one computer or between computers using Windows COM+ server application. This article contains step-by-step guide to setup COM+ application on server and clien">Share dictionary values over processes/remote computers (from VBSCript in ASP to WSH, ..)</a> </LI>
79<LI>Works with keys collection using regular expression (<a href="cm421.htm" title="Removes a key and item pair(s) from the Dictionary object.">Remove</a>, <a href="cm692.htm" title="Save all dictionary data to a file.">Save</a> …)</LI>
80<LI>Case sensitive or case insensitive keys</LI></UL></p>
81
82<h2><a href="pa41.htm" name="pa41.htm">Using Dictionary class</a><div style="float:right"></div></h2>
83<p>How to use Dictionary class in VBA (VB5, VB6, Word, Excel, VBNet, …), VBS / JS (ASP, WSH).</p>
84
85<h2><a href="pa104.htm" name="pa104.htm">Multi Dictionary, Scripting Dictionary and ASP application Dictionary - Performance comparison</a><div style="float:right"></div></h2>
86<p>Multi dictionary is designed also as a hi-speed dictionary working with large number of keys . This article provides test comparison between the Multi Dictionary and the two base object used in ASP - ASP global application object and Scripting.Dictionary.</p>
87
88<h2>Multi Dictionary classes<div style="float:right"></div></h2>
89<p><table border=0 cellpadding=0 cellspacing=2><tr><td valign=TOP ><a href="cl112.htm" title="Free threaded dictionary object. Lets you work with unique/non-unique keys, any VARIANT values and connect to other dictionary in the same process. - Free threaded scripting.dictionary object">Dictionary</a></td><td>&nbsp;</td><td>Free threaded dictionary object. Lets you work with unique/non-unique keys, any VARIANT values and connect to other dictionary in the same process.</td></tr></table></p>
90
91<h2>Multi Dictionary enums<div style="float:right"></div></h2>
92<p><table border=0 cellpadding=0 cellspacing=2><tr><td  valign=TOP ><a href="cl113.htm" title="Compare method for Dictionary keys. - The comparison method to use when comparing dictionary keys.">CompareMethod</a></td><td>&nbsp;</td><td>Compare method for Dictionary keys.</td></tr></table></p>
93
94<h2>Examples<div style="float:right"></div></h2>
95<p><table border="0" cellpadding="3" cellspacing="0" class="sample"><tr><td><h3 class="sample"><a href="sa329.htm">Application scope dictionary in PHP</a></h3></td></tr></table>
96<table border="0" cellpadding="3" cellspacing="0" class="sample"><tr><td><h3 class="sample"><a href="sa285.htm">Enumerate  <a href="default.htm" title="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">Multi</a>.<a href="cl112.htm" title="Free threaded dictionary object. Lets you work with unique/non-unique keys, any VARIANT values and connect to other dictionary in the same process. - Free threaded scripting.dictionary object">Dictionary</a> keys and items</a></h3></td></tr><tr><td><pre>  <font color=Blue>Dim</font> D <font color=Blue>As New</font> Multi.Dictionary
97  
98  D.<a href="cm422.htm" title="Set or get unique keys property. Specifies a dictionary mode of Add method. If True (default), Add method does not allow to add two items with the same key.">UniqueKeys</a> = <font color=Blue>False</font>
99  
100  <font color=Green>'Fill dictionary with some data
101</font>  D(<font color=BROWN>"Peter"</font>) = 12
102  D.<a href="cm400.htm" title="Add a new key and item to the Dictionary.">Add</a> <font color=BROWN>"Alex"</font>, 2534
103  D.<a href="cm400.htm" title="Add a new key and item to the Dictionary.">Add</a> <font color=BROWN>"Alex"</font>, 2535
104  D.<a href="cm400.htm" title="Add a new key and item to the Dictionary.">Add</a> <font color=BROWN>"Alex"</font>, 14
105  
106  <font color=Blue>Dim</font> I <font color=Blue>As Long</font>, Keys()
107  
108  <font color=Green>'Get dictionary Keys
109</font>  Keys = D.<a href="cm416.htm" title="An array containing all existing keys in the Dictionary object.">Keys</a>
110  
111  <font color=Green>'Loop through Keys array
112</font>  <font color=Blue>For</font> I = 0 <font color=Blue>To</font> <font color=Blue>UBound</font>(Keys)
113    <font color=DarkBlue>Debug.Print</font> <font color=BROWN>"Key"</font>, I, Keys(I)
114  <font color=Blue>Next</font>
115
116  <font color=Blue>Dim</font> Items()
117  
118  <font color=Green>'Get dictionary Items
119</font>  Items = D.<a href="cm414.htm" title="Array containing all items in the Dictionary object.">Items</a>
120  
121  <font color=Green>'Loop through Items array
122</font>  <font color=Blue>For</font> I = 0 <font color=Blue>To</font> <font color=Blue>UBound</font>(Items)
123    <font color=DarkBlue>Debug.Print</font> <font color=BROWN>"Item"</font>, I, Items(I)
124  <font color=Blue>Next</font>
125
126
127<font color=Green>' output:
128</font>Key            0            Alex
129Key            1            Peter
130Item           0             2534 
131Item           1             2535 
132Item           2             14 
133Item           3             12</pre></td></tr></table>
134</p>
135<br><a href="https://www.motobit.com/help/asp-dictionary-object/dictionary.xml">XML/PAD</a> | <a href="lis13.htm">All samples</a> | <a href=ol13.htm>Other libraries</a>
136
137
138
139<p class="foot">&copy; 1996 - 2009 <a href="http://www.foller.cz/">Antonin Foller</a>, <a href="https://www.motobit.com/">Motobit Software</a> | <a href="https://www.motobit.com/about.htm">About, Contacts</a> | e-mail: <a href="mailto:[email protected]">[email protected]</a></p>
140
141
142<hr class="oddelovac" noshade="noshade">
143Other Motobit links:
144&nbsp; <a style="background-color:red;color:yellow" 
145  href="https://www.motobit.com/help/iistrace/default.htm"
146  title="IISTracer is a real-time monitoring tool for Microsoft IIS. Lets you monitor scripts (.asp,.cgi,..), static files (.htm,.gif,..), downloads (.mp3,.zip,..) and show online current state, progress (in/out bytes) and other info of each running request."
147 > IISTracer, real-time IIS monitor </a>
148&nbsp;  <a  style="background-color:red;color:yellow"
149  href="https://www.motobit.com/help/scptutl/upload.asp"
150	title="Easy to use, hi-performance ASP upload component with progress bar indicator. Let's you upload multiple files with size up to 2GB to a disk or database along with another form fields. Works with large posts, any character set (including unicode utf-8)."
151	>ASP file upload - upload files to ASP.</a>&nbsp; 
152	<br />
153  
154  <a
155 href="https://www.motobit.com/help/RegEdit/regedit.asp"
156 title="Intuitive, easy to use ActiveX/COM interface to windows registry. Set of classes to read/enumerate/modify windows registry keys and values from ASP, VBSScript and T-SQL."
157 >ActiveX/VBSScript registry editor</a>
158&nbsp;<a
159 href="https://www.motobit.com/help/usrmgr/usermanager.asp"
160 title="Set of simple ActiveX objects for creating, deleting, and managing user accounts, groups, servers and domains in the Windows NT environment." 
161 >ActiveX NT User account manager</a>
162&nbsp;<a
163 href="https://www.motobit.com/help/RSConv/database.asp"
164 title="Enables direct output of MDB or DBF files from ASP pages by one row of code."
165 >Export MDB/DBF from ASP</a>
166<a 
167 href="https://www.motobit.com/help/ScptUtl/cl88.htm"
168 title="Hi-performance text file logging for ASP/VBS/VBA applications. Lets you create daily/weekly/monthly log files with variable number of logged values and extra timing and performance info."
169 >Active LogFile</a>
170&nbsp;<a 
171 href="https://www.motobit.com/help/emailexport/default.htm"
172 title="Email Account configuration exporter is an ActiveX/COM library, which let's you work with Outlook and Outlook Express email account configuration in VB script/JScript and other programming languages"
173 >Email export</a>
174&nbsp;<a
175  href="https://www.motobit.com/help/asp-dictionary-object/default.htm"
176  title="Free-threaded hi-speed dictionary algorithm with unique/nonunique keys (map/multimap). Connect to another dictionary object in the same process. Lock and Unlock methods to synchronize tasks (application scope). Share ASP Application/Session objects"
177	>ActiveX/ASP Scripting Dictionary object</a>
178
179
180
181<p class="partners"></p>
182
183</body></html>

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.