[Chrome] [vb.net] 크롬이 열려 있으면 새창으로 열기
하나를하더라도최선을
2019-07-08 00:14
6,748
0
본문
Dim chrome As Boolean
Dim url As String = "fb.com"
Dim pname As Process() = Process.GetProcessesByName("chrome")
If pname.Length = 0 Then
chrome = False
Else
If Not chrome Then
Dim process As Process = New Process()
process.StartInfo.FileName = "chrome"
process.StartInfo.Arguments = url + " --new-window"
process.StartInfo.WindowStyle = ProcessWindowStyle.Minimized
process.Start()
End If
chrome = True
End If
[이 게시물은 하나를하더라도최선을님에 의해 2019-07-08 00:15:26 vba에서 이동 됨]
댓글목록0