06-19-2012, 03:40 PM
Hi,
You can create an objects description by using Description object. example is given below
'We used Desktop as the parent here because, the Desktop Object holds all the Windows
You can create an objects description by using Description object. example is given below
Code:
Dim oDesc 'Description Object
Dim colObject 'Object Collection
Set oDesc = Description.Create
'Remember to always use 'micclass' and not 'class name'
oDesc( "micclass" ).value = "Browser"
'We used Desktop as the parent here because, the Desktop Object holds all the Windows
Code:
Set colObject = Desktop.ChildObjects( oDesc )