Make your own Custom Launcher in VB .net 2008 menu

User Tag List

Results 1 to 7 of 7
  1. #1
    razordemon's Avatar Member
    Reputation
    19
    Join Date
    Feb 2008
    Posts
    62
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Make your own Custom Launcher in VB .net 2008

    As the title says, this is a follow up to my other guide which can be found
    HERE
    With that said lets begin.


    Content
    1 - Delete Cache
    2 - Normal Realmlist or yours
    3 - Get rid of the windows frame
    4 - Extra


    1 - Delete the Cache

    1.Add an new button to your form and double click it so you get into the code window.

    2.Enter this

    Code:
    Code:
    Dim installpath As String = String.Empty
            installpath = My.Computer.Registry.GetValue("HKEY_LOCAL_MACHINE\SOFTWARE\blizzard entertainment\world of warcraft", "installpath", Nothing)
            If Directory.Exists(installpath & "/cache") Then
                Directory.Delete(installpath & "/cache", True)
                MsgBox("Cache deleted successfully")
            Else
                MsgBox("There is no cache")
            End If
    2 - Normal Realmlist or yours

    What i will explain to you now, is how to change so the launcher can switch peoples realmlist for them. Also, i will remove the code part that makes wow start with your realmlist when you click the button (In my previous guide i told you how to make it do so):
    1. Go to "project" in the top bar.
    2. Click "Add windows form".
    3. Select "windows form".
    4. Click "add"
    5. You should now see a new form in the solution explorer the form will by default be named "form2.vb" By now, it should also display form2 in design mode.
    6. Now make your form like you want it.
    7. Add 3 buttons. 1 for engb, one for enus and one for your own server.
    8. Double click the engb button.
    9 Insert this code before anything els in the code window.

    Code:
    Code:
    Imports System.IO
    10. Insert code into the button click sub
    Code:
    Code:
            Dim installpath As String = String.Empty
            installpath = My.Computer.Registry.GetValue("HKEY_LOCAL_MACHINE\SOFTWARE\blizzard entertainment\world of warcraft", "installpath", Nothing)
            Dim fs As New FileStream(installpath & "realmlist.wtf", FileMode.Create, FileAccess.Write)
            Dim s As New StreamWriter(fs)
            s.WriteLine("set realmlist eu.logon.worldofwarcraft.com")
            s.WriteLine("set patchlist eu.version.worldofwarcraft.com")
            s.Close()
    11. Lets do the same with the enus

    Code:
    Code:
            Dim installpath As String = String.Empty
            installpath = My.Computer.Registry.GetValue("HKEY_LOCAL_MACHINE\SOFTWARE\blizzard entertainment\world of warcraft", "installpath", Nothing)
            Dim fs As New FileStream(installpath & "realmlist.wtf", FileMode.Create, FileAccess.Write)
            Dim s As New StreamWriter(fs)
            s.WriteLine("set realmlist us.logon.worldofwarcraft.com")
            s.WriteLine("set patchlist us.version.worldofwarcraft.com")
            s.Close()
    12. Now lets add some code to your own realmlist button.

    Code:
    Code:
      Dim installpath As String = String.Empty
            installpath = My.Computer.Registry.GetValue("HKEY_LOCAL_MACHINE\SOFTWARE\blizzard entertainment\world of warcraft", "installpath", Nothing)
            If File.Exists(installpath & "realmlist.wtf") Then
                File.Delete(installpath & "realmlist.wtf")
                Dim fs As New FileStream(installpath & "realmlist.wtf", FileMode.Create, FileAccess.Write)
                Dim s As New StreamWriter(fs)
                s.WriteLine("set realmlist your realmlist")
                s.Close()
            End If
    13. Now go to form1
    14. Double click the button you've used to start wow.
    15. Delete

    Code:
    Code:
            Dim fs As New FileStream("realmlist.wtf", FileMode.Create, FileAccess.Write)
            Dim s As New StreamWriter(fs)
            s.WriteLine("set realmlist your realmlist")
            s.Close()
    16. You'r done!

    Pew pew, lets take a 2 min break shall we?
    --------------
    Break over! Back to work

    3 - Remove the windows frame

    Now i will show you how to remove that ugly blue/silver/what ever bar on top of your application.

    1. Go to form1[design]
    2. Make sure you got the whole window marked (so that you edit the form and not an button)
    3. In the lower right corner you will find the properties window.
    4. Now find Font -> FormBorderStyle.
    5. Change it to None.
    6. Now you may notice that the border above your application is gone (:O) Lets start making our own.
    7. Depending on what you want your user to be able to do add:
    -Only close the application: 1 button.
    -Close and minimize the application: 2 buttons.
    -All the things you normaly can (minimize, maximize, and close): 3 buttons.
    8. Double click the button you've added to close the appication.
    9. Add this code

    Code:
    Code:
    Application.Exit()
    10. If you have an button to minimize the application add this code

    Code:
    Code:
      Me.WindowState = FormWindowState.Minimized
    11. If you have an button to maximize the application add this code

    Code:
    Code:
            If Me.WindowState = FormWindowState.Maximized Then
                Me.WindowState = FormWindowState.Normal
            Else
                Me.WindowState = FormWindowState.Maximized
            End If
    If you do chose to do this, i would advise you to do the same with the realmlist form. (form2)


    4 - Extra

    This is just some things you might want.
    1. - Reshack: A program that allows you to get .ico(icons) from exe files, like wow.exe

    Filebeam - Free Fast File Hosting

    2. - Icons well, just some icons i had on my computer, perhaps you can use them, wow icon also there + ts, msn, xfire etc etc etc

    Filebeam - Free Fast File Hosting

    That's it! you're done! I hope this was any help to you, as I've spend a lot of time on this guide.

    Thank you for reading
    Your sincerely
    Razordemon

    All Credits go to Kolklik on Ac-Web I just think that Mmowned should know about this.

    Make your own Custom Launcher in VB .net 2008
  2. #2
    Appled's Avatar Contributor
    Reputation
    105
    Join Date
    Apr 2007
    Posts
    568
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    OMG Very nice ;D +2rep

  3. #3
    Power of Illuminati's Avatar Contributor
    Reputation
    179
    Join Date
    May 2008
    Posts
    1,410
    Thanks G/R
    6/2
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Nice guide +Rep

  4. #4
    razordemon's Avatar Member
    Reputation
    19
    Join Date
    Feb 2008
    Posts
    62
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks for +rep

  5. #5
    colincancer's Avatar Active Member
    Reputation
    63
    Join Date
    Dec 2007
    Posts
    509
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by razordemon View Post
    13. Now go to form1
    14. Double click the button you've used to start wow.
    15. Delete

    Code:
    Code:
            Dim fs As New FileStream("realmlist.wtf", FileMode.Create, FileAccess.Write)
            Dim s As New StreamWriter(fs)
            s.WriteLine("set realmlist your realmlist")
            s.Close()
    16. You'r done!

    that part i dont get...in the code tags is that what im deleting? and from where, the button ive used to start WoW? wtf does that even mean? please help.
    #JODYS'WATCHiN

  6. #6
    AzolexX's Avatar Contributor
    Reputation
    179
    Join Date
    May 2007
    Posts
    587
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    +rep for you

    Find about scripting, programming and music! My blog: https://worldofsmth.wordpress.com!

  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)
    err didnt I see this in the programming area? lol

Similar Threads

  1. [Selling] Taking order to MAKE YOUR OWN customized Pokemon Go account with RARE Pokemon
    By Jaynguyen in forum Pokemon GO Buy Sell Trade
    Replies: 0
    Last Post: 07-26-2016, 12:53 AM
  2. Make your own custom Sign
    By Warriar in forum WoW EMU Guides & Tutorials
    Replies: 13
    Last Post: 10-11-2011, 12:33 PM
  3. How to create your own custom city and making a portal to get there!
    By wowcomputer in forum WoW EMU Guides & Tutorials
    Replies: 50
    Last Post: 12-02-2008, 04:42 AM
  4. Make your own Custom Mount!
    By -xepher- in forum World of Warcraft Emulator Servers
    Replies: 15
    Last Post: 02-08-2008, 02:35 PM
  5. [GUIDE] Making Your Own Launcher
    By Deathinabox in forum WoW EMU Guides & Tutorials
    Replies: 4
    Last Post: 01-09-2008, 09:51 PM
All times are GMT -5. The time now is 06:22 PM. Powered by vBulletin® Version 4.2.3
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search