以文本方式查看主题

-  Foxtable(狐表)  (http://www.foxtable.com/bbs/index.asp)
--  专家坐堂  (http://www.foxtable.com/bbs/list.asp?boardid=2)
----  Process代码报错  (http://www.foxtable.com/bbs/dispbbs.asp?boardid=2&id=32164)

--  作者:nblwar
--  发布时间:2013/4/26 18:04:00
--  Process代码报错

Process

Process用于执行外部程序。

方法

  • Start
    开始执行。
     
  • Close
    关闭。


  • Dim Proc As New Process \'定义一个新的Process
    Proc.File =
    "C:\\test.txt" \'指定要打开的文件

    Proc.
    Close



    代码报错


--  作者:liguichuan
--  发布时间:2013/4/26 20:14:00
--  
打开后再关闭吧???
--  作者:e-png
--  发布时间:2013/4/27 8:56:00
--  

你看看能不能关闭:

 

For each Verb As String In Proc.Verbs
    Output.Show(verb)

Next


--  作者:Bin
--  发布时间:2013/4/27 9:07:00
--  
你都没打开.关闭什么?