Here i will show you how to make your own GunZ Launcher, in the easiest programming language to me VB6. It can launch any GunZ EXE.
NOTE: THIS WILL NOT WORK ON WINDOWS VISTA
Here is the contents
1) Requirements
2) Setup
3) Method
4) Credits =O
------------------------------------------------------------------------
Requirements:
-----------------------------------------------------------------------------------------------------
1) Visual Basic 6 (enterprise edition)
2) A brain
3) A picture to put for the Launcher's Design
4) A picture for your Launcher's Start Game Button
5) A picture saying "View Website"
Downloads:
Visual Basic 6 (Torrented)
------------------------------------------------------------------------
Setup:
------------------------------------------------------------------------
This is what you have to do to setup your environment.
1) Install Visual Basic 6 into your computer
2) Make a new Folder Called VbGzL on your deskptop
3) Run VB6, to test if it works. (if it works then continue, if it doenst work, post a screenie here and ill look at it)
------------------------------------------------------------------------
Method:
------------------------------------------------------------------------
1) What we are going to do now, is get familiar with how vb6 works and the basics needed for the launcher. Open up VB6 and a Popup should show saysing new Project.
Double Click on Standard EXE and a Form should show up called Form1.
The Form is the design of your Application. You can easily edit it (ill mention a bit later). Basically you now have your Application Environment Setup. Towards the left you see a tool box, you can easily add those tools into your form.
Have Fun messing around with the tools, when your ready continue to step 2.Code:Description of Tools: Label:Can be used for Text or can be used for the GunZ Start button Picturebox: Can be used to input the launcher interface Button:Can be used for GunZ Start Button Timer: Really important to do special features.
2) Now that you are Familiar with VB6, i will teach you the execution for the GunZ.exe. Create a Standard Exe and use the button tool and place your button on the form.
Double click the button and it should open up as Form1 (code)
You see where it says "Private Sub Command1_Click()", this means that if you put any code under this, it will come to life when the button is pressed.
Now under Private Sub Command1_Click()
shell ("path of exe you want it to launch") eg shell ("C:/programfiles/Pornos/parishiltonsexgame.exe"). Try the shell command out and you will understand how it works. ( Make sure to replace my example with something on your pc )
When you fully understand how this shell command works then move onto the next step.
3) Now ill teach you how to add an image to your Application.
On the toolbox select the image tool and click on your Form and move the mouse so it fits the whole size of the application.
Now on the right, you should see a properties box. Click on image1 and look in its properties
Where it says picture, click on it and browse a interface. This interface will be embedded in the app, so it cant be edited.
Thats it for images.
4) How to add a webbrowser so that the launcher shows your site. Create a standard exe and press Ctrl + T. a Components box should show up. Scroll untill you find Microsoft Internet Controls. Click the tick box and select apply, after that u can close the component prompt.
You should see a Globe on your tool box now. Click it and add it to your form. Now Right click on Form1 and select View Code.
The code menu should be brought up. Look for Private Sub Form_Load() under it type webbrowser1.navigate ("www.mysite.com"). It should show your site when the Form Loads up. Now you should gain a basic understanding on how things work.
5) Putting it all together :
This is where you put your knowledge learnt in hand. I know most of you would have probably skipped all that and came here. "YOU WILL LEARN NOTHING" unless u have previous knowledge of VB6.
Create a Standard EXE
Add your GunZ Launcher Interface. Note: you can resize the Launcher to suit your interface.
Now add a label and go to its properties and select picture. Browse for your StartGame Button. Place the Label where you want the button to be. Now after doing that open the labels code menu. Add Shell ("Path to your Exe here")
Now Compile and test out your Launcher. Now we need to add that webbrowser. Open up the components prompt and enable microsoft internet controls. Add the webbrowser to your form. Now add another lablel and give it the picture of "View website". Now open the code menu for the new label. Type in webbrowser1.visible = "true"
Open up Form1 code menu and type webbrowser1.visible = "false"
webbrowser1.navigate ("your site")
And Thats About it ^^.
[COLOR=Red]------------------------------------------------------------------------
Credits:
------------------------------------------------------------------------
1) Microsoft for Visual basic Software.
2) Me for writing this tutorial.
If any body wants help please dont hesitate to ask :P
Please tell me if this TuT was useful[
Dont think im a newb for using VB , i usually code in C#^_^/COLOR]


Reply With Quote![[TuT] How to make a GunZ Launcher Bounty's Style](http://ragezone.com/hyper728.png)


