Does anyone know how to.....

..create a javascript or other coding (e.g. C+ etc) , that will allow me
to OPEN a .bmp file from a hyperlink in a html page in a browser (IE and
Netscape only required), direct into: Microsoft Paint (paint.exe for Win
2000/XP) or Microsoft Paintbrush (pbrush.exe for 9x -ME) depending on
the users operating system

I need the single mouse click on the hyperlink to determine which
operating system is current (Windows versions only), which will then
identify the appropriate .exe file (paint.exe or pbrush.exe), which will
then open the .bmp file direct into the application for editing (e.g.
colouring in).

At present, such a hyperlink only opens the browser image editor by
default. I wish to bypass this totally. I also wish to bypass any
default associations that Windows may have set for .bmp files i.e. some
other image editing programs.

Can anyone help me by sharing their wisdom and knowledge with me please.

Terry

 -------------------------------
 This email message and any attachment(s) is intended only for the 
 person(s) or entity(entities) to whom it is addressed. The 
 information it contains may be classified as IN CONFIDENCE and may be
 legally privileged. If you are not the intended recipient any use,
 disclosure or copying of the message or attachment(s) is strictly 
 prohibited. If you have received this message in error please 
 notify us immediately and destroy it and any attachment(s).
 Thank you. The Ministry of Social Development accepts no
 responsibility for changes made to this message or to any
 attachment(s) after transmission from the Ministry.
 -------------------------------

Received on Friday, 6 June 2003 00:53:55 UTC