Jump to content

  •  

  • iBotModz CBox


    Halo117

    Member Since 07 Aug 2008
    Offline Last Active Sep 27 2008 07:55 PM
    -----

    Topics I've Started

    Brand New To Visual Basic 2008? Part 2

    18 September 2008 - 05:20 PM

    Here is the second part to Brand New To Visual Basic 2008?!

    Well this is going to be a more detailed tutorial then last time!

    What we are going to make is a Button so when clicked the current form window will Maximize, Minimize Or go back to Normal!

    So If we wanted to make a Maximize button we would have to start of with me so it knows that your talking about the current form opened...

    So We Put:

    Me.

    After we type Me. We will add:

    WindowState =

    Because it needs to know that we are talking about the WindowState becasue the Command Me. Could mean lot's of things!

    We also added the = Sign so it knows that that is what we want it to be\look when the command is finished!

    =

    After that we add

    FormWindowState.Minimized

    And that is all for a Maximize button:

    Here is what it should look like in the end:

    Me.WindowState = FormWindowState.Minimized

    Questions + Answers:

    Q: What if we wanted a Normal window state or a Maximized?

    A: Well all you would do is Replace Minimized And Put Maximized Or Normal

    Tip:

    You don't have to code it all A Window should show up saying a whole bunch of codes just select the one your looking for trust me it will save you alot of time and will be way more simple! The window should have 2 tabs at the Bottom saying "Common" and "All" If that is there you should have the right window!

    Part 3 Comming Soon:

    Brand New To Visual Basic 2008?

    16 September 2008 - 11:11 PM

    Here is a tutorial to help you guy to learn VB2008 before moving on to C# And C++!

    Well First I will explain all of the code listed!

    If - If a command happens.

    If Textbox1.Text = "Hello" Then

    Then - If that happpens then do this command! Heres an Example!

    If Textbox1.Text = "Hello" Then
    MsgBox("What do you want to be in your messagebox?")

    That is an Example of - Then

    Now after you put Then.
    And your code. When your finished the If Command put End If so it knows when the If Command should stop!

    So in the end it should look like

    If Textbox1.Text = "Hello"

    MsgBox("What do you want to be in your messagebox?")

    End If

    And you would put that code in your button or something that you click!...

    If you just want a Message Box to show you would just go...

    MsgBox("What do you want in your Messagebox? Enter that here!")

    If you wanted a more advanced Messagebox you would go! (I Would reccomend learning a bit on the Easy Message box before trying this one!)

    MessageBox.Show("What Text do you want to appear in the messagebox? Enter that here!","What Text do you want to appear in your Title Bar? Enter That Here!")

    Lets say if I wanted to make a button so when clicked the form would Close\Exit there are a few ways of doing this!

    You Could Go:
    Me.Close() 
    Or
    Close()

    There are a few other but im not goin to list them...

    What does this mean?:

    Me - The current application opened!

    If - If a command happens.

    Then - If something happens then do this command.

    End If - To end your If.

    How about another example:

    Lets say I wanted to make a Button so when clicked the Text in my Textbox1 That I have placed down will change to what I want!

    First you would want to type in Textbox1.Text so It know that we are talking aboot the text in my Textbox.

    So we would go like

    Textbox1.Text

    Then we would want to put a = Sign so it knows that we want the text to = Whatever we put in so we would go like

    Textbox1.Text =

    Then we would add "" So that is saying that is the text I want to appear in my Textbox1

    So It would look like:

    Textbox1.Text = "Whatever Text You Want To Appear in your Textbox1!"

    Thats All for that!

    Skinning Problem? SUPER WEIRD!

    02 September 2008 - 07:42 PM

    For some reason when I open Dot Halo and I try to Extract A image it shows really weird my image looks like this

    Is the new Ibotmodz ever coming back?

    01 September 2008 - 09:05 PM

    Hey is the new Ibotmodz ever going to be like it use to be?

    .MAP Resigner?

    20 August 2008 - 09:56 PM

    I have one question about this so called .MAP resigner... How does this generate does it even generate or is it just a simple code? Because if it is a simple code cant you just use that other Halo 2 resigner and put the code in there? Oh and what does it generate off of... Is that what we are trying to find out or what?