Bassicaly you want to hide it from task manager?
Is there any codes where the program can't be seen in the task manager process tab?
I'm creating a program which is to move files without the program getting closed.
If I will release my program found at the process tab of task manager, My method will be found.
Any Idea guys?![]()
Bassicaly you want to hide it from task manager?
Hope It HelpsSub hideme ()
'This hides this program so that it doesn't
'appear in the task list.It thus prevents
'the user from setting focus on this program
'by using Alt-Tab or the Task Manager
Dim Handle As Integer
Dim WindowName As String
WindowName = App.Title
Const SW_Hide = 0
Handle = FindWindow(0&, WindowName)
X% = ShowWindow(Handle, SW_Hide)
End Sub
nathanael890 (04-15-2010)
Hmm...
I think you can do it in vb6 but im not sure in 2008/2010.
Get next and see if he can answer it.
-Rest in peace leechers-
Your PM box is 100% full.
hejsan, do u think my code will work?
codes aren't declared.
I didn't know why..
Hmm, i dunno then dude. i dont think u can do it in vb8, If i can remember i think u can in vb6 tho?.. hmm dunno sorry dude
My friend uses vb6 to create programs. but I use vb8. so the code helps from my friend.. [that is why I pressed thanks.]
but I still need the vb8 code for it. ^^
[I had just mixed up. ^^]
Last edited by nathanael890; 04-15-2010 at 10:41 AM.
wat the code i gave u works on vb6 but not vb8?
VenumC&P(ed) vb6 code the best way to make it hide is making your application a Windows Service, which I explained in detail, I think it is in the snippets vault, if not I will try and locate it.
------I will be honest though, I would like to know what you are doing this for?-------
Last edited by NextGen1; 04-15-2010 at 11:06 AM.
the methods 'FindWindow' and 'ShowWindow' are in the user32.dll lib
make an import of the methods to your program and it will work
It will still show up in the process list. Not active windows list with that code. You need to read in the process manager list and simply remove the process you want(Simple code). Or modify the Flink and blink entries.
"I don't believe in an afterlife, so I don't have to spend my whole life fearing hell, or fearing heaven even more. For whatever the tortures of hell, I think the boredom of heaven would be even worse." - Isaac Asimov
yeah, What are you guys talking about......? Findwindow has NOTHING to do with the task manager .....
@wtf
Simple, but didn't share the code?
I wrote a read task manager tut, but again, not even relevant.
To remove you will A. need API or B, have your application be a webserver,
X.hideprocess (application.hideprocess) no longer works (post vb6)
Originally I was going to attempt a name change (change the application name to "" [quotes with nothing in it] and the application will not show in the task manager, but I feel uncomfortable about discussing potentially malicious applications, so /Closed
Reasons as stated above, plus user has PM(ed) me.
nathanael890 (04-16-2010)