aşağıdaki kod ile uzak masa üstü bağlantısı açılıyor fakat kullanıcı adı ve şifresini otomatik gelmesini nasıl sağlayabilirim ?
teşekkürler
Kod: Tümünü seç
procedure TForm1.SpeedButton1Click(Sender: TObject);
begin
ShellExecute(Handle, 'open', 'mstsc.exe', PChar('/v:'+EDIT4.Text), nil, SW_SHOWNORMAL);
end;
Parameter,
/v:<Server[:<Port>] - Specifies the remote computer and, optionally, the port number to which you want to connect.
/admin - Connects you to a session for administering the server.
/f - Starts Remote Desktop Connection in full-screen mode.
/w:<Width> - Specifies the width of the Remote Desktop window.
/h:<Height> - Specifies the height of the Remote Desktop window.
/public - Runs Remote Desktop in public mode. In public mode, passwords and bitmaps are not cached.
/span - Matches the Remote Desktop width and height with the local virtual desktop, spanning across multiple monitors if necessary.
/edit <Connection File> - Opens the specified .rdp file for editing.
/migrate - Migrates legacy connection files that were created with Client Connection Manager to new .rdp connection files.
/? - Displays help at the command prompt.