Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
根据“Microsoft Office Word™ 2003 Visual Basic Reference”,似乎 Document 对象只能从磁盘加载文件或将文件保存到磁盘。是否可以将文档保存到内存或从内存中加载文档?因为我需要将文档保存到数据库而不是磁盘文件。我用德尔福。
先感谢您。
Office 不支持使用 WEBDAV 协议从 Internet 打开文件。我猜它支持 IPersistMoniker 接口。查看 DSOFramer 的源代码以获取更多信息。注意不支持 DSOFramer,Office 将来可能不支持 DSOFramer 中使用的接口。
对于内部应用程序,我面临同样的要求。我目前正在研究 Aspose.Words 和 TX 文本控件,它们支持从内存中加载/保存 Word 文档。