mshtml.HTMLDocumentClass doc = (mshtml.HTMLDocumentClass)IE.Document;
object script= doc.Script;
object[] args = { FirstArgument , "FrameContent", "tree.aspx", "FrameNav" };
script.GetType().InvokeMember("ZweiFrames",
System.Reflection.BindingFlags.InvokeMethod,
null, script,args);
Marshal.ReleaseComObject(script);
I used the above code to execute java script and getting an error.(Exception has been thrown by the target of an invocation) ( inner Exception : Insufficient memory to continue the execution of the program).
Please help me on this..
Thanks in advance.. Unni.