F
fan_hongtao
Unregistered / Unconfirmed
GUEST, unregistred user!
在把blob字段(excel或word文件)存成内存流后,怎么用webbrowser直接从流中取数据吗??
用Loadfromstream()根本不行:
Var MyStream:TStream
begin
filestream:=TMemoryStream.Create;
filestream.Position:=0;
MyStream.seek(0, 0);
Result := (Document as IPersistStreamInit).Load(TStreamadapter.Create(MyStream));
filestream.Free;
end;
请问哪位有更好的方法(用webbrowser直接从流中取数据)?
用Loadfromstream()根本不行:
Var MyStream:TStream
begin
filestream:=TMemoryStream.Create;
filestream.Position:=0;
MyStream.seek(0, 0);
Result := (Document as IPersistStreamInit).Load(TStreamadapter.Create(MyStream));
filestream.Free;
end;
请问哪位有更好的方法(用webbrowser直接从流中取数据)?