crazytornado
11/02/2009, 01h03
Salamo 3alaykom
We know that every application need‘s help tool, in order to make it easier for our clients, that’s why I think that every developer should know that:
*You have to download “WINCHM” version 3.518
*Create a new project
*Give the title of your project
*Specify the blank folder (emplacement)
When your project is ready
*Click on “build “specify the name but this time it will be .chm “name.chm”
*Click on start
Now you have a help file called “name.chm” ,copy the file and put it in your application debug
Then you have to call it using your application so:
*Open your application in from load of your form put that code:
Private Sub Form1_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
HelpProvider1.HelpNamespace = Application.StartupPath & "\11.chm"
End Sub
And in your stripmenuitem (Ex:in my example its an MDI form) put that code:
Private Sub ContentsToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ContentsToolStripMenuItem.Click
Help.ShowHelp(Me, HelpProvider1.HelpNamespace)
End Sub
NB: Don’t forget to add from the tool box:
- Menustrip
- HelpProvider
Again it’s just an idea the rest is up to you
Good luck every one
We know that every application need‘s help tool, in order to make it easier for our clients, that’s why I think that every developer should know that:
*You have to download “WINCHM” version 3.518
*Create a new project
*Give the title of your project
*Specify the blank folder (emplacement)
When your project is ready
*Click on “build “specify the name but this time it will be .chm “name.chm”
*Click on start
Now you have a help file called “name.chm” ,copy the file and put it in your application debug
Then you have to call it using your application so:
*Open your application in from load of your form put that code:
Private Sub Form1_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
HelpProvider1.HelpNamespace = Application.StartupPath & "\11.chm"
End Sub
And in your stripmenuitem (Ex:in my example its an MDI form) put that code:
Private Sub ContentsToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ContentsToolStripMenuItem.Click
Help.ShowHelp(Me, HelpProvider1.HelpNamespace)
End Sub
NB: Don’t forget to add from the tool box:
- Menustrip
- HelpProvider
Again it’s just an idea the rest is up to you
Good luck every one