V
VK
rf said:I tried. I really did. I spent a whole five minutes trying to figure out
what you are talking about.
I failed.
Attempt #4
1. There is a family of GUI-based OS called "Microsoft Windows".
2. The following members of this family are currently in a more-or-less
significant use :
Windows 98
Windows NT
Windows 2000
Windows ME
Windows XP
3. Each and every of these members able to display FileOpen and
FileSaveAs dialogs. These dialogs are rather different from one member
to another but they are always presented. (Quick proof: on any Windows
choose Start > Run > Browse...)
4. There is a browser called "Microsoft Internet Explorer".
5. Starting from the version 5 at least it allows you to access system
resources using new ActiveXObject(...) call.
NB: Naturally it involves security considerations, but I'm talking
about technical issues now.
6. It would be nice to use ActiveXObject to call say native FileOpen
dialog and to get the user input into your JavaScript program.
7. On Windows XP you can do it by using the OCX control mentioned in
the OP's post.
8. Unfortunately this OCX control is presented only on particular
installations of Windows XP (with Visual Studio) or this OCX control
has to be destributed on each machine of question wich is not always an
option - and plus you have to pay to Microsoft for that.
9. The paragraph 2. of this text lists all Windows family members I'd
like to support - meaning I'd like to display system FileOpen dialog
w/o additional software installation on each involved machine, using
only ActiveXObject(SomeThing) and SomeThing.somePropertyOrMethod.
10. I came to the (possibly wrong) conclusion that paragraph 9. is not
doable for the set of OS listed in the paragraph 2.
- unless some semi-hacking methods implemented like calling Microsoft
Office application dialogs.