Hello & Welcome to our community. Is this your first visit? Register
Follow us on
Follow us on Facebook Follow us on Twitter Watch us on YouTube


MMOCoin

Likes Likes:  1
Results 1 to 2 of 2
  1. #1
    Graphics Guru

    Join Date
    Feb 2009
    Posts
    1,377
    Post Thanks / Like
    Rep Power
    22
    Reputation
    382

    [Visual Basic] World of Warcraft Launcher ((How-To Tutorial - DETAILED))


    Register to remove this ad
    { World of Warcraft Launcher Tutorial }

    Required Files:







    Follow this steps:


    • Open Visual Studio.
    • Click "New Project..."


    • Go under "Templates" and Select "Visual Basic" and then find "Windows Form Application" Click OK.


    • This is how it should look if you done everthing correctly.


    • Now Right Click the "Launcher" in solution explorer and click Properties. This is the window that should appear after you clicked Properties.


    • Now click on "Icon:" and find the IconWoW.ico and select it.


    • Go back to design tab and click "Form1".


    • Scroll all the way down until u see "Icon". Now use IconWoW.ico for your icon.


    • Now scroll up until you see "Text". You can change the text to like: "Optium WoW Launcher" or your server or anything you want!


    • Go to launcher tab again.


    • Resources > Add Existing File... Now select all the files from Launcher GUI and load them.


    • Now click on form1 again and scroll until you find "BackgroundImage".


    • Select "background.png" from Launcher GUI as "BackgroundImage". Resize it until you get something as this:


    • Now click on toolbox and select PictureBox under Common Controls. Load play_static as Image and BackColor as Transaprent.


    • Now do same for the all buttons until you have something like this:


    • Now we can move to coding! ooo i like this part ^_^

      Okay so, here's the thing. People love to see button changes after click, ima tell you that.

      Alright let's begin.

      First of all you must add this at the very top of the code:

      Code:
      Imports System.IO


      Play button is our PictureBox1

      So, double click the Play button and then paste this code:

      Code:
      PictureBox1.Image = My.Resources.play_pressed
      it should look like this:



      Moving to website button!

      Double click website button and paste this code:

      Code:
         PictureBox3.Image = My.Resources.web_pressed
              Process.Start("http://www.google.com")
      It should look like this:



      On to cache one

      Double click Cache button and paste this code:

      Code:
          PictureBox2.Image = My.Resources.cache_pressed
              If Directory.Exists(My.Computer.FileSystem.CurrentDirectory & "/Cache") Then
                  Dim Cache As String = (My.Computer.FileSystem.CurrentDirectory & "/Cache")
                  Select Case MsgBox("Do you want to delete the Cache folder?", MsgBoxStyle.Critical + MsgBoxStyle.YesNo, "WARNING")
                      Case MsgBoxResult.Yes
                          Directory.Delete(Cache, True)
                      Case MsgBoxResult.No
                  End Select
              End If
      Should look like this:



      Now let's make that play button work!

      Paste this code:

      Code:
          If File.Exists(My.Computer.FileSystem.CurrentDirectory & "/Wow.exe") Then
                  Shell(My.Computer.FileSystem.CurrentDirectory & "/Wow.exe")
                  Me.Close()
              Else
                  MsgBox("Could not start Wow.exe", MsgBoxStyle.Critical, "Application Not Found")
              End If
      Should look like this:



      Now right click "Solution 'Launcher'" and click Build Solution!



      And now you are done!!

      Navigate to your program directory, in my case my desktop then Launcher -> Bin -> Debug

      You should see Launcher application.
      Move it to your wow folder(where your wow.exe is) and test it.

      NOTE: Remember to save the visual project for later editing



    Credits TionHD


    › See More: [Visual Basic] World of Warcraft Launcher ((How-To Tutorial - DETAILED))

  2. #2
    Premium

    Join Date
    Jul 2011
    Posts
    3
    Post Thanks / Like
    Rep Power
    14
    Reputation
    2

    Register to remove this ad
    +1 Great tutorial; should help a lot of people out^^




  3. Related Threads - Scroll Down after related threads if you are only interested to view replies for above post/thread

 

 

Visitors found this page by searching for:

launcher

SEO Blog

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -5. The time now is 10:17 AM.
Powered by vBulletin® Copyright ©2000-2024, Jelsoft Enterprises Ltd.
See More links by ForumSetup.net. Feedback Buttons provided by Advanced Post Thanks / Like (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
vBulletin Licensed to: MMOPro.org