PC Review


Reply
Thread Tools Rate Thread

How to add help support to CF application?

 
 
jerry way
Guest
Posts: n/a
 
      21st Sep 2003
Does anyone know how to add help system support to an
application designed for .Net compact framework? Seems
like help-related classes like Help, HelpProvider and
HelpNavigator are not supported by compact framework. Does
it mean I have to design a customized help system from
groud up?

Any suggetions will be appreciated!
 
Reply With Quote
 
 
 
 
Peter Foot [MVP]
Guest
Posts: n/a
 
      21st Sep 2003
You can use the existing Windows CE help system. The "missing-link" is that
there is no direct support to open your help file from your application.
However you can P/Invoke (Platform Invoke) the CreateProcess API call and
launch the help engine (peghelp.exe) with your filename as an argument. I
would suggest using the OpenNETCF WinAPI library which contains a ready-made
P/Invoke for CreateProcess which you would use like so:-

Core.CreateProcess("peghelp.exe", "myhelp.htm#gettingstarted");

Note that you can define topics which are addressed as anchor points within
the file. The help file format is essentially HTML but with some additional
tags to support breaking the topics into separate pages. There is a very
useful article here which describes the Windows CE HTML Help format:-
http://msdn.microsoft.com/library/de.../wincehelp.asp

You can also look at the source to one of the system help files e.g.
soltr.htm for the solitaire help file.

Peter

--
Peter Foot
Windows Embedded MVP

www.inthehand.com | www.opennetcf.org

"jerry way" <(E-Mail Removed)> wrote in message
news:00a601c37ff6$007f7020$(E-Mail Removed)...
> Does anyone know how to add help system support to an
> application designed for .Net compact framework? Seems
> like help-related classes like Help, HelpProvider and
> HelpNavigator are not supported by compact framework. Does
> it mean I have to design a customized help system from
> groud up?
>
> Any suggetions will be appreciated!



 
Reply With Quote
 
Christos Chorattides
Guest
Posts: n/a
 
      27th Sep 2003

I quote from Microsoft's "Designed for Windows Mobile handbook".

... Applications that provide help files on the device are required to
register their help system with the Pocket PC's Help System Table of
Contents, so that users have one entry point for help on all installed
applications. This requires that all help content is authored in HTML
format...

This may give you a lead.

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
win16 application support Ernie Werbel Windows Vista General Discussion 2 24th Jun 2007 06:29 AM
Application support =?Utf-8?B?Q1M=?= Windows Vista Installation 1 28th Sep 2006 09:13 PM
Application Addin Support =?Utf-8?B?SmFrZQ==?= Microsoft Dot NET 1 29th Sep 2005 04:02 AM
application support Christian Théroux Microsoft Windows 2000 Applications 0 7th Jun 2005 09:48 PM
application support Christian Théroux Windows XP General 0 7th Jun 2005 09:48 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:45 PM.