How to make a launcher in VB2008 menu

Shout-Out

User Tag List

Results 1 to 14 of 14
  1. #1
    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)

    How to make a launcher in VB2008

    ################################
    ##If this if wrong place to the guide plz move it##
    ################################

    Hello :wave:
    This guide well show you have to make your own world of warcraft launcher.
    This Launcher well be sample so it well only run you WoW and a link to wow Support and a readme.


    Code for button 1 / Play Button
    Code:
    Imports System.IO
    Imports System.Environment
    
    
    Public Class Form1
        Private Sub button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
            Dim fs As New FileStream("realmlist.wtf", FileMode.Create, FileAccess.Write)
            Dim s As New StreamWriter(fs)
            s.WriteLine("Set realmlist yours server or blizz server")
            s.Close()
    
            Dim ss As String = startgame("HKEY_LOCAL_MACHINESOFTWAREblizzard entertainmentworld of warcraft", "installpath", "WoW.exe")
    
            If ss <> String.Empty Then
                My.Settings.wow = ss
                My.Settings.Save()
            End If
            Close()
        End Sub
    Edit to you realmlist for the server you well play on.

    Now we need to get the play button to work add this code:
    Code:
    Private Function startgame(ByVal RegPath As String, ByVal RegValue As String, ByVal ExeFile As String) As String
            Dim retval
            Dim installpath As String = String.Empty
            installpath = My.Computer.Registry.GetValue(RegPath, RegValue, Nothing)
            If Directory.Exists(installpath) Then
    
                ChDir(installpath)
                retval = Shell(ExeFile, 1)
            Else
                With OpenFileDialog1
                    .InitialDirectory = GetFolderPath(Environment.SpecialFolder.ProgramFiles)
                    .Title = "Please Select " & ExeFile
                    .Filter = "Windows Executable *.Exe|*.exe"
                    .FileName = ExeFile
                    If .ShowDialog() = Windows.Forms.DialogResult.OK Then
                        Process.Start(.FileName)
                        Return .FileName
                    End If
    
    
                End With
    
    
            End If
    
            Return String.Empty
        End Function
    and this:
    Code:
    Private Function startProcess(ByVal filename As String)
            Dim install = New Process()
            install.StartInfo.FileName = filename
            install.Start()
            startProcess = 1
        End Function
    Now well your launcer work but its not that cool to only have one button so lets make a support button.
    add this code:

    Code:
    Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
            startProcess("http://www.wow-europe.com/en/support/")
        End Sub
    I'm using my launcher to Wotlk privat server the server is not "up to date" so i make a button in my launcher to open my wotlk wow.exe fil so it wont patch, you can do that this way.
    Add code:

    Code:
    Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button3.Click
            startProcess("C:ProgrammerWrath of the Lich King Betawow.exe")
            Close()
        End Sub
    Red text to where yours wotlk beta place.

    I have a ReadMe box in my launcher to show with all is for you can add one this way:
    Go to "Projekt" Then Add "Windows Form..." Name it what you like.
    Make a TextBox where you can Writh the Read Me mgs you want.
    Then add a close Button.
    use this code:
    Code:
     Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
            Close()
        End Sub
    Now go Back to Form1 can make a Button for ReadMe
    add this code:
    Code:
    Private Sub PictureBox1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles PictureBox1.Click
            Form2.ShowDialog()
        End Sub


    Hope this well help you and ejoy you now launcher!:wave:

    This is my luancher




    How to make a launcher in VB2008
  2. #2
    *Scripted*'s Avatar Banned
    Reputation
    41
    Join Date
    Aug 2008
    Posts
    240
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Nice +Rep .

  3. #3
    Clain's Avatar Banned
    Reputation
    179
    Join Date
    Jan 2008
    Posts
    1,396
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Did you write this code... been posted like 3 times i believe.

  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)
    Did you write this code... been posted like 3 times i believe.
    -Yes i did

  5. #5
    *Scripted*'s Avatar Banned
    Reputation
    41
    Join Date
    Aug 2008
    Posts
    240
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    i tryed following this and got errors ima take that +Rep back >>

  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)
    i tryed following this and got errors ima take that back >>
    What Errors do you get?

  7. #7
    matafakas's Avatar Member
    Reputation
    14
    Join Date
    Aug 2008
    Posts
    90
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Can i get a full guide, where do write the codes? thx...
    My glad to help me, my glad to help you! I <3 love www. mmowned .com! Do you?

  8. #8
    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)
    Can i get a full guide, where do write the codes? thx...
    you just type in the form1 and form2 when it says

  9. #9
    frkcoaster6's Avatar Member
    Reputation
    7
    Join Date
    May 2008
    Posts
    37
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Looks exactly like a guide on ac-web

  10. #10
    syrtan's Avatar Member
    Reputation
    11
    Join Date
    May 2007
    Posts
    93
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    This guide is repost, belived I have seen it on ac-web before

  11. #11
    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)
    Link plz couse then i'll delete it

  12. #12
    Nlghtmare's Avatar Banned
    Reputation
    4
    Join Date
    Feb 2007
    Posts
    34
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by *Scripted* View Post
    i tryed following this and got errors ima take that +Rep back >>
    lawl
    Did you ever think about becoming a cop?


    Thanks for the guide.
    Good stuff.

  13. #13
    *Scripted*'s Avatar Banned
    Reputation
    41
    Join Date
    Aug 2008
    Posts
    240
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Nlghtmare View Post
    lawl
    Did you ever think about becoming a cop?


    Thanks for the guide.
    Good stuff.

    this was Copy/pasted form Ac-web ...

  14. #14
    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)
    this was Copy/pasted form Ac-web ...
    Link to the post then ill delete this one... i said

Similar Threads

  1. How to Make a Character with Cool Letters
    By Cyboi in forum World of Warcraft Guides
    Replies: 62
    Last Post: 08-21-2007, 01:52 PM
  2. How to make a WoW Video!
    By Amedis in forum World of Warcraft Guides
    Replies: 6
    Last Post: 12-09-2006, 10:23 PM
  3. How to make Macro's
    By oninuva in forum World of Warcraft Guides
    Replies: 21
    Last Post: 11-20-2006, 01:02 PM
  4. How to make good Pick-Up Groups (PUG's)
    By Krazzee in forum World of Warcraft Guides
    Replies: 0
    Last Post: 06-10-2006, 07:28 PM
  5. How to make the darkmoon card: blue dragon proc without casting
    By Matt in forum World of Warcraft Guides
    Replies: 1
    Last Post: 04-17-2006, 05:17 AM
All times are GMT -5. The time now is 07:52 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