Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
weblist values to display with help of datatable or msgbox
12-18-2009, 11:31 AM
Post: #1
weblist values to display with help of datatable or msgbox

Hi ,
Here is a code which says how many weblist are there in a page and also count the items in weblist. I want to know how i should retrive the states name and display them in a msgbox or export to datatable.
Dim cntweblist,cnt.
Set WinListDesc=description.Create()
WinListDesc("html tag").value="SELECT"

set cntweblist=Browser("name:=iGoogle").page("title:=iGoogle").ChildObjects(WinListDesc)
msgbox "No. of WedList:" & vbnewline &cntweblist.count
cnt=Browser("iGoogle").Page("iGoogle").WebList("select").GetROProperty("items count")
msgbox "NO of items in weblist is:"&cnt

and also how to use webtables with help of DP with an example.
Thanks in Advance.
email: vuru_kavi@yahoo.com
Find all posts by this user
Quote this message in a reply
12-21-2009, 04:56 PM
Post: #2
RE: weblist values to display with help of datatable or msgbox
dim myarr
myItems=Browser("iGoogle").Page("iGoogle").WebList("select").GetROProperty("all items")
myarr=split(myItems,";")
iterate the array and get the values of a weblist.
Find all posts by this user
Quote this message in a reply
12-22-2009, 06:46 PM
Post: #3
RE: weblist values to display with help of datatable or msgbox
I didn't get your question... With the help of DataTable or msgbox... What it means?

Validating the data in datatable in WebList? or what?

D.Baba Fakruddin
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)