Delphi: Open URL in a default browser
Open URL in a default browser
uses Winapi.ShellAPI; ... procedure OpenURL(url:string); begin ShellExecute(Handle, 'open', pChar(url), nil, nil, SW_NORMAL); end;
Keep, track and share your code snippets with your friends
Open URL in a default browser
uses Winapi.ShellAPI; ... procedure OpenURL(url:string); begin ShellExecute(Handle, 'open', pChar(url), nil, nil, SW_NORMAL); end;
0 Comments