473,387 Members | 1,890 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Problem in restoring the minimized IE windows

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.
May 18 '06 #1
0 1261

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: den 2005 | last post by:
Hi everybody, I am problem with restoring data of byte type to be loaded on an Ink object. The data was earlier converted to byte then finally to hexadecimal data and store on a text file. Is...
10
by: Zeljko | last post by:
Hi, I have a form with a tray icon. However, when I minimize the form, it stays visible - not in the task bar (I have showintaskbar property set to false), but in a form of a rectangle sitting...
2
by: Dave Booker | last post by:
I have a Windows form application that I generally run minimized. When a critical event occurs it instantiates another "Alert" form which I want to grab the user focus. In the Alert constructor...
5
by: ray well | last post by:
i need to restore a minimized window whose handle i know, from within a running app. how would i do that? thanks for any help ray
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.