Helper to use instead ReadAllText when using UI open operations. This dialog uses most permissive READ permissions and also captures errors and displays a MessageBox on failure.

Recommended use for interactive file open operations initiated of menus and toolbuttons.

public static string OpenTextFile(string filename)



See also:

Class mmFileUtils

© West Wind Technologies, 2016-2022 • Updated: 11/23/21
Comment or report problem with topic