How to find out the result of System.Window.Forms.Help.ShowHelp

Does anyone know how to capture the result of calling System.Window.Forms.Help.ShowHelp , for example, regardless of whether it finds the file and the file has the correct format, and the window starts up successfully.

From the Microsoft documentation at MSDN , apparently, it returns nothing and does not cause any exception!

+7
source share
1 answer

No, to some extent, where there is no way to get the result of this method in some "standard" way. Before calling this method, you must check for the presence of the file / link. It will throw an ArgumentException only on null input.

+1
source

All Articles