Solved

Add shortcut to desktop code

Posted on 2006-07-13
4
387 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
  • 2
  • 2
4 Comments
 
LVL 10

Accepted Solution

by:
0h4crying0utloud earned 500 total points
Comment Utility


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
Comment Utility
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
Comment Utility

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
Comment Utility
ok - thanks - i'll leave this Q open for a while and see what comes in - thanks again
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
updateParent() HTML Javascript 21 59
Hovering effect 9 28
Change properties of a dialog box 1 19
Different Delete Messages 7 10
Introduction HTML checkboxes provide the perfect way for a web developer to receive client input when the client's options might be none, one or many.  But the PHP code for processing the checkboxes can be confusing at first.  What if a checkbox is…
Boost your ability to deliver ambitious and competitive web apps by choosing the right JavaScript framework to best suit your project’s needs.
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…

772 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now