missing help file

S

Steven Smith

after packaging and installation my compiled help file
will not load on .click

it works fine both in the runtime environment in the ide
and also when my app has been built as a standard exe

the code on my click procedure is as follows:
Help.ShowHelp(Me, "HELP\Help.chm")

which will by default check the bin directory in the
soloution folder for the file

however after running the setup and installation the .chm
will not run. I've added all the project output groups
to the setup build and also included the .chm to the
build as an additional file - this is deployed as I would
expect in the installation direcory.

how can I point the help.ShowHelp method to the
installation directory regardless of what the path may
be ? or am I just thinking about this the wrong way
perhaps there's another solution
 
H

Herfried K. Wagner [MVP]

* "Steven Smith said:
after packaging and installation my compiled help file
will not load on .click

it works fine both in the runtime environment in the ide
and also when my app has been built as a standard exe

the code on my click procedure is as follows:

Help.ShowHelp(Me, "HELP\Help.chm")

which will by default check the bin directory in the
soloution folder for the file

however after running the setup and installation the .chm
will not run. I've added all the project output groups
to the setup build and also included the .chm to the
build as an additional file - this is deployed as I would
expect in the installation direcory.

how can I point the help.ShowHelp method to the
installation directory regardless of what the path may
be ? or am I just thinking about this the wrong way
perhaps there's another solution

\\\
Imports System.IO
Imports System.Reflection
..
..
..
Private Function ApplicationPath() As String
Return _
Path.GetDirectoryName([Assembly].GetExecutingAssembly().Location)
End Function
///

The function above will return the path of the application.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top