Results 1 to 4 of 4
  1. #1
    DayumKen's Avatar
    Join Date
    Feb 2010
    Gender
    male
    Location
    Houston, Texas, USA.
    Posts
    130
    Reputation
    10
    Thanks
    46
    My Mood
    Inspired

    [HELP] How do you add a "Save Settings" code in my menu strip menu?

    Here's what I'm trying to do:



    Thank you.

  2. #2
    Blubb1337's Avatar
    Join Date
    Sep 2009
    Gender
    male
    Location
    Germany
    Posts
    5,915
    Reputation
    161
    Thanks
    3,108
    https://www.mpgh.net/forum/33-visual-...s-article.html

    Second link in the tutorial sticky.



  3. #3
    tweaker99's Avatar
    Join Date
    Mar 2009
    Gender
    male
    Posts
    27
    Reputation
    10
    Thanks
    968
    here
    Code:
    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
             My.Settings.username = TextBox1.Text
            My.Settings.Save()
            My.Settings.Reload()
    
            My.Settings.password = TextBox2.Text
            My.Settings.Save()
            My.Settings.Reload()
            End
            End
            'go to properites and make 2 strings called -username- and -password-
        End Sub
        Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
            TextBox1.Text = My.Settings.Username
            TextBox2.Text = My.Settings.Password
        End Sub

  4. #4
    Jason's Avatar
    Join Date
    Apr 2010
    Gender
    male
    Location
    /dev/null
    Posts
    5,704
    Reputation
    918
    Thanks
    7,676
    My Mood
    Mellow

    Post

    Depends what you want to do, there's many ways of doing it.

    Some common ones:

    1. Use My.Settings
    2. Use Save/GetSetting
    3. Write and retrieve an ini file.

    Choose one and we can help better.

    Quote Originally Posted by Jeremy S. Anderson
    There are only two things to come out of Berkley, Unix and LSD,
    and I don’t think this is a coincidence
    You can win the rat race,
    But you're still nothing but a fucking RAT.


    ++Latest Projects++
    [Open Source] Injection Library
    Simple PE Cipher
    FilthyHooker - Simple Hooking Class
    CLR Injector - Inject .NET dlls with ease
    Simple Injection - An in-depth look
    MPGH's .NET SDK
    eJect - Simple Injector
    Basic PE Explorer (BETA)

Similar Threads

  1. [SOLVED] [HELP]how do you add "Have Fun at my server "PLAYERNAME"
    By OrphanMods in forum Call of Duty Modern Warfare 2 GSC Modding Help/Discussion
    Replies: 3
    Last Post: 09-14-2010, 04:50 PM
  2. [HELP] How would you make a G36E, into a M417 Combat, being that they have differnt m
    By hellohigoodbye in forum Combat Arms Mods & Rez Modding
    Replies: 1
    Last Post: 12-16-2009, 06:01 PM
  3. How do you add hacks to exception list???
    By random_person in forum Combat Arms Hacks & Cheats
    Replies: 3
    Last Post: 08-06-2009, 03:41 AM
  4. [Help] How do you get DDD555 aimbot to work with Xfire chams?
    By HAPPYxHACKING in forum Combat Arms Hacks & Cheats
    Replies: 1
    Last Post: 07-22-2009, 06:53 PM
  5. how do you add fonts in PS
    By darkone1149 in forum Art & Graphic Design
    Replies: 2
    Last Post: 02-06-2006, 05:32 PM