PDA

View Full Version : Desktop HTML Link with Logo


shamrin
07-05-2010, 07:13 PM
I want to put an HTML link on customer computers that links to my website. But rather than the icon for the default browser, I want it to show the logo for my company. There must be some simple way to do this but I can't figure it out. I can create a link and then do a "change icon" which points to a .ICO file but I'd rather have just a single self-contained file that I just copy across from a flash drive.

/sch

ATTech
07-05-2010, 07:29 PM
Off the top of my head, I would say you could probably write a tiny visual basic program that packages the icon into a single file, or perhaps a small batch that copies the icon file to whatever directory stores them and creates the shortcut.

RahmTech
07-05-2010, 09:53 PM
Shamrin,

We do the same thing on our customer computers. All you should have to do is create a favicon.ico using your logo, upload it to the / directory of your webpage, visit the webpage, send a link (shortcut) to the desktop and it will automatically set the icon as your new favicon.ico

Chris Rahm
RahmTech Computing
www.rahmtech.com

Xander
07-05-2010, 10:11 PM
You'd have to open that link while there, though. Favicons don't load unless you go to the website.

Edit: Chris, are you manually adding your signature? I have Show Signatures turned off in my options but yours is still showing.

RahmTech
07-05-2010, 10:22 PM
HouseCalls,

Yes you are correct. We go to the webpage and then create the shortcut.

Yes that was manually added. First day on here. Figuring out how things work.

TouchToneTommy
07-05-2010, 10:57 PM
Grab the icon from the site at http://(site)/favicon.ico, right click on it and save image as in My Documents.

Right click on the desktop. New, Shortcut, fill in the URL (or copy and paste from the browser's address line)

Click on Next, and change the name to what you want displayed under the icon.

Now right click on the new icon, Properties, and Change Icon. Browse to where you saved the ico file and select it, OK and OK.

voila'

TekNet
07-05-2010, 11:17 PM
I love a good challenge..

Here's what you do... to get what your looking for...


1. Make sure you got your favicon.ico on your site.
2. Open your site and bookmark it. (IE Method)
3. Open your favorites folder and drag your bookmark onto the desktop...

Voila a new icon with your site url.

TekNet

=-=-=-=-=-=-=-=-=-=-=-=-

ajc196
07-06-2010, 01:56 AM
Is the same icon set as your webpage's icon? If so, you could switch everyone over to Chrome and create a desktop "application shortcut" to your site. :D

http://www.guidingtech.com/1774/desktop-application-shortcuts-google-chrome/

shamrin
07-07-2010, 01:00 AM
You'd have to open that link while there, though. Favicons don't load unless you go to the website.

Edit: Chris, are you manually adding your signature? I have Show Signatures turned off in my options but yours is still showing.

Thanks, I was missing the "and then click on it" bit. Everything is easy once you know the answer :-)

ZPR
07-08-2010, 11:28 PM
just make a nsis installer, those internet shortcuts are just ini files so you can not only include the icon in one file but you can use use the nsis ini functions like this

WriteIniStr "$DESKTOP\file name.url" "InternetShortcut" "URL" "http://www.example.com"
WriteIniStr "$DESKTOP\file name.url" "InternetShortcut" "IconFile" "$PROGRAMFILES\example\Logo.ico"
WriteIniStr "$DESKTOP\file name.url" "InternetShortcut" "IconIndex" "0"

to actually create the short cut