c# - Can't open windows 7 help files standalone -
In Windows 7, if I play a game like Minesweeper or Mahjong Titans, select "Help" from the game menu. Get a standalone help window, from which I can go to other topics (probably all support files that come with OS). Note that I have always been selected "offline help", not "online help".
I would like to open these files in C # from a button click program. The problem is, I do not know where these files are stored, or even with which extension.
When I have a standalone help window, Task Manager lists the process as "HelpPane.exe" which is located in C: \ Windows if I double click on HelpPane.exe If I try, nothing happens.
If I right-click on the Help window and choose "View view", then I think that this is basically a web page. An example is & lt; Body & gt; The tag is:
Can I access mshelp: // windows / ... from the C # program? Or is there another way I have to do? HelpPan.exe is out of the process COM server you can activate it and make it your C # program Can easily display content in To get started, add project + reference and select c: \ windows \ helppane.exe. This creates an interop library from the embedded COM type library in the helppane.exe generated from the name "Epiclit Helppane". A sample program that displays the Windows Help topic content file: tested on the N-US version of Windows 8.1. There is no real idea that you will have luck with it on Windows 7, I suspect you have to modify the path of the .mshc file. You should definitely have to worry that Microsoft also has no obligation to work on future versions of Windows, this is not an automation interface document. The names of reverse-engineering topics are not clear for various Windows programs, I suspect that you can use MSHLP: // URLs which can inspect the content displayed to you but how stable they are in Windows versions, Finding the Hardest Way To Do You Need Interest MSHC has been mentioned in the authoring tool. & lt; Body helttpe = "toc" helpurl = "mshelp: // windows / tocid = ebd9c148-6e8d-4359-83d5-f4b700ab2f8f" Accessories = "local" lang = "en-US" & gt;
using the system; WinHelp = using APClientHelpPane; Class program {static zero main (string [] arg) {var obj = new WinHelp.HxHelpPaneServer (); String docpath = @ "c: \ windows \ help \ windows \ contentstore \ n-US \ windowsclient.assHC"; Obj.DisplayContents (docpath); }}
Comments
Post a Comment