Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3368: Cannot modify header information - headers already sent by (output started at /includes/bbcode.php:472)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3370: Cannot modify header information - headers already sent by (output started at /includes/bbcode.php:472)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3371: Cannot modify header information - headers already sent by (output started at /includes/bbcode.php:472)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3372: Cannot modify header information - headers already sent by (output started at /includes/bbcode.php:472)
OrbWorks Community Forum • View topic - Adding Help

Adding Help

Discuss PocketC for CE (including Desktop Edition)

Postby mheyman on Mon Jun 25, 2001 8:25 pm

How do I add help to my PocketC apps?
--= Marty Heyman
mheyman
 
Posts: 3
Joined: Sat Jun 23, 2001 1:52 am
Location: USA

Postby Justinespinosa on Tue Jun 26, 2001 5:47 am

take a look here:

http://www.orbworks.com/forum2/viewtopi ... dows+CE+OS

J.Espinosa

OUTS Softwares
J.Espinosa

OUTS Softwares
Justinespinosa
 
Posts: 156
Joined: Wed Dec 06, 2000 2:30 pm
Location: Switzerland

Postby guy on Tue Jun 26, 2001 7:16 am

Once you have your help file (say "MyHelp.htp") in the \Windows folder, you call up the help from PocketC with the code:

exec("open", "peghelp.exe", "file:MyHelp.htp#Main_Contents") ;

You must have a Main_Contents section in your help file.


Guy


Edited by - guy on 06/26/2001 02:17:30
Guy
[url]mailto:pcform@pcform.net[/url]
http://www.pcform.net
PocketC CE API interface: http://www.networkdynamics.net/PCForm.html#library
PCForm and CE API forum: http://www.networkdynamics.net/forum
guy
 
Posts: 879
Joined: Thu Dec 07, 2000 8:58 am
Location: United Kingdom

Postby guy on Tue Jun 26, 2001 7:42 am

Here is a sample help file:

<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>
<html>
<head>
<!-- Change the file name in the following two meta tags -->
<!-- These two lines are essential to work with all versions of help -->
<meta http-equiv="Content-Type" Content="template.htp#MAIN_CONTENTS">
<meta http-equiv="Htm-Help" Content="template.htp#MAIN_CONTENTS">
<title>Template help file</title>
</head>
<body>
<!-- PegHelp -->

<!-- The main section of the help file must be named MAIN_CONTENTS -->

<a name="MAIN_CONTENTS"></a>
<h1>Help for template</h1>
<a href="template.htp#overview">Overview</a><br>
<a href="template.htp#reference">Reference section</a><br>
<a href="template.htp#release">Release notes</a><br>
<!-- Note that all links have to include the file name of the help file -->
<!- The PegHelp line at the end of each section is required, note the hr tag at the end -->
<!-- PegHelp --><hr>

<a name="overview"></a>
<h2>Overview</h2>
<p>
This is a template help file. You need to edit it to turn it into a real help file. Ensure that you change all of the references to <b>template</b> into the name of your help file.
</p>
<p>
Each section starts with an HTML anchor tag to name the section. Use this tag in the links to the section. You <b>must</b> include the name of the help file in the link.
</p>
<p>
Note that each section ends with a line containing the word <b>PegHelp</b>. This is essential it tells the help program where each section ends. Although it looks like an HTML comment line, it isn't.
</p>
<!-- PegHelp --><hr>

<a name="reference"></a>
<h2>Reference section</h2>
<a href="template.htp#ref1">First reference stuff</a><br>
<a href="template.htp#ref2">Second reference stuff</a><br>
<a href="template.htp#ref3">Third reference stuff</a><br>
<!-- PegHelp --><hr>

<a name="ref1"></a>
<h3>First reference stuff</h3>
<p>
This is the first lot of useful reference information.
</p>
<!-- PegHelp --><hr>

<a name="ref2"></a>
<h3>Second reference stuff</h3>
<p>
This is another lot of useful reference information.
</p>
<!-- PegHelp --><hr>

<a name="ref3"></a>
<h3>Third reference stuff</h3>
<p>
This is yet more useful reference information.
</p>
<!-- PegHelp --><hr>

<a name="release"></a>
<h2>Release notes V1.0</h2>
<p>
This is the first version of the template help file.
</p>
<!-- PegHelp --><hr>

</body>
</html>

<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>


Guy
Guy
[url]mailto:pcform@pcform.net[/url]
http://www.pcform.net
PocketC CE API interface: http://www.networkdynamics.net/PCForm.html#library
PCForm and CE API forum: http://www.networkdynamics.net/forum
guy
 
Posts: 879
Joined: Thu Dec 07, 2000 8:58 am
Location: United Kingdom

Postby guy on Thu Jun 28, 2001 7:48 am

Additionally, if you add a shortcut in the \Windows\Help folder to the help file then the help will appear on the main help menu of the device (except on old CE2.0 and earlier machines).


Guy
Guy
[url]mailto:pcform@pcform.net[/url]
http://www.pcform.net
PocketC CE API interface: http://www.networkdynamics.net/PCForm.html#library
PCForm and CE API forum: http://www.networkdynamics.net/forum
guy
 
Posts: 879
Joined: Thu Dec 07, 2000 8:58 am
Location: United Kingdom


Return to PocketC for CE

Who is online

Users browsing this forum: No registered users and 3 guests

cron