[vb.net] 크롬이 열려 있으면 새창으로 열기 > vb.net

본문 바로가기

vb.net

[Chrome] [vb.net] 크롬이 열려 있으면 새창으로 열기

회원사진
하나를하더라도최선을
2019-07-08 00:14 5,302 0

본문



        Dim chrome As Boolean
        Dim url As String = "fb.com"
        Dim pname As Process() = Process.GetProcessesByName("chrome")
 
        If pname.Length = 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

등록된 댓글이 없습니다.
게시판 전체검색