NM, I figured it out.
For those interested, or who might find this useful under an "open file" search,
use System.Diagnost ics.Process.Sta rt(string filepath);
I actually found this by accident, or serendipity...
User Profile
Collapse
-
How to open a file
I'm using C# and I'd like to open a file in the application I have associated with it in windows on a button click event. I have the filepath stored in a string variable. I don't want the fileopen method ( at least I think I don't) just to extract text (which seems to be what most of the help on this subject revolves around). For example, if the string I have stored in the filePath variable is C:\csharpiscool .gif I'd like the button click event...
No activity results to display
Show More
Leave a comment: