You may get variable in this way : IHTMLDocument2 document2 = (IHTMLDocument2)axWebBrowser1.Document; object variable= document2.parentWindow.GetType().InvokeMember ("variableName", BindingFlags.GetProperty, null, document2.parentWindow, new Object [] {}); The snippet below shows how to set the variable document2.parentWindow.GetType().InvokeMember ("variableName", BindingFlags.SetProperty, null, document2.parentWindow, new Object [] {"New value"}); DevIntelligence.com - My blog for .Net Developers