“make single instance application” what does this do?

后端 未结 7 1983
后悔当初
后悔当初 2020-12-19 02:58

in vb 2008 express this option is available under application properties. does anyone know what is its function? does it make it so that it\'s impossible to open two instanc

相关标签:
7条回答
  • 2020-12-19 04:01
        Dim _process() As Process
        _process = Process.GetProcessesByName(Process.GetCurrentProcess().ProcessName)
        If _process.Length > 1 Then
            MsgBox("El programa ya está ejecutandose.", vbInformation)
            End
        End If
    
    0 讨论(0)
提交回复
热议问题