Results 1 to 8 of 8
  1. #1
    [PA]nts's Avatar
    Join Date
    Jan 2010
    Gender
    male
    Posts
    218
    Reputation
    12
    Thanks
    10
    My Mood
    Relaxed

    [Help]Change Button Text[Solved]

    How do you change the name of buttons in vB 2008?

    D:

  2. #2
    Lolland's Avatar
    Join Date
    Feb 2009
    Gender
    male
    Location
    Lolland!
    Posts
    3,156
    Reputation
    49
    Thanks
    868
    My Mood
    Inspired
    While making the button?

    Click the button, on the left there should be a "Properties" box. Scroll down until you see "Text" and in the box next to that add the text you want.

    Programmatically?

    Button1.text = "Add text here."

  3. #3
    [PA]nts's Avatar
    Join Date
    Jan 2010
    Gender
    male
    Posts
    218
    Reputation
    12
    Thanks
    10
    My Mood
    Relaxed
    Okay, got that. I followed a basic spammer tut. After saving the project, how do I make it the .exe?

  4. #4
    Shark23's Avatar
    Join Date
    Mar 2010
    Gender
    male
    Location
    Kansas
    Posts
    424
    Reputation
    10
    Thanks
    55
    My Mood
    Cool
    Lolland, he wants to change the name not the text. At the top of the properties window there is (Name) and you change the column next to that to whatever you want to name the button.
    Assembly Programmer

  5. #5
    [PA]nts's Avatar
    Join Date
    Jan 2010
    Gender
    male
    Posts
    218
    Reputation
    12
    Thanks
    10
    My Mood
    Relaxed
    No, lloland gave me the right answer. <3

  6. #6
    Lolland's Avatar
    Join Date
    Feb 2009
    Gender
    male
    Location
    Lolland!
    Posts
    3,156
    Reputation
    49
    Thanks
    868
    My Mood
    Inspired
    To get the .exe, on the top of the program it should say Build.

    Go Build > Build.

    Exit VB and save the project in it's default location (Documents\Visual Studio 2008\Projects\)

    Go to:

    \Documents\Visual Studio 2008\Projects\*project name here*\*project name here*\bin\Debug and there should be a .exe file for you.

  7. #7
    [PA]nts's Avatar
    Join Date
    Jan 2010
    Gender
    male
    Posts
    218
    Reputation
    12
    Thanks
    10
    My Mood
    Relaxed
    tank yew. <3

  8. #8
    NextGen1's Avatar
    Join Date
    Dec 2009
    Gender
    male
    Location
    Not sure really.
    Posts
    6,312
    Reputation
    382
    Thanks
    3,019
    My Mood
    Amazed
    Ok, So solved, Just do me a favor and remember to use a "appropriate" title for the thread IE: [Help]Change Button Text

    Etc Etc

    Marked Solved.


     


     


     



    The Most complete application MPGH will ever offer - 68%




Similar Threads

  1. [Help]Changing text values[Solved]
    By master131 in forum Visual Basic Programming
    Replies: 4
    Last Post: 10-13-2010, 07:38 AM
  2. [Help]Change Txt Colors[Solved]
    By ppl2pass in forum Visual Basic Programming
    Replies: 4
    Last Post: 05-10-2010, 02:43 AM
  3. [Source Help]Read/Write Text[Solved]
    By Samueldo in forum Visual Basic Programming
    Replies: 4
    Last Post: 04-05-2010, 10:17 AM
  4. [Help]Changing X,Y[Solved]
    By dylan40 in forum Visual Basic Programming
    Replies: 6
    Last Post: 03-24-2010, 04:56 PM
  5. Change XP Start button text
    By noregrets187 in forum Programming Tutorials
    Replies: 6
    Last Post: 08-18-2008, 09:46 PM