Hi Guys,

Just got this problem right now. I am trying to create a application where in

1. when I click the a button all the active windows in the desktop will be listed in a listbox with their window texts (Done)
2. When I select 1 from them and click another button, all the object classnames in that form will be listed in to another list box (not done)

My problem is that the GetClassName API is not working in VB.NET 2008. I don't know why but I am getting a blank strings. I tried it in VB6 and it works fine.

Can any one help me