Hi to all,

In my application i have a listbox, with a a webbrowser
i would like to create an string or an object whichever way i can do it, something that has a Name that will be the webbrowser1.docuenttitle and a value that will be the webbbrowser1.url.tostring

i have an idea of how it could be, but i dont know how to start it :

Code:
public class CustomObject
dim s as string 
public property Name 
get 
return s 
  'etc........
dim s1 as string
public property  Url 
Get 
return s1 
'etc.....
end class
and then to add the object

Code:
dim s as new CustomObject
s.name=webbrowser1.documenttitle
s.url=webbrowser1.url.tostring
listbox1.items.add(s)
it could be something like that but im not really sure.....if someone could help me it would be really nice......