Results 1 to 13 of 13
  1. #1
    tremaster's Avatar
    Join Date
    Mar 2010
    Gender
    male
    Posts
    523
    Reputation
    10
    Thanks
    95
    My Mood
    Amazed

    Post [Tutorial]transparent form

    ok so i got bored so heres a simple tut

    3 buttons
    button1 is the steath button
    button2 is the no steath button
    button 3 is the exit button

    ok first make you form border style none
    then double click button1 TransparencyKey = BackColor
    after that double click button 2 TransparencyKey = Color.Gray
    then for button3 Me.Close()
    and then your done

  2. #2
    Blubb1337's Avatar
    Join Date
    Sep 2009
    Gender
    male
    Location
    Germany
    Posts
    5,915
    Reputation
    161
    Thanks
    3,109
    check how other tuts are buildt and redo yours.



  3. #3
    tremaster's Avatar
    Join Date
    Mar 2010
    Gender
    male
    Posts
    523
    Reputation
    10
    Thanks
    95
    My Mood
    Amazed
    no its simple

  4. #4
    Blubb1337's Avatar
    Join Date
    Sep 2009
    Gender
    male
    Location
    Germany
    Posts
    5,915
    Reputation
    161
    Thanks
    3,109
    did you even read my post o_O?



  5. #5
    tremaster's Avatar
    Join Date
    Mar 2010
    Gender
    male
    Posts
    523
    Reputation
    10
    Thanks
    95
    My Mood
    Amazed
    yea .

  6. #6
    NextGen1's Avatar
    Join Date
    Dec 2009
    Gender
    male
    Location
    Not sure really.
    Posts
    6,312
    Reputation
    382
    Thanks
    3,019
    My Mood
    Amazed
    Very Basic, Not much of a tutorial, But thank you for sharing it

    What blubb is saying, it is a little hard to read and understand especially by your would be readers as they usually will be new to vb.net a format like.

    Amendment:

    _____________________

    Open VB.net and create a new windows application

    From your toolbox add
    - 3 buttons

    In the properties of each button, change the names respectively

    Button1 Name = Stealth
    Button2 Name = UnHide ' Or similiar
    Button3 Name = Exit

    Note: For quick keys, you can add the &char which will allow Alt + key after & Symbol

    example

    Button1 Name = &Stealth
    Button2 Name = Un&Hide ' Or similiar
    Button3 Name = E&xit

    This will allow the user to press alt + S to enable stealth, Alt + H To Unhide the form and Alt + X to exit the application

    Now change the form properties border style to "None"
    ' This will remove the border from the form, You can do this dynamically by hard coding

    Form Load Event

    [php]
    Me.Borderstyle = "none"
    [/php]


    in Button1_Click Event (Double Click Button1)

    add this code

    [php]
    TransparencyKey = BackColor
    [/php]


    double click button 2 to get Button2_Click Event

    [php]
    TransparencyKey = Color.Gray
    [/php]

    Double CLick button 3 to get to the code view and in buton3_click event add

    [php]
    me.dispose
    exit
    [/php]

    That's it, it's that simple.

    _______________________________

    Even simple tutorials can be made user/new[user] Friendly, and for the sake of the tutorial, could or should, if your attempt is to help someone learn, then using some format can be beneficial , in the above example, I took your tutorial and separated it to make it more understandable.


    Last edited by NextGen1; 03-27-2010 at 03:29 PM.


     


     


     



    The Most complete application MPGH will ever offer - 68%




  7. The Following User Says Thank You to NextGen1 For This Useful Post:

    Tunguestenio (03-27-2011)

  8. #7
    Invidus's Avatar
    Join Date
    Jan 2010
    Gender
    male
    Posts
    2,167
    Reputation
    23
    Thanks
    650
    My Mood
    Bored
    LMao awesome job nextgen, as always.

  9. The Following User Says Thank You to Invidus For This Useful Post:

    NextGen1 (03-27-2010)

  10. #8
    trevor206's Avatar
    Join Date
    Dec 2008
    Gender
    male
    Posts
    324
    Reputation
    12
    Thanks
    107
    Quote Originally Posted by NextGen1 View Post
    Very Basic, Not much of a tutorial, But thank you for sharing it

    What blubb is saying, it is a little hard to read and understand especially by your would be readers as they usually will be new to vb.net a format like.

    Amendment:

    _____________________

    Open VB.net and create a new windows application

    From your toolbox add
    - 3 buttons

    In the properties of each button, change the names respectively

    Button1 Name = Stealth
    Button2 Name = UnHide ' Or similiar
    Button3 Name = Exit

    Note: For quick keys, you can add the &char which will allow Alt + key after & Symbol

    example

    Button1 Name = &Stealth
    Button2 Name = Un&Hide ' Or similiar
    Button3 Name = E&xit

    This will allow the user to press alt + S to enable stealth, Alt + H To Unhide the form and Alt + X to exit the application

    Now change the form properties border style to "None"
    ' This will remove the border from the form, You can do this dynamically by hard coding

    Form Load Event

    [php]
    Me.Borderstyle = "none"
    [/php]


    in Button1_Click Event (Double Click Button1)

    add this code

    [php]
    TransparencyKey = BackColor
    [/php]


    double click button 2 to get Button2_Click Event

    [php]
    TransparencyKey = Color.Gray
    [/php]

    Double CLick button 3 to get to the code view and in buton3_click event add

    [php]
    me.dispose
    exit
    [/php]

    That's it, it's that simple.

    _______________________________

    Even simple tutorials can be made user/new[user] Friendly, and for the sake of the tutorial, could or should, if your attempt is to help someone learn, then using some format can be beneficial , in the above example, I took your tutorial and separated it to make it more understandable.


    I second ur Amendment lol i need some help nextgen is it possible to get the html elements for vb from a proxy site cause i tried but i cant find em :

  11. #9
    NextGen1's Avatar
    Join Date
    Dec 2009
    Gender
    male
    Location
    Not sure really.
    Posts
    6,312
    Reputation
    382
    Thanks
    3,019
    My Mood
    Amazed
    Send me a PM with the information so as not to hijack the thread. I can help


     


     


     



    The Most complete application MPGH will ever offer - 68%




  12. #10
    Spookerzz's Avatar
    Join Date
    Jan 2010
    Gender
    male
    Posts
    4,647
    Reputation
    26
    Thanks
    572
    Here's the code so you can actually read it separably

    Code:
    TransparencyKey = BackColor
    after that double click button 2 TransparencyKey = Color.Gray
    then for button3 Me.Close()
    I'm back.

  13. #11
    Blubb1337's Avatar
    Join Date
    Sep 2009
    Gender
    male
    Location
    Germany
    Posts
    5,915
    Reputation
    161
    Thanks
    3,109
    Quote Originally Posted by ___GodLike___ View Post
    Here's the code so you can actually read it separably

    Code:
    TransparencyKey = BackColor
    after that double click button 2 TransparencyKey = Color.Gray
    then for button3 Me.Close()
    >>

    Code:
    TransparencyKey = BackColor
    Afterwards double click button 2(unhide) >
    Code:
    TransparencyKey = Color.Gray
    Button3 (closing the program) ->

    Code:
    Me.Close(



  14. #12
    Spookerzz's Avatar
    Join Date
    Jan 2010
    Gender
    male
    Posts
    4,647
    Reputation
    26
    Thanks
    572
    All this does is make the form so you can't click on it.
    I'm back.

  15. #13
    Invidus's Avatar
    Join Date
    Jan 2010
    Gender
    male
    Posts
    2,167
    Reputation
    23
    Thanks
    650
    My Mood
    Bored
    Pfft. Fail. Please use or [php][/php] tags.

Similar Threads

  1. [C#]Transparant form
    By Hell_Demon in forum C# Programming
    Replies: 4
    Last Post: 04-23-2010, 10:37 AM
  2. [Tutorial] Make Forms Prettier
    By treeham in forum Visual Basic Programming
    Replies: 13
    Last Post: 01-30-2010, 05:54 AM
  3. *DLL* [Tutorial] Make Your first DLL Interacted to a Form Project...
    By Silk[H4x] in forum Visual Basic Programming
    Replies: 14
    Last Post: 06-26-2009, 08:52 PM
  4. [Tutorial]VB2008! How To Make Digital Clock On Your Form!
    By almog6666 in forum Visual Basic Programming
    Replies: 3
    Last Post: 04-09-2009, 01:55 PM
  5. [Tutorial]Vb6 Transparent Form
    By blipi in forum Visual Basic Programming
    Replies: 16
    Last Post: 01-31-2008, 08:43 AM