以文本方式查看主题

-  Foxtable(狐表)  (http://www.foxtable.com/bbs/index.asp)
--  专家坐堂  (http://www.foxtable.com/bbs/list.asp?boardid=2)
----  BeforeLoadOuterTable或Initialize发生错误如何中止  (http://www.foxtable.com/bbs/dispbbs.asp?boardid=2&id=97505)

--  作者:Exon_Liang
--  发布时间:2017/3/13 17:28:00
--  BeforeLoadOuterTable或Initialize发生错误如何中止

BeforeLoadOuterTable或Initialize中,因为外部表较多,执行时间较长,期间网络出现断开导致弹出很多错误窗口

 

求教在这两个事件里想要中止项目,怎样中止呢?类似在BeforeOpenProject中,可以通过e.Cancel来中止打开项目。

 


--  作者:wyz20130512
--  发布时间:2017/3/13 18:30:00
--  
http://www.foxtable.com/webhelp/scr/1057.htm
--  作者:有点色
--  发布时间:2017/3/13 18:53:00
--  

 你想退出项目?你可以用kill

 

Dim ps As  System.Diagnostics.Process() = System.Diagnostics.Process.GetProcessesByName("foxtable")
For Each p As System.Diagnostics.Process In ps
    p.kill
Next


--  作者:Exon_Liang
--  发布时间:2017/3/14 10:59:00
--  
谢谢!