Groups | Blog | Home
all groups > dotnet compact framework > february 2006 >

dotnet compact framework : how to programatically open and close IE ??


Paul G. Tobey [eMVP]
2/13/2006 9:33:45 AM
Open is easy. P/Invoke CreateProcess. You'll find dozens of times this
question has been answered in the archives. You can send a WM_CLOSE to the
IE main window to close it. Why do you want to do that?

By the way, you've not said what version of the OS, what type of device,
etc...

Paul T.

[quoted text, click to view]

Chris Tacke, MVP
2/13/2006 11:35:04 AM
Look at the Process class.

-Chris


[quoted text, click to view]

Dickson
2/14/2006 12:14:04 AM
how to programatically open and close Internet Explorer in compact
framework??

Paul G. Tobey [eMVP]
2/14/2006 8:55:32 AM
Well, *you* can add the IE control to your own code. I've never done this
with .NET CF, but you can use the Web browser support in OpenNETCF. In that
case, the report display is just another window in your application and you
should be able to show the data that you want.

Paul T.

[quoted text, click to view]

Dickson
2/14/2006 7:42:38 PM
I generate the report in html file and the data is store in SQLCE and I
display the html report in IE inside Pocket PC 2003. But the IE always use
the cache data and I need to stop the IE process in system memory before
dsplay the html report. Do you know any reporting tool that can be display
in Pocket PC2003? Thanks.

"Paul G. Tobey [eMVP]" <ptobey no spam AT no instrument no spam DOT com>
[quoted text, click to view]

AddThis Social Bookmark Button