PDA

View Full Version : [SHARE] Vendetta Manager v1.0 (For RDC)


PyroMaker
29.06.2007, 20:05
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.


http://www.l2zion.com/files/manager.png



Application Download (http://www.l2zion.com/files/vendetta_manager_v1.0_application.rar)

Source Code Download (http://www.l2zion.com/files/vendetta_manager_v1.0_source_code.rar)



Enjoy. And if you're going to use it, don't forget to leave a comment. :)

PyroMaker
29.06.2007, 20:18
In case you just wanna give a quick look in the code, here it is:


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_showmaximi zed)
; 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.

Yui-Ikari
29.06.2007, 20:18
Nice! Good job! :D

GmZenBrasil
29.06.2007, 20:25
:) good work, very useful

katso
30.06.2007, 03:04
Very useful, thanks for share, :)

Wilfried
30.06.2007, 07:39
Nice job, PyroMaker.

PiTaGoRaS
30.06.2007, 17:48
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...

PyroMaker
30.06.2007, 21:26
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.

ateh
01.07.2007, 07:10
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...

It's about having options, so you can use whatever you want and what fits your needs more. I guess that's the reason :) 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.