adspace
How to make sure that items in a wintree are sorted al?
Answer Posted / Nikhil Agarwal
In VB Script, you can sort items in a WinTree control by using the `SortChildren` method on the tree item. Here's an example:
```
Set objWinTree = CreateObject("win32ts.win32treelist.1") ' Assuming WinTree is created and stored in the objWinTree variable
Set objRootItem = objWinTree.GetChild(0) ' Get the root item
objRootItem.SortChildren Ascending ' Sort children of the root item alphabetically
```
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
please can you help me to get a code of flames using a visual basic 6
Develop a parameterized action that accomplishes the following a. Launch a browser of users choice ( example : IE, chrome etc) b. Open up a search engine (Google, Bing etc) c. Perform a search d. Click a particular link depending on the user’s choice ( 1st , 2nd or third link)
Anyone have qtp11.0 crack?
does anyone have qtp11.0 license key.Please sendit to my mail id-rrvv2011@gmail.com...Thanks