![]() |
|
|
#1 |
|
Архивный участник
Join Date: Nov 2006
Posts: 277
|
Hi,
This is a simple application I've made in delphi to connect to servers easily and fast, in one single click. Spares a lot of work if you have to manage many servers at the same time, and always connect on the same session. (Avoiding trouble connecting on wrong sessions on RDC) I'm going to post a screenshot, the application (works for my servers) and the commented source code + project for fast and easy editing to suit your servers. ![]() Application Download Source Code Download Enjoy. And if you're going to use it, don't forget to leave a comment.
|
|
|
|
|
#2 |
|
Архивный участник
Join Date: Nov 2006
Posts: 277
|
In case you just wanna give a quick look in the code, here it is:
Code:
unit VendettaManager;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, jpeg, Shellapi, ExtCtrls;
type
TVendettaManagerForm1 = class(TForm)
Background: TPanel;
BackgroundImage: TImage;
// Change the names of the buttons below.
Vendetta: TButton;
TestServer: TButton;
Zion: TButton;
Exit: TButton;
procedure ExitClick(Sender: TObject);
procedure FormCreate(Sender: TObject);
procedure VendettaClick(Sender: TObject);
procedure ZionClick(Sender: TObject);
procedure TestServerClick(Sender: TObject);
private
{ Private declarations }
public
{ This is an application I created for my server, it basically
connects to the server you click at using the command
mstsc -v:xxx.xxx.xxx.xxx /F -console - Sparing people some work.
PyroMaker.
www.l2-vendetta.com }
end;
var
VendettaManagerForm1: TVendettaManagerForm1;
Command : Array[0..1024] of Char;
Parms : Array[0..1024] of Char;
implementation
{$R *.dfm}
Procedure ExecuteProgram(Name,Parameters:String);
Begin
StrPCopy(Command,Name);
StrPCopy(Parms,Parameters);
ShellExecute(0,nil,Command,Parms,nil,sw_showmaximized)
; End;
procedure TVendettaManagerForm1.ExitClick(Sender: TObject);
begin
close();
end;
procedure TVendettaManagerForm1.VendettaClick(Sender: TObject);
begin
// -----------------------------------> CHANGE YOUR IP HERE <------------------------------
shellexecute (handle, 'open', 'mstsc', '-v:xx.xx3.1xx.xx5 /F -console', nil, sw_shownormal);
end;
procedure TVendettaManagerForm1.ZionClick(Sender: TObject);
begin
// -----------------------------------> CHANGE YOUR IP HERE <------------------------------
shellexecute (handle, 'open', 'mstsc', '-v:xx.xx3.1xx.xx /F -console', nil, sw_shownormal);
end;
procedure TVendettaManagerForm1.TestServerClick(Sender: TObject);
begin
// -----------------------------------> CHANGE YOUR IP HERE <------------------------------
shellexecute (handle, 'open', 'mstsc', '-v:xx.xx3.1xx.xx2 /F -console', nil, sw_shownormal);
end;
end.
|
|
|
|
|
#3 |
|
Архивный участник
Join Date: Jan 2006
Posts: 58
|
Nice! Good job!
|
|
|
|
|
#4 |
|
Архивный участник
Join Date: Jan 2007
Posts: 30
|
good work, very useful
|
|
|
|
|
#5 |
|
Архивный участник
Join Date: Mar 2006
Posts: 70
|
Very useful, thanks for share,
|
|
|
|
|
#6 |
|
Архивный участник
Join Date: May 2007
Posts: 10
|
Nice job, PyroMaker.
|
|
|
|
|
#7 |
|
Архивный участник
Join Date: Aug 2005
Posts: 30
|
Seriously, what do you need that for when you can create RD shortcuts for each server? You can even have the login/password info saved so you don't have to type them every time you connect...
|
|
|
|
|
#8 |
|
Архивный участник
Join Date: Nov 2006
Posts: 277
|
Well, it sure shortens up some time, it's not about typing in the user and password, but you can always just keep this thing on, and if you have like 6 servers or something, you can just keep it plain simple with this application. Easier to deal with... It's up to the user.
|
|
|
|
|
#9 | |
|
Архивный участник
Join Date: Apr 2006
Posts: 118
|
Quote:
Noone makes you to use it. Like me, I'm fine with shortcut's on desktop, but it's good to see some innovations around there.
|
|
|
|
|
|