[HELP]How to C&P?[Solved]

Posts 1–15 of 16 · Page 1 of 2
[HELP]How to C&P?[Solved]
err... i have made 2 application, and i want to make a multi-tool for me and for my friends.....
i made a calculator and an injector
and the problem is i cant put the forms so that the code is like this
Code:
    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
        Me.Hide()
        Form2.Show()
    End Sub

    Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
        Me.Hide()
        Form3.Show()
    End Sub
but i cant put both of the form in the application.......
can somebody help me solve this problem?thanks
Modify your code to this:

[php]Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Form2.Show
Me.Close
End Sub

Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
Form3.Show
Me.Close
End Sub[/php]
Frist go to Project Properties or w/e then set when form closes to another option (i'm at school so idk) however there's 2 options just change it.

then use "Close" instead of "Hide". there's code:



[html]
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Form2.show 'will show form2
me.close ' it will close the form you're coding at
End Sub
[/html]
[html] Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
Form3.show ' it will show you form3
me.close ' it will close the form you're coding at
End Sub[/html]
...
both of u didnt even answer my problem.......
i have no problem in the
Code:
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
        Form2.Show
        Me.Close
    End Sub

    Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
        Form3.Show
        Me.Close
    End Sub
but the problem is i wan to add another form into this form so that i can use the code above.....
Press "Project" on the top menu bar and then click "Add Windows Form" and you'll have a new form. That all?
Quote Originally Posted by Jason View Post
Press "Project" on the top menu bar and then click "Add Windows Form" and you'll have a new form. That all?
@OP, L2R actually.
So when you say made a injector and calculator, you meant C&Ped source do what they said if you are trying to add a new form, not sure exactly what you are saying, but if this form is going to be the main form, you will need to change the load form in the properties
I HAVE 2 APPLICATION and 2 form from different file
i wan to insert the form to the main form so that the application have 3 form...
main form have 2 button
form2 is injector
form3 is calculator
and i have the code :
Code:
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
        Form2.Show
        Me.Close
    End Sub

    Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
        Form3.Show
        Me.Close
NOW THE PROBLEM IS I WAN TO ADD THE INJECTOR AND CALCULATOR TO A MAIN FORM....(I OPEN 3 APPLICATION AND I WAN TO ADD THE CALCULATOR AND INJECTOR TO FORM1
bump~
PLS CAN ANYONE HELP ME.......
OR GIV ME YOUR MSN EMAIL SO THAT I CAN COMMUNICATE WITH U EASILY
Quote Originally Posted by bbhing987 View Post
bump~
PLS CAN ANYONE HELP ME.......
OR GIV ME YOUR MSN EMAIL SO THAT I CAN COMMUNICATE WITH U EASILY
Dude it's solved as far as we know. Did you even try any of the things we told you to do? Also,

Quote Originally Posted by you
NOW THE PROBLEM IS I WAN TO ADD THE INJECTOR AND CALCULATOR TO A MAIN FORM....(I OPEN 3 APPLICATION AND I WAN TO ADD THE CALCULATOR AND INJECTOR TO FORM1
Is pretty much unreadable. Use google translator it cant be much worse.
WTF........
MY PROBLEM IS NOT EVEN SOLVED......

AS I KNOW LAST TIME THE QUESTION LIKE THIS HAS BEEN SOLVED.....
BUT I CANT FIND THE THREAD BACK
1st Stop using caps
2nd Read J-Deezys post for FUCKS sake.
Hes a C+P'er...
sad
thanks all........
i dont need ur help for this now......
i just C+P the injector and calculator and make new form in the main form
MODERATOR PLS CLOSE THIS THREAD
Quote Originally Posted by bbhing987 View Post
thanks all........
i dont need ur help for this now......
i just C+P the injector and calculator and make new form in the main form
MODERATOR PLS CLOSE THIS THREAD
You sad prick
C+P dont deserve to live
GTFO
/flame need
Posts 1–15 of 16 · Page 1 of 2
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Talk with us