Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Error while creating object using description.create object in VB script
#3
Not Solved
'Create a description for browser

Code:
Set oBrowser = Description.Create
oBrowser("micclass").Value = "Browser"

'Get all browsers
Set allBrowser = Desktop.ChildObjects(oBrowser)

Dim i, iCount

iCount = allBrowser.Count - 1

For i = 0 To iCount
    
allBrowser(i).Close
  
Next




After executing the above code I am getting the error as "Object required 'Description'
Reply


Messages In This Thread
RE: Error while creating object using description.create object in VB script - by SarodeGirish - 06-19-2012, 01:34 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
Question Is there a way to create dynamic objects by declaring the type of object as parameter lotos 3 2,000 11-08-2017, 11:15 PM
Last Post: lotos
  Need help in creating dynamic object string using Childobjects Keshub Mathur 0 1,517 09-11-2017, 05:52 PM
Last Post: Keshub Mathur
  General Object Error(Find Object Error) akhandesh 1 3,429 02-24-2016, 01:05 PM
Last Post: sindhus
  How to find out the object property in the Description language . njnirmal 9 6,295 05-19-2015, 12:30 AM
Last Post: qtptester66523
  If Object name is completely changing then I am unable to recognize that object swapna.9n9 0 2,016 11-14-2014, 05:35 PM
Last Post: swapna.9n9

Forum Jump:


Users browsing this thread: 1 Guest(s)