:laugh: :laugh: ... This is already a C# code. VB dont need semicolon for each line end.
But I think there is error in this C# code as well, It should be :
abc = wb.Document;
abc.forms[0].all("login").value= "prtk@yahoo.com";
In case of C# indexer should be placed inside square braces.
If you need VB equivalent to this ... it will be :
abc = wb.Document
abc.forms(0).all("login").value= "prtk@yahoo.com"
Thats it..