I=B4m working with C#. And my question is:
How can i open a file with its win application?. For=20
example open a word file with MS Word? or an excel file=20
with MS excel?=20
I=B4trying to find the way to open a windows application=20
with it=B4s own path, or to open a windows file with it=B4s=20
own path.
Thanks for any help.

Re: Windows Applications by Mattias

Mattias
Fri Oct 24 13:51:03 CDT 2003


>I´m working with C#. And my question is:
>How can i open a file with its win application?. For
>example open a word file with MS Word? or an excel file
>with MS excel?

System.Diagnostics.Process.Start()



Mattias

--
Mattias Sjögren [MVP] mattias @ mvps.org
http://www.msjogren.net/dotnet/
Please reply only to the newsgroup.

Re: Windows Applications by NetPointer

NetPointer
Fri Oct 24 15:54:13 CDT 2003

dont multipost..
Use Process with ProcessStartInfo object like this..

dim oprocessstartinfo as new processstartinfo
oprocessstartinfo.filename = "djfld"
oprocessstartinfo.useshallexecute = true

process.start(oprocessstartinfo)

this is in vb but u will get the idea i guess..

Regards.
"Andres" <anonymous@discussions.microsoft.com> wrote in message
news:010101c39a5d$1ed6de60$a501280a@phx.gbl...
I´m working with C#. And my question is:
How can i open a file with its win application?. For
example open a word file with MS Word? or an excel file
with MS excel?
I´trying to find the way to open a windows application
with it´s own path, or to open a windows file with it´s
own path.
Thanks for any help.