Hello
I am using that code to open chrome:
Or:
it works,
The problem is, when I run the software from VB then after that, it is not possible to open another Chrome window, outside the software, even Chrome of another profile,
but, when I run the software as an EXE then, everything is fine
What can I do?
I am using that code to open chrome:
Code:
Shell "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe --profile-directory=Default --new-window https://drive.google.com/drive/my-drive", vbNormalFocus
Code:
ShellExecute me.hwnd, "Open", "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe", "--profile-directory=Default --new-window https://drive.google.com/drive/my-drive", "", 1
The problem is, when I run the software from VB then after that, it is not possible to open another Chrome window, outside the software, even Chrome of another profile,
but, when I run the software as an EXE then, everything is fine
What can I do?