[VB] Woot? menu

Shout-Out

User Tag List

Thread: [VB] Woot?

Results 1 to 6 of 6
  1. #1
    Timzorize's Avatar Member
    Reputation
    9
    Join Date
    May 2008
    Posts
    206
    Thanks G/R
    1/0
    Trade Feedback
    0 (0%)
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    [VB] Woot?

    what should I do?

    [VB] Woot?
  2. #2
    Apoc's Avatar Angry Penguin
    Reputation
    1388
    Join Date
    Jan 2008
    Posts
    2,750
    Thanks G/R
    0/13
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Well you can't explicity check if a string is a boolean value. s.Equals("TRUE") might be what you're looking for.

  3. #3
    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)
    Looking at the next bit, you want this:
    Code:
    If Not s = ""
    And replace in the startgame() function the line
    Code:
    Return False
    with
    Code:
    Return ""
    Hope that helps.

  4. #4
    Timzorize's Avatar Member
    Reputation
    9
    Join Date
    May 2008
    Posts
    206
    Thanks G/R
    1/0
    Trade Feedback
    0 (0%)
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by ReidE96 View Post
    Looking at the next bit, you want this:
    Code:
    If Not s = ""
    And replace in the startgame() function the line
    Code:
    Return False
    with
    Code:
    Return ""
    Hope that helps.

    I did not understand you correctly, I'm sorry, can you please fill in how you mean and mark the new things with Bold so I can easly see what you changed!

    Code:
            Dim s As String = startgame()
    
            If Not s = False Then
                My.Settings.wow = s
                My.Settings.Save()
            Else
                Exit Sub
            End If
    
        End Sub
    
        Function startgame()
            Try
                Dim installpath As String = My.Computer.Registry.GetValue("HKEY_LOCAL_MACHINE\SOFTWARE\blizzard entertainment\world of warcraft\", "installpath", Nothing)
                Dim proc As Process = System.Diagnostics.Process.Start(installpath + "WoW.exe")
                Return installpath
            Catch
                Return False
            End Try
        End Function

  5. #5
    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)
    Sure
    Code:
            Dim s As String = startgame()
    
            If Not s = "" Then
                My.Settings.wow = s
                My.Settings.Save()
            Else
                Exit Sub
            End If
    
        End Sub
    
        Function startgame()
            Try
                Dim installpath As String = My.Computer.Registry.GetValue("HKEY_LOCAL_MACHINE\SOFTWARE\blizzard entertainment\world of warcraft\", "installpath", Nothing)
                Dim proc As Process = System.Diagnostics.Process.Start(installpath + "WoW.exe")
                Return installpath
            Catch
                Return ""
            End Try
        End Function
    Hope that helps!

  6. #6
    Timzorize's Avatar Member
    Reputation
    9
    Join Date
    May 2008
    Posts
    206
    Thanks G/R
    1/0
    Trade Feedback
    0 (0%)
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Thanks a lot, it did work! +Rep

Similar Threads

  1. Woot For Mmowned
    By Apocalyptic_Hunter in forum World of Warcraft General
    Replies: 3
    Last Post: 01-12-2007, 05:42 PM
  2. Can sum one help me out with that woot guide
    By WOWISFUN in forum World of Warcraft Guides
    Replies: 4
    Last Post: 12-02-2006, 06:35 PM
  3. Woot gold guide
    By Hounro in forum World of Warcraft Guides
    Replies: 8
    Last Post: 12-02-2006, 12:16 PM
  4. Woot!
    By Tory in forum World of Warcraft General
    Replies: 10
    Last Post: 09-23-2006, 01:21 PM
  5. woot! check this out (wailing caverns moddle change!
    By bloodofwar in forum World of Warcraft Model Editing
    Replies: 7
    Last Post: 08-20-2006, 04:44 PM
All times are GMT -5. The time now is 02:22 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