rifter1818
Junior Contributor
Couple of (hopefully) quick questions here.
1)I've been using Process.Start(filename) to open programs and files fine for a while now however if its a filetype with no known extension is there anyway to open the windows openwith dialoge? or do i have to code my one in which case how do i access the list normally provided by windows in said dialoge.
2)If i was to write a text editor, (C#) how would i access the data from a file opened with my text editor.
3) How would i (through code/ in the setup program) tell windows to use my application for certain file extensions?
C# for answers is appreciated but any answer is great thanks in advance.
1)I've been using Process.Start(filename) to open programs and files fine for a while now however if its a filetype with no known extension is there anyway to open the windows openwith dialoge? or do i have to code my one in which case how do i access the list normally provided by windows in said dialoge.
2)If i was to write a text editor, (C#) how would i access the data from a file opened with my text editor.
3) How would i (through code/ in the setup program) tell windows to use my application for certain file extensions?
C# for answers is appreciated but any answer is great thanks in advance.