小 小天 Unregistered / Unconfirmed GUEST, unregistred user! 2000-04-27 #1 如何使用OleContainer控件? 即如何用它打开一个OLE文件,再如何存储入ACCESS及SQL SERVER数据库中呢?
R rick Unregistered / Unconfirmed GUEST, unregistred user! 2000-04-27 #2 好象直接设定数据类型如word,access即可,在你运行的时候会出现word,access的菜单,直接保存文件即可……你问得是这个意思吗?
P Pipi. Unregistered / Unconfirmed GUEST, unregistred user! 2000-06-07 #5 olecontainer.CreateObjectFromFile('c:/test.doc',false) 装入文件 tbl.Insert() stream:=TBlobStream.Create(.....) olecontainer.SaveToStream(stream) stream.Free tbl.Post()
olecontainer.CreateObjectFromFile('c:/test.doc',false) 装入文件 tbl.Insert() stream:=TBlobStream.Create(.....) olecontainer.SaveToStream(stream) stream.Free tbl.Post()
P Pipi. Unregistered / Unconfirmed GUEST, unregistred user! 2000-06-07 #6 从数据库装回olecontainer: stream:=TBlobStream.Create(.....) olecontainer.LoadFromStream(stream) stream.Free
从数据库装回olecontainer: stream:=TBlobStream.Create(.....) olecontainer.LoadFromStream(stream) stream.Free