[Help]weird problem with my code
i know this code works in vs 2008
Code:
WebBrowser1.Document.All.GetElementsByName("name").InvokeMember("Click")
but i got VS 2010 pro like 2 days ago and i tried to use it and i get a lil syntax error(i guess it would be a syntax error). here is a pic i have tried typing it out by hand c&p but it wont work so i was just wondering if there is anything wrong with this...(YES I DID GOOGLE IT I FOUND NOTHING)

Try GetElement instead of GetElements...without the exact error we cannot help you.
However the element doesn't have an ID, it only has a name.