3

I want use offline msdn documentaton in my application.
Is there api for that ?

Check out similar question How to open .hxs Help files with DExplore.exe?

Community
  • 1
  • 1
diimdeep
  • 1,096
  • 17
  • 27

2 Answers2

4

MS Help 2.x API

MS Help Viewer 1.0 API

Microsoft Help 2.x is a proprietary format for online help files, developed by Microsoft and first released in 2001 as a help system for Visual Studio .NET (2002) and MSDN Library.
It's the help engine used in Microsoft Visual Studio 2002/2003/2005/2008 and Office 2007.

Visual Studio 2010 uses a new help engine, Microsoft Help Viewer

Tools

MS Help 3 Viewer replace the VS 2010 help viewer or run stand-alone.

Visual Studio 2010 Help Downloader for downloading base Visual Studio 2010 MSDN package for offline first installation.

Package This is a GUI tool written in C# for creating help files (.chm and .hxs) from the content obtained from the MSDN Library (MSHelp 2.0)

diimdeep
  • 1,096
  • 17
  • 27
2

AFAIK the API documentation is built on HelpPane which is built into current versions of Windows. The interaction with it is based on a COM interface and URL for topics etc.

To interact via your own SW with HelpPane add a reference to C:\Windows\System32\HelpPaneProxy.dll to the project then you can use the HelpPane like this

HxHelpPane pHelpPane = new HxHelpPane(); 
pHelpPane.DisplayTask("mshelp://windows/?id=e725b43f-94e4-4410-98e7-cc87ab2739aa");

After installing MSDN locally you should be able to see which local URLs are in use...

Further references:

Yahia
  • 69,653
  • 9
  • 115
  • 144
  • I think this is obsolete – diimdeep Nov 17 '11 at 10:17
  • @diimdeep glad that you found what you were looking for... for others to profit from your findings the right way here on SO would be that you post your findings not inside your question but as an answer... – Yahia Nov 17 '11 at 10:20
  • > Users with less than 100 reputation can't answer their own question for 8 hours after asking. You may self-answer in 6 hours. Until then please use comments, or edit your question instead. – diimdeep Nov 17 '11 at 10:24
  • @diimdeep I didn't check on reputation for doing so... – Yahia Nov 17 '11 at 10:25