Hi, I'd like to create my own Help 2.0 viewer in VB.NET code.
Until now, I've discovered that there is the VsHelp COM component that can
be added as a new reference in a project for interfacing with Help 2.0.
If I use the following code (assuming there is a CommandButton placed onto a
form):
Private Sub Button4_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button4.Click
DispHelp("ms-help://MS.VSCC.2003/MS.MSDNQTR.2003APR.1033/vsintro7/html/vxori
WhatsNewInVisualStudio.htm")
End Sub
Private Sub DispHelp(ByVal Url As String)
Dim h As New VsHelp.DExploreAppObjClass
h.SetCollection("ms-help://ms.vscc.2003", "")
h.DisplayTopicFromURL(Url)
h.SyncContents(Url)
End Sub
I'm able to see the requested page in a new instance of DExplore.
But I'd like to create a browser window inside my project, that could show
TOC and help content...
Any idea or suggestion about it?
Thanks,
Progalex
|