Distance logo

Distance Developers Guide

How to build documents and images

Jump down to:

Find out tool versions

Axialis IconWorkshop:

ComponentOne Doc-To-Help:

Microsoft Word

Microsoft PowerPoint

Microsoft PhotoDraw:


Edit text files

Text files used in Distance include:

Edit text files with WordPad, not Microsoft Word - Word adds extra characters that can mess up the formatting of the files.

To edit a file in WordPad:


Edit Distance icon


Copy Distance icon for use in Visual Basic and release

Copy %BASE%Extras\Graphics\Icons\DISTANCE_ICON_FILE.ico (for example %BASE%Extras\Graphics\Icons\DistanceProject2.ico) to %BASE%\Interface\Main\Graphics - Misc and General\DistanceProject.ico


Create splash screen for new version


Copy splash screen for use in Visual Basic and release

Copy %BASE%Extras\Graphics\Splash\DMNbetaR.jpg or %BASE%Extras\Graphics\Splash\DMNreleaseR.jpg to %BASE%\Interface\Help\DistanceLogo.jpg, where M is the major version number, N is the minor version number, R an (optional) release number.


Update user guide version number


Build HTML Help


Copy HTML Help for use in Visual Basic and release


Build HTML Help from command prompt

chdir %BASE%Extras\External Documentation\Documents

"C:\Program Files\ComponentOne\DocToHelp\C1D2HBatch.exe" -build distance.d2h "distance HTML Help"

Update title slide with splash screen


Build title page image


Build user guide


Build user guide from command prompt

chdir %BASE%Extras\External Documentation\Documents

"C:\Program Files\ComponentOne\DocToHelp\C1D2HBatch.exe" -build distance.d2h "distance Manual"

Add title page image to user guide


Build user guide PDF


Build user guide PDF from command prompt

Note that using this approach results in non-hyperlinked cross-references.

This assumes that:

chdir %BASE%Extras\External Documentation\Documents\Manual\

start /WAIT "" "C:\Program Files\Microsoft Office 2003\OFFICE11\winword.exe" distance-master.doc /q /n /mFilePrintDefault /mFileSave /mFileExit 

move "%userprofile%\My Documents\distance-master.pdf" %BASE%Extras\External Documentation\Documents\Manual\

Copy user guide PDF for use in Visual Basic and release