[Guide - beginner]How to make a multi-program opener menu

Shout-Out

User Tag List

Results 1 to 11 of 11
  1. #1
    Syplex23's Avatar Contributor
    Reputation
    93
    Join Date
    Dec 2007
    Posts
    649
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [Guide - beginner]How to make a multi-program opener

    Hello all

    Requirements:
    Visual Studio 2008,
    a cool pic like my Sasuke,
    And an icon

    this is what i will teach you to make



    okay this is going to be very Easy to experienced vb scripters but who cares anyone can do this


    okay first of all make a new application



    Now what we are going to do is change the name from form 1 to something you want so click on the name form 1 then go to the properties and change the name like bellow



    and if you want to stretch it out a bit you can. Okay next we search for a cool pic to put in you don't have to just i feel like it :P. first go to the toolbar and select "picture box" then right click your box you just drew then select "choose image" then click local resource then click "import...".


    After that you click okay and once you've done that click the little arrow above the box and set it to stretch... if it looks bad then re size your image in photoshop or paint. like below



    Next you are going to insert a Group Box. scroll down in your properties until you see then draw a box like below and rename it like you did with form 1 in the beginning.



    Now we are going to insert Checkboxs. go to your toolbar and select then make about 6, 3 on the left 3 on the right like below now leave them as Checkbox1,2,3 ect ect.



    Now we are going to make a Launch Button first like below



    okay double click your your launch button you will now be able to code this program to work okay just copy and paste this (Note: i've left photoshop link on there for an example)

    Code:
    Public Class Form1
    
        Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
            If CheckBox1.Checked = True Then
                Process.Start("C:\program files\Adobe\Adobe Photoshop CS3\Photoshop.exe")
            End If
            If CheckBox2.Checked = True Then
                Process.Start("")
            End If
            If CheckBox3.Checked = True Then
                Process.Start("")
            End If
            If CheckBox4.Checked = True Then
                Process.Start("")
            End If
            If CheckBox5.Checked = True Then
                Process.Start("")
            End If
            If CheckBox6.Checked = True Then
                Process.Start("")
            End If
        End Sub
    
        Private Sub TextBox1_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs)
    
        End Sub
    End Class

    over this

    Code:
    Public Class Form1
    
        Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
    
        End Sub
    End Class

    and that's the end of the guide if you want to rename the check boxes just rename it the way you rename everything, in the Properties tab. Oh and you can customize the colours of everything this is just basic you can do way more even if you don't know how to code in vb you can add way more options for programs just keep copying and pasting

    Code:
            End If
            If CheckBox6.Checked = True Then
                Process.Start("")
    anyway i hope this helped most of you beginners or not beginners doesn't really matter

    vemonous
    :wave:





    [Guide - beginner]How to make a multi-program opener
  2. #2
    ReidE96's Avatar Archer Authenticator enabled
    Reputation
    470
    Join Date
    Dec 2006
    Posts
    1,625
    Thanks G/R
    1/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Nice work, but how about making it easier to add more checkboxes?

    Put the checkboxes in a control array, then use this:
    Code:
    Private Sub Button1_Click(ByVal sender as System.Object, ByVal e as System.EventArgs) Handles Button1.Click
        For Counter = 1 to 6
            If CheckBox(Counter).checked then OpenProgram(Counter)
        Next Counter
    End Sub
    
    Private Sub OpenProgram(ByVal ProgID as Integer)
        Select Case ProgID
            Case Is 1
                Process.Start("")
            Case Is 2
                Process.Start("")
            Case Is 3
                Process.Start("")
            Case Is 4
                Process.Start("")
            Case Is 5
                Process.Start("")
            Case Is 6
                Process.Start("")
        End Select
    End Sub
    You can then just add another checkbox, increase the max value of the For loop by one and add another Case Is statement. Scaleability!
    Last edited by ReidE96; 10-27-2008 at 02:02 PM.

  3. #3
    Syplex23's Avatar Contributor
    Reputation
    93
    Join Date
    Dec 2007
    Posts
    649
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    ahh i never noticed it that way... ill try it out thanks reid

  4. #4
    kazama's Avatar Member
    Reputation
    11
    Join Date
    Feb 2007
    Posts
    76
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Nice guide +rep,
    btw do you know have to make a pic smaller in photoshop?

  5. #5
    Ryoushi.'s Avatar Member
    Reputation
    54
    Join Date
    Nov 2008
    Posts
    126
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks for the tutorial. The ending could be a little better, but it's good for beginners.

    Press CTRL + A to select all, then CTRL + T for free transform then scale it down, press enter to finish with free-transform. You can then use the crop tool to fit the canvas to the image, Kazama.

  6. #6
    kazama's Avatar Member
    Reputation
    11
    Join Date
    Feb 2007
    Posts
    76
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks you that work (-:

  7. #7
    Neth'zul's Avatar Banned
    Reputation
    204
    Join Date
    Nov 2007
    Posts
    887
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    HAX! I needed a guide leik this! +rep!

  8. #8
    Bloody Rayne's Avatar Member
    Reputation
    12
    Join Date
    May 2007
    Posts
    87
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    wait so exaclt where am i supposed to copy the code in the thing after i click the button. there is already some text there so where does it go?

  9. #9
    Bloody Rayne's Avatar Member
    Reputation
    12
    Join Date
    May 2007
    Posts
    87
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Nvm got it yay

  10. #10
    Ryoushi.'s Avatar Member
    Reputation
    54
    Join Date
    Nov 2008
    Posts
    126
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    It will go to the part of the code that you should put it in. (When you double click it)

  11. #11
    Syplex23's Avatar Contributor
    Reputation
    93
    Join Date
    Dec 2007
    Posts
    649
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    just paste the code i provided over everything once you've double clicked the launch button =)

Similar Threads

  1. MY Guide on how to make your server website.
    By c0ddingt0n in forum WoW EMU Guides & Tutorials
    Replies: 7
    Last Post: 06-29-2008, 02:48 AM
  2. [TIP] Guide to how to make the new bombing run ezmode
    By Jbob in forum World of Warcraft Guides
    Replies: 6
    Last Post: 04-04-2008, 03:30 AM
  3. [Guide/Tutorial] How to make a private server 2.3+ [PICTURES]
    By xUrbanx in forum WoW EMU Guides & Tutorials
    Replies: 8
    Last Post: 03-08-2008, 09:02 PM
  4. [Request]Nooby Guide On How To Make A Private Server Out Of Scratch
    By death1223 in forum World of Warcraft Emulator Servers
    Replies: 4
    Last Post: 12-17-2007, 11:41 AM
  5. [GUIDE/RELEASE] How to make multiple realms on 1 server!
    By latruwski in forum World of Warcraft Emulator Servers
    Replies: 6
    Last Post: 11-14-2007, 02:16 PM
All times are GMT -5. The time now is 11:26 AM. Powered by vBulletin® Version 4.2.3
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Google Authenticator verification provided by Two-Factor Authentication (Free) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search