Excel进程如何释放?急,求救

alexlcd2 2003-10-21 12:05:18
Excel进程如何释放?急,求救
...全文
44 8 打赏 收藏 转发到动态 举报
写回复
用AI写文章
8 条回复
切换为时间正序
请发表友善的回复…
发表回复
muzi600293 2003-12-08
  • 打赏
  • 举报
回复
mark
speedyen 2003-12-05
  • 打赏
  • 举报
回复
up
liuguangwei 2003-11-08
  • 打赏
  • 举报
回复
excelBook = Nothing
excelWorksheet = Nothing
excelApp = Nothing
GC.Collect(0)
鱼哥音符 2003-11-08
  • 打赏
  • 举报
回复
GC.Collect
dongbeiren 2003-11-08
  • 打赏
  • 举报
回复
Dim process As System.Diagnostics.Process
For Each process In System.Diagnostics.Process.GetProcesses
If process.ProcessName = "EXCEL" Then
process.Kill()
End If
Next
alexlcd2 2003-11-08
  • 打赏
  • 举报
回复
up
alexlcd2 2003-10-21
  • 打赏
  • 举报
回复
没办法了吗?
nonesharp 2003-10-21
  • 打赏
  • 举报
回复
的确是问题,有时候就是死活释放不掉,所以最好不要在服务器端打开excel进程。

16,549

社区成员

发帖
与我相关
我的任务
社区描述
VB技术相关讨论,主要为经典vb,即VB6.0
社区管理员
  • VB.NET
  • 水哥阿乐
  • 无·法
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

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