Salve, ho un problema con il componente SHDocVw non riesco ad effettuare l'autologin chiamando una pagina di ie.
potete aiutarmi?codice:object[] data = new object[] { "submit", "pippo", "pippo"}; string postData = string.Format("pagelogin={0}&username={1}&password={2}", data); object byteArray = (object) Encoding.UTF8.GetBytes(postData); object header = "Contnet-Type: application/x-www-form-urlencoded"; object o = null; SHDocVw.InternetExplorer ie = new SHDocVw.InternetExplorerClass(); IWebBrowserApp wb = (IWebBrowserApp)ie; wb.Visible = true; //Do anything else with the window here that you wish wb.Navigate("www.pippo.it", ref o, ref o, ref byteArray, ref header);


Rispondi quotando