c# - how to use an associated file with the exe -
i want know how information file path file if open file this:
want info file when open file using program.
i have tried use openfiledialog, works, that's slow, , doesn't nice.
so, little more clear, mean when open file explorer, or similar.
in program.cs can change static void main() static void main(string[] args)
in args getting parameters used @ start of program. when connecting .ex exe (set exe default *.ex), args containing path file, gets double clicked.
you take @ msdn article.
Comments
Post a Comment