G
Guest
HI all,
application details:
---------------------
visual studio 2003
..net 1.1, vb.net, winforms
Application read a document ( could be word, pdf, tiff, jpeg etc) from the
local filesystem into to the system.io.filestream object and now i want to
open this document up in the document;s respective software( MS word for doc,
excel for xls etc) and show it to the user. The question is how can i open
this document that is in the filestream object and show it to the user.
a. do i have to store it some where in the local cache as a temporary file
and invoke a SHELL command to open it for the user ,if so how can i store in
the cache, any code references woudl be good and also how to program this
shell command.
b. is there any way that i can just take the filestream object and somehow
just show it to the user and somehow .net opens up the document in it;s own
respective folder.
thanks in advance
sameer
application details:
---------------------
visual studio 2003
..net 1.1, vb.net, winforms
Application read a document ( could be word, pdf, tiff, jpeg etc) from the
local filesystem into to the system.io.filestream object and now i want to
open this document up in the document;s respective software( MS word for doc,
excel for xls etc) and show it to the user. The question is how can i open
this document that is in the filestream object and show it to the user.
a. do i have to store it some where in the local cache as a temporary file
and invoke a SHELL command to open it for the user ,if so how can i store in
the cache, any code references woudl be good and also how to program this
shell command.
b. is there any way that i can just take the filestream object and somehow
just show it to the user and somehow .net opens up the document in it;s own
respective folder.
thanks in advance
sameer