Hi everybody,
I am looking for a way to create new files of different types (eg.
..xls, .pps, ...) the proper way. Tried to create a new, empty file with
the correct extension and use Process.Start() on this file. This works
for some filetypes / applications but not for all because not all apps
handle "empty" files by default.
I guess I have to use the windows shell to create files (documents)
just like eg. Windows Explorer does with the context menu "News ...".
Does anybody have an idea how to do this in C# / .Net 2.0? Any hint
would be welcome.
Cheers,
Marc
I am looking for a way to create new files of different types (eg.
..xls, .pps, ...) the proper way. Tried to create a new, empty file with
the correct extension and use Process.Start() on this file. This works
for some filetypes / applications but not for all because not all apps
handle "empty" files by default.
I guess I have to use the windows shell to create files (documents)
just like eg. Windows Explorer does with the context menu "News ...".
Does anybody have an idea how to do this in C# / .Net 2.0? Any hint
would be welcome.
Cheers,
Marc
Comment