开发者

Open website if there is error

开发者 https://www.devze.com 2023-01-14 11:23 出处:网络
Is there any way to open a website link when user cancel installation o开发者_Go百科r there is error during install ?

Is there any way to open a website link when user cancel installation o开发者_Go百科r there is error during install ?

regards


Try using the following:

procedure CallPage;
var
  ErrorCode: Integer;
begin
  ShellExec(’open’, ‘http://www.yourdomain.com/xxxxxx’, ”, ”, SW_SHOWNORMAL, ewNoWait,    ErrorCode);
end;

Where xxxxx is page you want to be called. You can even pass parameters when calling the page.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号