Creating HTML Help

Using Images

If you want to insert images into your HTML Help program (which is very likely!), you need to follow these steps:

1) Save the image in the image directory.
2) Add the file to your project by clicking the Add/Remove Files icon on the Project Tab
3) Add the html below in the HTML file where you want to display the image, modifying it to your needs:

<img src="..\images\imagename.gif" alt="Tooltip Text Here">

We use the .. to tell the compiler to go up a folder, as the HTML file will be in the html directory:

Path Current Folder
  root\html
.. root
..\images root\images

4) Save and compile your HTML Help file.

You might also like...

Comments

About the author

James Crowley

James Crowley United Kingdom

James first started this website when learning Visual Basic back in 1999 whilst studying his GCSEs. The site grew steadily over the years while being run as a hobby - to a regular monthly audien...

Interested in writing for us? Find out more.

Contribute

Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“If debugging is the process of removing software bugs, then programming must be the process of putting them in.” - Edsger Dijkstra