Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

.NET 

[Example]Getting a Window Handle & Showing/Hidding the window

Okay lets get straight to it. Do your 3 steps.

Open Visual Basic(Or Visual Studio), making a new form application, and name it.

Once you have that done add a Label, TextBox, and 3 Buttons.
Name the label "Process Name:" (without quotes)
Name first button "Get Handle", second button "Show", and third button "Hide" (Without quotes)

Now right click your form and click View Code, So now we can declare some variables. Check out the spoiler for code.
Spoiler (Click to View)

Double click your Get Handle Button and add this code to it
Spoiler (Click to View)

Double click your Show button and add this code to it
Spoiler (Click to View)

Double click your Hide button and add this code to it
Spoiler (Click to View)

So now your code should look like this
Spoiler (Click to View)

You can use the different defined Const for Minimizing, Maximizing, Restoring your window and more.

I hope you enjoyed the following example, cheers everyone.
Great tutorial. I'm sure it will help out a lot of people! 👍


Possibly Related Threads...
Thread / Author Replies Views Last Post
[C] by hoangdatcm89Dec 9, 2018 02:17 PM 9 471 Dec 9, 2018 02:17 PM
Last Post: Mr. Kim
[.NET] by hoangdatcm89Nov 24, 2018 01:39 PM 2 236 Nov 24, 2018 01:39 PM
Last Post: NYANxCAT
[C#] by gigajewJul 26, 2018 07:42 PM 1 279 Jul 26, 2018 07:42 PM
Last Post: techcrunch