Solved

Add shortcut to desktop code

Posted on 2006-07-13
4
391 Views
Last Modified: 2008-02-01
hi

i am look for code that will place a desktop shortcut to a webpage.

i would like to offer our customers a link that they can click on which will then add a desktop shortcut to their pcs to our home page with a customized icon.

can anyone help?

thanks
0
Comment
Question by:naifyboy123
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 10

Accepted Solution

by:
0h4crying0utloud earned 500 total points
ID: 17102459


I'm pretty sure that cannot be done for security reasons (if you could do that, you could also do a lot of other bad things).  

But  one alternative solution would be to make an img link that looks just like a desktop shortcut on your page and ask them to drag the shortcut icon to their desktop. This would create a similar looking icon right on their desktop and that requires no fancy coding.

0
 

Author Comment

by:naifyboy123
ID: 17102672
i was thinking of the same kind of functionality as an "add to favorites" link.

i already have one of these as wanted to add the desktop shorthcut option as well.
0
 
LVL 10

Expert Comment

by:0h4crying0utloud
ID: 17102881

that's right but there's a big difference between adding to favorites and adding to the desktop.  

to add to the desktop you really have to create file on end user's c drive and that's a big no no.

Unlike the favorites, there is no convenient javascript method to do this.


0
 

Author Comment

by:naifyboy123
ID: 17103133
ok - thanks - i'll leave this Q open for a while and see what comes in - thanks again
0

Featured Post

Secure Your Active Directory - April 20, 2017

Active Directory plays a critical role in your company’s IT infrastructure and keeping it secure in today’s hacker-infested world is a must.
Microsoft published 300+ pages of guidance, but who has the time, money, and resources to implement? Register now to find an easier way.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Avoid defining the variables in the global scope; trying to define them in a local function scope. Because:   • Look-up is performed every time a variable is accessed.   • Variables are resolved backwards from most specific to least specific scope…
This article discusses how to create an extensible mechanism for linked drop downs.
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

749 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question