Login Register






[VB.Net] Hide a Program from runtime showing filter_list
Author
Message
[VB.Net] Hide a Program from runtime showing #1
well, its very simple but good for beginners.

Create a new timer then double click it and add this code:

Code:
Timer1.Interval = 100 Timer1.Enabled = True Me.Opacity = 0 Me.Hide() Me.ShowInTaskbar = False Me.visible = False Me.ControlBox = False Me.Height = 0 Me.Width = 0 Me.ShowIcon = False Me.TransparencyKey = Me.BackColor Me.FormBorderStyle = BorderStyle.None

um... i think this is enough :lp:



Code Explanation


Me.hide(): Hides the Form.

Me.opacity = 0: Sets the form's opacity to 0. Normal Opacity is 100 which gets see able the more it gets near to 0. 0 is completely non-seable.

Me.showintaskbar = false: Hides the program from being showed in the taskbar.

Me.visible = false: Hides the form.

Me.Controlbox = false: Hides the Maximize Minimize Exit buttons.

Me.Height = 0: Sets the form's height to 0.

Me.Width = 0: Sets the form's width to 0.

Me.Showicon = false: Doesn't show the form's icon in Alt+Tab.

Me.TransparencyKey = Me.BackColor: Sets the transparency key which can make a color be invisible in the form and since it selects the form's backcolor the form is invisible.

Me.FormBorderStyle = BorderStyle.None: Removes the form's Border.




Well you can always use a Me.hide or a Me.visible = false but wrote this post for beginners to introduce them more ways Smile


Hope you liked it Smile
Pierce the life fibers with your drill.

Reply

RE: [VB.Net] Hide a Program from runtime showing #2
Thanks for the info

Reply

RE: [VB.Net] Hide a Program from runtime showing #3
Yeah helpful for me ! thanks 1234hotmaster , you're really helping me in vb.net , keep up the good work !

Reply

RE: [VB.Net] Hide a Program from runtime showing #4
GREAT Thanxx! Smile))))
I know I can,
Be what I wanna be,
If I work hard at it,
I'll be where I wanna be!!!
:thumbs:

Reply

RE: [VB.Net] Hide a Program from runtime showing #5
ofc! wait ill go post
Pierce the life fibers with your drill.

Reply