Tantra Freelancer
- Joined
- Apr 9, 2014
- Messages
- 541
- Reaction score
- 23
Hiya Ragezoners,
I have been wondering in the forum for quite some time now. In fact I successfully setup/install my own server (currently at testing phase) and I thought maybe I should contribute in the community in a small way.
So to start, at the end of this guide my main objective is to allow and let everyone to have a quick Tantra server files opener (e.g. DBSRV.EXE, MSGSRV.EXE, etc.) without browsing through the different folders of your server file directory.
Requirement(s):
Steps:
I have been wondering in the forum for quite some time now. In fact I successfully setup/install my own server (currently at testing phase) and I thought maybe I should contribute in the community in a small way.
So to start, at the end of this guide my main objective is to allow and let everyone to have a quick Tantra server files opener (e.g. DBSRV.EXE, MSGSRV.EXE, etc.) without browsing through the different folders of your server file directory.
Requirement(s):
You must be registered to see links
or laterSteps:
- First download the above requirement(s).
- Install the said software.(You can skip Step 1 & 2 if you already have it in your system)
- Go to start and search for Microsoft Visual Basic 2008 Express Edition and open it.
- Once Microsoft Visual Basic 2008 Express Edition is opened, look for Create "Project" (see image below)
New Project menu will pop-out. Click on Windows Form Application and type in your desired Project Name (e.g. Tantra Server Files Opener) (see image below) and click OK.
Change the name of your software form as desired (e.g. Tantra SFO) (see image below) and hit Enter.
Now we add a clickable button that will execute the first file to be open which is the DBSRV.EXE. To do this hover your mouse pointer on "Toolbox" (upper left corner) and look for "Button" and double-click or drag it inside the Form1 (e.g. Tantra SFO) box. You might want to adjust the location of this button and change the button name inside the form to suffice your needs (see images below)
Result: To quickly rename the button just click on it and change its Text Properties (e.g. DBSRV)
Now that we have already created the button we need to specifically call on its target inside our system. To do this just simply right-click on it and select View Code (see image below) and it will take you to new tab where you will insert the correct code.
Once the new tab appears place this code accordingly (see image below)Code:System.Diagnostics.Process.Start("[COLOR=#ff0000]D:\Server\DBSRV\DBSRV.exe[/COLOR]")
Once done we need to test the button if it works by clicking on "Start Debugging" button (see image below)
Click on your first button (e.g. DBSRV) and if the DBSRV menu pops out it means it works if not check your code again.- To add the rest of the buttons (e.g. MSGSRV, ITMSRV, SQLDAEMON, ZONE 1, etc,) Please repeat Step 7 to 9
- Once you are done creating all the necessary buttons, we need to publish our project in order for us to get the executable (.exe) file for the said project. To do this click Build (top) and select Publish Tantra SFO or whatever the name of your project is.
- A new window will appear and follow the prompts in this manner.
- Specify the location to publish this application (click Browse to do so)
- Select "From a CD-ROM or DVD-ROM
- Select "The application will not check for updates"
- Read the message and click Finish
- Alternatively you can acquire the executable (.exe) file of your project @ C:\Users\%Computer Name%\Documents\Visual Studio 2008\Projects\%Project Name%\%Project Name%\bin\Release\%Project Name%.exe
Attachments
You must be registered for see attachments list
Last edited: