如何将.doc文件写入sqlite,并从中读取? [英] how to write a .doc file into sqlite,and read from it?

查看:58
本文介绍了如何将.doc文件写入sqlite,并从中读取?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试将.doc文件写入sqlite.
我用COM编写,但没有成功.
我还需要知道如何阅读.

感谢您的帮助!

I am trying to write .doc files into sqlite.
I used COM to write, but it did not work successfully.
I also need to know how to read.

Thanks for your help !

推荐答案

您应该将其作为BLOB数据插入. 例如,请参见 Stack Overflow上的该线程 [ ^ ] .
:)
You should insert it as BLOB data.
See, for instance, this thread at Stack Overflow[^].
:)


作为第一个答案,您必须使用BLOB

如果您正在使用任何com对象,那么我想您也必须进行一些安全设置.

使用此路径
控制面板->管理工具->组件服务->计算机->我的电脑

然后右键单击

转到属性"->"COM安全性".

希望这会对您有所帮助.
As the first answer mentioned you have to use BLOB
and
If you are using any com object then I guess you have to do some security settings too.

Use this Path
Control Pane->Administrative Tool->Component Services->Computers->My Computer

Then right click
and
go Properties->COM Security.

Hope this would have helped you.


这篇关于如何将.doc文件写入sqlite,并从中读取?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆