Sound in Help Files

 

 

 

EasyHelp

HTMLHel, HTML Web Help & Windows Help authoring tool available as shareware for free download. A development tool that creates Windows Help files (winhelp) and HTML Help pages from Microsoft Word documents - easily, quickly, effortlessly...

 

A winhelp editor, helpfile compiler & windows htmlhelp (chm file) programming tool

  |  

 

 

Software

 

 

home  |  download  |  tour  |  how to buy |  support |  contact us

 

 

 

 

 

CLICK HERE TO
DOWNLOAD A
FREE TRIAL


EasyHelp
winhelp
htmlhelp
webhelp
pocket pc
pdf & rtf


BUY NOW
PRICES FROM
$299

Books for Authors

 

Sound in Help Files - Version 3 of EasyHelp Only

      Note: Version 4 of Easyhelp is now available

      The new version 4 EasyHelp is a completely new version that does not use Microsoft Word. Instead it is a self-contained Windows help authoring application. Click here to download.

      The new version of EasyHelp produces the formats listed below.

      • HtmlHelp (.CHM)
      • WinHelp (.HLP)
      • Website Help (Webhelp)
      • Printable Manuals (RTF files) suitable for MS Word
      • PDF (Adobe Acrobat)
      • Pocket PC Help

      Download the Trial Version Now

Below only applies to the old version 3 of EasyHelp/Web.

To run sound files in Help files.

1. Create a project macro to register the routine:

Sound=RegisterRoutine("mmsystem.dll", "sndPlaySound","Su")

2. Then add a hotspot macro to call the following:

sndPlaySound(`myfile.wav', 0)

where myfile.wav is the name of a wav file somewhere in the current path setting (ie can be in the same place as the .hlp file or can be in \windows directory)

SndPlaySound only plays wave files, not midi. This command cannot be interrupted before the file is finished playing. Use 1 instead of 0 to allow jumps while file is still playing. It will continue to play until done.

Another method is to use mci string commands:

RegisterRoutine("mmsystem.dll","mciSendString","SSuu")

mciSendString("play myfile.wav"," ", 0, 0)

This can play midi files too and allows jumps whilst the file is playing.

Use "play xxx.wav wait" to prevent interruptions.

Note second parameter must be " ", not "" - you need one space in there.

 

 

 

Sound in Help Files

 

 

 

home  contact us

 

Copyright © 1993-2006 Eon Solutions