如何解决在ole控件使用insertfile()插入文件慢的问题?欢迎大家积极讨论!

Flying_Hawk 2002-05-19 05:30:38
我的部分代码,请大家参考:

string ls_path,ls_filename

GetFileOpenName("选择要打开的文件",ls_path,ls_filename)

If ls_filename ="" Then return


//调试发现,在这里程序会不相应其他的操作

If ole_1.insertfile(ls_path) = 0 Then

ib_notsaved = true

End If



...全文
31 2 打赏 收藏 转发到动态 举报
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
heliang 2002-05-20
  • 打赏
  • 举报
回复
from help:
inserts an object into an OLE control. A copy of the specified file is embedded in the OLE object.

The contents of the specified file is embedded in the OLE object. There is no further link between the object in PowerBuilder and the file.

不响应是因为程序正忙着将file 的内容copy 到ole contral.
Flying_Hawk 2002-05-20
  • 打赏
  • 举报
回复
没有人跟贴!郁闷!!! :(

604

社区成员

发帖
与我相关
我的任务
社区描述
PowerBuilder 控件与界面
社区管理员
  • 控件与界面社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧