473,323 Members | 1,551 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,323 software developers and data experts.

ActiveX object and IEXPLORE.EXE process...

Hi all,

I recently posted about an issue I was having which no-one could help
with, but I have researched some more and have discovered something
very strange...

I have a C# dll in the GAC and registered for COM Interop. This I know
for sure has no memory leaks etc. as a simple test page can load, use
and then dispose of the object without a problem.

However I have a more complicated solution to add this to, and using
the same code as my test page it stops the iexplore.exe process from
ending under certain circumstances. The solution in question creates
and opens a new window of set size, no title bar etc. which houses a
frameset, which in turn has iframes. Now if I leave the original window
open the process will finish perfectly, on the other hand if I shut the
original window and submit a post on an iframe the process will not end
without help from task manager when Internet Explorer is closed!

It seems very weird that simply submitting the iframe causes this
issue. All the submit does is change the iframe to a webpage containing
one line of text, nothing else. Can the creation of the ActiveX object
after the iframe submit try and attach to the original (parent) window?
Is there a handle left over that causes the process to halt? Or is it
nothing to so with the iframe submit?!

Any help / insight would be great as I have spent ages on this to no
avail.

Thanks, Simon

Jan 16 '06 #1
1 3120
Simon wrote:
I recently posted about an issue I was having which no-one could help
with,
Maybe nobody understood your problem due to insufficient description, or
nobody cared?
but I have researched some more and have discovered something
very strange...
It would (have )be(en) prudent if you posted the message-ID of
the thread you are referring to or simply continued that thread.
[...]
However I have a more complicated solution to add this to, and using
the same code as my test page it stops the iexplore.exe process from
ending under certain circumstances. The solution in question creates
and opens a new window of set size, no title bar etc. which houses a
frameset, which in turn has iframes. Now if I leave the original window
open the process will finish perfectly, on the other hand if I shut the
original window and submit a post on an iframe the process will not end
without help from task manager when Internet Explorer is closed!
[...]
Can the creation of the ActiveX object after the iframe submit try and
attach to the original (parent) window?


ISTM that is rather a problem of trying to display a response to a form
submit in a window that no longer exists.

Apart from that, I am sorry, I fail to see the relevance to JS/ECMAScript
programming. Browser windows can be opened in a number of ways as can
ActiveX/COM objects be created and forms be submitted.

If you would be more specific, including post /some/ snippets of code or
the public URI of a test case, maybe that could help others to help you.
Otherwise you should post to a group that deals explicitly with Internet
Explorer and ActiveX/COM programming.
PointedEars
Jan 16 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
by: AnalogKid | last post by:
Short question: What's the difference between SingleUse and MultiUse ? Long question: I've been writing some sample code to see how different Instancing values and threading models work. I...
10
by: Vilmar Brazão de Oliveira | last post by:
HI people, what is wrong in the code bellow to kill iexplore.exe process after processing my page?? '»»Before comes routines to access data base and to send email. Set objWshell =...
1
by: mjcast | last post by:
I have been working on an ActiveX control in C#. It is packaged in a Windows Control library and the code is in a user control. The control is used as an automation receiver that is used to update a...
2
by: Berata | last post by:
Hello all, in VB6 we were able to create ActiveX-DLL's (In Process Components) and ActiveX-Exe's (Out of Process Components). We habe build up an application that exists of an main module...
3
by: Brett | last post by:
Do ActiveX objects run in their own process or app domain? Referecing this article http://www.codeproject.com/buglist/iefix.asp, he gets events from ActiveX object to his IE object via...
4
by: FanTian | last post by:
I want to insert an ActiveX control into asp .net web page, but it seems I fall in trouble now. When I insert the ocx control into toolbox and drag it to the web page, I can't get its ID. and if I...
5
by: mikez | last post by:
Hi, We recently built a very basic file management system for a client in Access 2003 (to use with incoming tif scans). In it we used Microsoft's Document Imaging activex viewer (from Office...
6
by: fantum | last post by:
I have created a small activex dll to do a background task on my web server. I fire it off with a set myjob = server.createobject(myactivex) and it runs. I do not do a set myjob = nothing and so...
1
by: Adam Clauss | last post by:
We have created an ActiveX control (a series of them actually) which can be loaded into Internet Explorer and accessed via Javascript using the techniques described here:...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

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.