G
Gidi
Hi,
I've dataBase conating office files, I'm able to get them from the dataBase,
but I'm looking for a way to open it for the user, to work normaly (like he
doubled-clicked on the file).
I tried this code:
Microsoft.Office.Interop.Word.ApplicationClass WordApp = new
Microsoft.Office.Interop.Word.ApplicationClass();
Microsoft.Office.Interop.Word.Document aDoc =
WordApp.Documents.Open(ref fileName, ref missing, ref readOnly,
ref missing, ref missing, ref missing, ref missing, ref
missing, ref missing,
ref missing, ref missing, ref isVisible, ref missing,
ref missing, ref missing);
aDoc.Activate();
The result is that a winWord process is running, but i can't see the document.
another questions is, if there's a general way to open a file (doc,excel,ppt
and so).
Thanks,
Gidi.
I've dataBase conating office files, I'm able to get them from the dataBase,
but I'm looking for a way to open it for the user, to work normaly (like he
doubled-clicked on the file).
I tried this code:
Microsoft.Office.Interop.Word.ApplicationClass WordApp = new
Microsoft.Office.Interop.Word.ApplicationClass();
Microsoft.Office.Interop.Word.Document aDoc =
WordApp.Documents.Open(ref fileName, ref missing, ref readOnly,
ref missing, ref missing, ref missing, ref missing, ref
missing, ref missing,
ref missing, ref missing, ref isVisible, ref missing,
ref missing, ref missing);
aDoc.Activate();
The result is that a winWord process is running, but i can't see the document.
another questions is, if there's a general way to open a file (doc,excel,ppt
and so).
Thanks,
Gidi.