Hi!
I'm using C# as script to launch an IE windows using the Interop SHDocVw.dll's ShellWindowsClass.Navigate(...) function. Now I want the
1. newly launched window to be opened maximized.
and
2. If this window is minimized then restore it.
Is there any class in Interop SHDocVw.dll, through which I can achieve this?
Presently the opening behaviour is not certain,sometimes it opens as expected,but other times new IE window gets created but remains minmized.
Also in a normal C# program this is achievable using 'User32.dll''s ShowWindow(..,..) function, but when I try to use this in my script I get syntex error at [DllImport.....].
can someone help me.
thanks in advance.
regards.
KT.