This topic is locked

MS Word

9/8/2012 11:03:16 PM
PHPRunner General questions
B
bersani author

I have a MySQL table with a longblob field that contains a MS Word document. I want to be able to open the longblob field in MS Word.

R
rencenji.denes 9/9/2012

Hi!
I think you have to create a custom button or php sniplet which is do something like:
http://www.daniweb.com/web-development/php/threads/154897/displaying-blob#
BR:

Dennis

Sergey Kornilov admin 9/9/2012

Simply set 'View as' type of this field to 'File' in PHPRunner.

B
bersani author 9/9/2012



Simply set 'View as' type of this field to 'File' in PHPRunner.



I have tried that and it opens as 'read only' in MS Word. I have tried numerous workarounds to get rid of the 'read only' with no luck. I have worked with Visual Foxpro for years and was able to use OLE2 to embed the document directly into the database and not have to consider single .docx files to open and save.

Sergey Kornilov admin 9/9/2012

Such thing as embedding documents does not exist in web applications. You can only download the document, make changes and upload it back.

B
bersani author 9/10/2012



Such thing as embedding documents does not exist in web applications. You can only download the document, make changes and upload it back.


Is there a way to prevent MS Word from opening the doc in 'Read only' mode?

Sergey Kornilov admin 9/10/2012

I don't think this is PHPRunner question. What web application does is allows you to download file via web browser. The rest is between MS Word and your local machine configuration.