Results 1 to 6 of 6
  1. #1
    Izochor's Avatar
    Join Date
    Sep 2011
    Gender
    male
    Posts
    500
    Reputation
    33
    Thanks
    133
    My Mood
    Lurking

    Toggle function in vb net

    Can anybody help me with this?

    Example: H key is binded to address(maxfps) and it should write 125 and 250 in turns if I press it.

  2. #2
    Lovroman's Avatar
    Join Date
    Sep 2012
    Gender
    male
    Posts
    9,430
    Reputation
    611
    Thanks
    9,717
    My Mood
    Cheerful
    Code:
    Dim flag as Boolean 
    flag = False
    'timer
    'checks
    If flag = False Then
    'enable
    flag = True
    Else
    'disable
    flag = False
    End If
    Something like this..
    This is ON/OF function tho.
    Last edited by Lovroman; 01-27-2014 at 02:56 PM.

  3. #3
    Horror's Avatar
    Join Date
    Oct 2010
    Gender
    male
    Location
    51,4.
    Posts
    6,940
    Reputation
    574
    Thanks
    5,004
    My Mood
    Twisted
    Quote Originally Posted by Lovroman View Post
    Something like this..
    All you need is to include the actual write function in this one and it should be good to go
     

    Minion+ : February 2014 - January 2015
    Counter Strike: Global Offensive Minion : November 2014 - January 2015
    Alliance of Valiant Arms Minion : August 2014 - January 2015
    Need For Speed World Minion : January 2014 - January 2015
    Rust Minion : January 2014 - January 2015
    Call of Duty Minion : January 2013 - January 2015
    Editor : December 2012 - April 2013
    Donator : March 2014 - Current
    Member : October 2010 - Current

    Previously known as "Isaakske".

  4. #4
    Minnesota Dabs's Avatar
    Join Date
    Nov 2013
    Gender
    male
    Location
    VOTE TRUMP
    Posts
    4,209
    Reputation
    615
    Thanks
    1,069
    My Mood
    Relaxed
    Quote Originally Posted by Lovroman View Post
    Code:
    Dim flag as Boolean 
    flag = False
    'timer
    'checks
    If flag = False Then
    'enable
    flag = True
    Else
    'disable
    flag = False
    End If
    Something like this..
    This is ON/OF function tho.
    What season of HIMYM are you on?
    Successful Trades: 52

    Scammed Trades: 6

    Vouch Profile!



    Consider donating to my PayPal!

  5. #5
    Lovroman's Avatar
    Join Date
    Sep 2012
    Gender
    male
    Posts
    9,430
    Reputation
    611
    Thanks
    9,717
    My Mood
    Cheerful
    Quote Originally Posted by BlueTreesTV View Post


    What season of HIMYM are you on?
    Dunno.
    I don't keep a track.

  6. #6
    Izochor's Avatar
    Join Date
    Sep 2011
    Gender
    male
    Posts
    500
    Reputation
    33
    Thanks
    133
    My Mood
    Lurking
    Thx for the help it works!

Similar Threads

  1. [Release] How do i call .net reference function from vb6 application?
    By XTIANZKIE21 in forum Visual Basic Programming
    Replies: 0
    Last Post: 10-07-2012, 08:59 AM
  2. [Help Request] How To Create A Toggle Function CE
    By Hikaru87 in forum C++/C Programming
    Replies: 4
    Last Post: 07-22-2012, 05:12 AM
  3. [VB.NET] ReadOnlineFile (WebClient) [Function]
    By Callo in forum Visual Basic Programming
    Replies: 4
    Last Post: 07-05-2010, 12:23 AM
  4. [VB.NET] IsAutoITFile [Function]
    By Callo in forum Visual Basic Programming
    Replies: 4
    Last Post: 07-05-2010, 12:23 AM
  5. what functions can be used in a vb.net dll?
    By t7ancients in forum Visual Basic Programming
    Replies: 0
    Last Post: 04-01-2009, 08:20 PM