解决方案 »

  1.   

    在程序运行时用如下语句:
    if app.PrevInstance=true then
         end 
    end if
      

  2.   

    If App.PrevInstance Then
            MsgBox "已经有一个 " & App.ProductName & " 在你的电脑上运行着!"
            Exit Sub
        End If
      

  3.   

    'ÅжÏÊÇ·ñÒѾ­Æô¶¯
        If App.PrevInstance = True Then
            MsgBox "³ÌÐòÒѾ­ÔËÐС£", vbExclamation, g_cnststrMsgTitle
            End
        End If