Login | |
|
 |
RE: Check if printer exists in collection/array - 6/10/2008 4:12:49 AM
|
|
 |
|
| |
dm_4ever
Posts: 2639
Score: 46
Joined: 6/29/2006
From: Orange County, California
Status: offline
|
Well you either search for the existence of that specific printer or you loop through all the printers...add them to a dictionary and use its .Exists method to see if your printer exists in the dictionary....or add the printers you're looking for to the dictionary and see if they are part of the collection as you loop through it.
_____________________________
dm_4ever My philosophy: K.I.S.S - Keep It Simple Stupid Read Me: http://www.visualbasicscript.com/m_24727/tm.htm Frequently Asked Stuff: http://www.visualbasicscript.com/m_47117/tm.htm
|
|
| |
|
|
|
|
|