Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #17379
| From | Cezary Tomczyk <cezary.tomczyk@gmail.com> |
|---|---|
| Newsgroups | comp.lang.javascript |
| Subject | Re: Refreshing ActiveX controls |
| Date | 2012-11-29 21:36 +0100 |
| Organization | Aioe.org NNTP Server |
| Message-ID | <k98h0r$g5b$1@speranza.aioe.org> (permalink) |
| References | <k97pll$gnv$1@speranza.aioe.org> <1463591.kyDlKFe50m@PointedEars.de> |
W dniu 2012-11-29 17:42, Thomas 'PointedEars' Lahn pisze:
> Cezary Tomczyk wrote:
>
>> Any idea how to refresh ActiveX controls without restarting IE? (or
>> probably any browser that support ActiveX).
>
> Several. Depends on what *exactly* you are looking for.
I'll try do describe it how it works in steps:
1. The user goes to the requested page. Let's say http://www.test.com/
2. I check if user has already installed required external software.
This software has a specified "ProgID" and ActiveX Class ID.
Short code:
var found, obj;
if (typeof window.ActiveXObject !== 'undefined') {
try {
obj = new window.ActiveXObject('here is full ProgID');
found = typeof obj !== 'undefined';
} catch (e) {
}
}
3. If "found" is true then this means that required external software is
installed and user will be moved to the next step. If not then I
triggering download process and must wait for end of installation.
External software will do all necessary changes inside ActiveX after
installation is complete.
Now, I check every n seconds (using setTimeout instead of setInterval)
if required software is already installed. I can not check required
"ProgID" until I restart manually Internet Explorer. That's the problem.
All I want is to refresh ActiveX list of all Controls and read required
data from ActiveX (check if required "control" is already installed)
without restart Internet Explorer.
--
Cezary Tomczyk
http://www.ctomczyk.pl/
Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Refreshing ActiveX controls Cezary Tomczyk <cezary.tomczyk@gmail.com> - 2012-11-29 14:58 +0100
Re: Refreshing ActiveX controls Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2012-11-29 17:42 +0100
Re: Refreshing ActiveX controls Cezary Tomczyk <cezary.tomczyk@gmail.com> - 2012-11-29 21:36 +0100
Re: Refreshing ActiveX controls Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2012-11-29 23:20 +0100
Re: Refreshing ActiveX controls Cezary Tomczyk <cezary.tomczyk@gmail.com> - 2012-11-30 00:27 +0100
Re: Refreshing ActiveX controls Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2012-12-01 16:42 +0100
Re: Refreshing ActiveX controls JJ <jaejunks@glegooilma-swapit.com> - 2012-11-29 23:37 +0000
Re: Refreshing ActiveX controls Cezary Tomczyk <cezary.tomczyk@gmail.com> - 2012-11-30 00:53 +0100
Re: Refreshing ActiveX controls JJ <jaejunks@glegooilma-swapit.com> - 2012-12-01 06:36 +0000
Re: Refreshing ActiveX controls Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2012-12-01 17:12 +0100
csiph-web