G
Guest
i need to open a new internet explorer windows from a Web app i have tried
with this code but it seems not to work, because nothin happens when i call
the application.
using SHDocVw;
using System.Runtime.InteropServices;
SHDocVw.InternetExplorer explorer = new SHDocVw.InternetExplorer();
SHDocVw.IWebBrowserApp wb = (SHDocVw.IWebBrowserApp) explorer;
wb.Visible = true;
object noValue = System.Reflection.Missing.Value;
wb.Navigate("about:blank", ref noValue, ref noValue, ref noValue, ref
noValue);
any suggestions or code sample would be appreciate.
thanks in advance
PD: i allready trie changing this line
SHDocVw.InternetExplorer explorer = new SHDocVw.InternetExplorer();
for
SHDocVw.InternetExplorer explorer = new SHDocVw.InternetExplorerClass();
bur it doesn't seem to work either.
with this code but it seems not to work, because nothin happens when i call
the application.
using SHDocVw;
using System.Runtime.InteropServices;
SHDocVw.InternetExplorer explorer = new SHDocVw.InternetExplorer();
SHDocVw.IWebBrowserApp wb = (SHDocVw.IWebBrowserApp) explorer;
wb.Visible = true;
object noValue = System.Reflection.Missing.Value;
wb.Navigate("about:blank", ref noValue, ref noValue, ref noValue, ref
noValue);
any suggestions or code sample would be appreciate.
thanks in advance
PD: i allready trie changing this line
SHDocVw.InternetExplorer explorer = new SHDocVw.InternetExplorer();
for
SHDocVw.InternetExplorer explorer = new SHDocVw.InternetExplorerClass();
bur it doesn't seem to work either.