missing help file

  • Thread starter Thread starter Steven Smith
  • Start date Start date
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
 
* "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.
 
Back
Top