Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Home grown favorites

Posted on 2004-10-23
7
Medium Priority
?
206 Views
Last Modified: 2010-04-05

Within chm help for the platform SDK you can add a topic to favorites .. this ends up going to C:\Documents and Settings\Mutley2003\Favorites (under XP)
with an entry like
ms-help://MS.PSDK.1033/fileio/base/findfirstchangenotification.htm

two questions

1. How do I build a chm file so that it will allow adding favorites

2. If I want to add favorites from my Delphi app that are NOT web urls or locations within a chm file, how could I do it. Say for example that I had a database of code snippets

how could I do
MyCodeSnippets://whateverThisIs/someTopicGroup/SomeKeyword
ie add that to C:\Documents and Settings\Mutley2003\Favorites
and have a click on that (eg from Explorer or IE) invoke my app and do nice lookup stuff?


0
Comment
Question by:Mutley2003
[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
  • 5
  • 2
7 Comments
 
LVL 7

Expert Comment

by:DavidBirch2dotCom
ID: 12413722
hum... nobody  seems to know.... well here are some intersting links on this topic which might help

http://www.west-wind.com/wwHelp/docs/_031011KAJ.htm
http://cwashington.netreach.net/depo/view.asp?Index=949&ScriptType=vbscript
http://www.freewarehome.com/Programming/Help_File_Tools_p.html

if you already have a .chm help file - make it HTML friendly with this -
http://chm2web.aklabs.com/

http://www.paperkiller.com/
http://www.thefreecountry.com/programming/helpauthoring.shtml
http://www.gold-software.com/download3145.html

I think your best bet is to find a free tool to create a .chm file then use the above link to make it HTML friendly

sorry I cant be of more assistance

David
0
 

Author Comment

by:Mutley2003
ID: 12418540
hmm, well thanks for all that chm info but I don't think I yet know

a) how to build a chm file that will allow adding favorites.

however the west-wind link above says
"
Help 2.0 is Microsoft's developer help engine that is used for MSDN and Visual Studio. It has a separate viewer. Help 2.0 does not have real desktop help engine support as CHM does, so it's not really meant for end user documentation although you can make it do that if you really want to. Help 2.0 requires that the MSDN viewer is installed. This help format is primarily meant for developer documentation that needs to plug into MSDN or Visual Studio .NET. Installing Help 2.0 files requires registration and some external tools which makes distributing these files somewhat difficult.
"

so it may be that we simply cannot do what I want with html help 1.. the standard chm.

b) it remains an open question as to whether I can do

"MyCodeSnippets://whateverThisIs/someTopicGroup/SomeKeyword
ie add that to C:\Documents and Settings\Mutley2003\Favorites


this looks rather like pluggable protocols, see

http://www.euromind.com/iedelphi/toolbox/ierestool.htm
http://www.devarchive.com/f1076.html
http://website.lineone.net/~doogal/plugprot.htm

these are all IE related, but it is possible to add favorites from Explorer and apparently from other apps - if I knew how
0
 
LVL 7

Expert Comment

by:DavidBirch2dotCom
ID: 12419509
you can initialy create a .chm file with one of the programs on this site
http://www.softpedia.com/public/cat/6/4/6-4-14.shtml

you can then turn that chm file into a HTML help using the below program
http://chm2web.aklabs.com/

you should then be left with something like this
http://chm2web.aklabs.com/help/src/work/tmplbody.htm

which would run in IE, and you could then add to favorites from thier- no plu-ins necessary ... I think when running it localy you might get a URL looking more like MyCodeSnippets://whateverThisIs/someTopicGroup/SomeKeyword

you could then launch that from the delphi application using code from this thread
http://www.experts-exchange.com/Programming/Programming_Languages/Delphi/Q_21023756.html

-------------------------------

to create a URL link:

you will need to find the favorites folder for the default browser and in it you will need to save a file with the extention .URL

the format of the file should be -

[DEFAULT]
BASEURL=http://www.google.com/

[InternetShortcut]
URL=http://www.google.com/
Modified=E0099FC4A6A4C4015B


I am unsure how the modified bit is worked out but the other two seem easy enough :)  the name of the file is what will be shown on the favorites list...

David
0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
LVL 7

Accepted Solution

by:
DavidBirch2dotCom earned 2000 total points
ID: 12420049
this link provides the info you need to create the file
http://www.cyanwerks.com/file-format-url.html

David
0
 
LVL 7

Expert Comment

by:DavidBirch2dotCom
ID: 12421364
0
 

Author Comment

by:Mutley2003
ID: 12430843
ok, I still don't know enough to create my own protocol, but there is some good info there - particularly the URL file format link

thanks
0
 
LVL 7

Expert Comment

by:DavidBirch2dotCom
ID: 12431703
Thanks for the points sorry I couldnt be of more help
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…
Suggested Courses

610 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