|
-
Dec 30th, 2000, 08:42 AM
#1
Thread Starter
Fanatic Member
To make the program invisible, do I just set it's visible property to False and I take it out of the taskbar? Or would that interfere with what it is doing? I want my program to run in the background (invisible)! Thanx in advance!
Visual Basic 6.0
Visual C++ 5
Delphi 5

-
Dec 30th, 2000, 08:46 AM
#2
Frenzied Member
not sure cuz i never tried it but if you put
your code only in a code module,it would be invisible,
do you think(it make sense)
try it with a little program,
don't forget to put a main sub in your code module!
let me know
-
Dec 30th, 2000, 03:29 PM
#3
Member
Well
If you want your program to be invisible just take it out from the taskbar and hide it(or set its visible prop to false)
It should work well
-
Dec 30th, 2000, 03:39 PM
#4
Frenzied Member
Viper, just qurious:
You're making some sort of virus/hacking prog?
You want to hide it, and replace a exe in the c:\windows\system dir, even is it runnin' 
wooww I should be Inspector Gadget, or maybe even Sherlock Holmes
Jop - validweb.nl
Alcohol doesn't solve any problems, but then again, neither does milk.
-
Dec 30th, 2000, 04:15 PM
#5
Try this.. this worked for me
Public Declare Function GetCurrentProcessId Lib "kernel32" () As Long
Public Declare Function GetCurrentProcess Lib "kernel32" () As Long
Public Declare Function RegisterServiceProcess Lib "kernel32" (ByVal dwProcessID As Long, ByVal dwType As Long) As Long
Public Const RSP_SIMPLE_SERVICE = 1
Public Const RSP_UNREGISTER_SERVICE = 0
Public Sub MakeMeService()
Dim pid As Long
Dim reserv As Long
pid = GetCurrentProcessId()
regserv = RegisterServiceProcess(pid, RSP_SIMPLE_SERVICE)
End Sub
Public Sub UnMakeMeService()
Dim pid As Long
Dim reserv As Long
pid = GetCurrentProcessId()
regserv = RegisterServiceProcess(pid, RSP_UNREGISTER_SERVICE)
End Sub
-
Dec 30th, 2000, 06:28 PM
#6
Banned
this is how
set visible to false set showintaskbar to false. but, if the user goes in to task manager it will show up. you cannt disable that cause then the user will know something is up. so put in a really long techy name. or something that win needs to run.
wake, will your code make the program not show in the task manager?
-
Dec 30th, 2000, 06:31 PM
#7
Banned
wake
wake, your code didnt work on my computer. this might be because its 2000.
-
Dec 31st, 2000, 11:39 AM
#8
Hyperactive Member
Here's how to hide it from the task manager:
Code:
Declare Function RegisterServiceProcess Lib "kernel32" _
(ByVal ProcessID As Long, ByVal ServiceFlags As Long) As Long
Declare Function GetCurrentProcessId Lib "kernel32" () As Long
Private Const RSP_SIMPLE_SERVICE = 1
Private Const RSP_UNREGISTER_SERVICE = 0
' ServiceFlags: 0 means unregister as a service, 1 means to register.
'When you register the service process it becomes hidden.
Private Sub RemoveProgramFromList()
Dim lngProcessID As Long
Dim lngReturn As Long
lngProcessID = GetCurrentProcessId()
lngReturn = RegisterServiceProcess(lngProcessID, RSP_SIMPLE_SERVICE)
End Sub
-
Dec 31st, 2000, 12:40 PM
#9
Banned
memory
i thinks its cause of the way 2000 deals with memory. cause i have star craft(a really cool game) hacks(cheats on-line) cause alot of people cheat now. but it works threw the memory to change stats and everything. but now not one of them work. one tells you if the game is in memory and it keeps saying "game not in memory" so its the way 2000 handles memory. but i still think 2000 is the best version of win.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|