We help IT Professionals succeed at work.

We've partnered with Certified Experts, Carl Webster and Richard Faulkner, to bring you two Citrix podcasts. Learn about 2020 trends and get answers to your biggest Citrix questions!Listen Now

x

Create Icons on the Windows-Desktop with Java-Script

corsin
corsin asked
on
Medium Priority
183 Views
Last Modified: 2008-03-06
Hi everybody

I'm looking for a tool or a tip for the following function:

when i click a button on my html-page, a routine must create a icon on the win'95-desktop with the relationship to the right Word-Document. Does anybody know how i can realise it???

Greetings from Switzerland

Corsin
Comment
Watch Question

Commented:
If I understand you right you want to have shortcut or
just run World and open document in it and minimize
it's window?

I think there is no way to do this, by security
reasons, to create icon you need to access local HDD
(actually you want to have icon on desctop, that mean you want
to create shortcut file in desctop folder)
No one browser would allow this from HTML
Java or JavaScript loaded from the net.

The only allowed thing is a link (or button)
to file with extension associated to World
<A HREF="somefile.doc">
Netscape will launch application associated with this
extension, but ask user to confirm this action
And you have no way to control World (minimize it).

May be something is possible with Acive-x, but
sorry it will work in MIE only. But I'm not sure for this.

On other hand www is platform independent thing
(or at least pretendent to be)
and action you want to do is platform dependent, one
more argument why it can't be supported.

So direct answer: It's impossible (sorry not one you want to hear)
And good advise, do not try to do such things, even if you
will find way to do it in some browser, that will mean you
find security bug, and it will be patched soon.

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts

Author

Commented:
Thanx a lot...

Author

Commented:
Thanx a lot...

Author

Commented:
Thanx a lot...

Author

Commented:
kollegov: MSIE is our standard in the company, so do you think I can realise it with ACITVEX?????


Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.