1、调出拨号窗口
procedure TSendDataForm.btnDailClick(Sender: TObject);
var
registryValue:TRegistry;
getconnect:string;
Text:array[0..255] of char;
begin
registryValue := TRegistry.Create;
with registryValue do
begin
RootKey := HKEY_CURRENT_USER;
if OpenKey('RemoteAccess',false) then
getconnect:=ReadString('default');
CloseKey;
end;
RegistryValue.Free;
strPCopy(Text,'rundll32.exe rnaui.dll,RnaDial '+GetConnect);
winexec(Text,SW_SHOWNORMAL);
end;
2、打开网页
RzURLLabel1.URL:='www.sin.com.cn';
RzURLLabel1.Click;
需要安装Raize的控件,绝对可以。