cant login using System.Diagnostics.Process.Start
- by omair iqbal
i am tying to login using System.Diagnostics.Process.Start
private void button1_Click(object sender, EventArgs e)
{
System.Diagnostics.Process.Start("iexplore","[email protected]","password","http://www.gmail.com");
}
but visual studio gives me these 2 errors: Error 1 The best overloaded method match for 'System.Diagnostics.Process.Start(string, string, System.Security.SecureString, string)' has some invalid arguments C:\Documents and Settings\Omair\My Documents\Visual Studio 2008\Projects\WindowsFormsApplication3\WindowsFormsApplication3\Form1.cs 21 13 WindowsFormsApplication3
and
Error 2 Argument '3': cannot convert from 'string' to 'System.Security.SecureString' C:\Documents and Settings\Omair\My Documents\Visual Studio 2008\Projects\WindowsFormsApplication3\WindowsFormsApplication3\Form1.cs 21 80 WindowsFormsApplication3
note: i am brand new to c# and reletively new to the world of programming
sorry for my english