nrpanda


Hi,

I need a VFP program whose name should not be shown in Windows Task Manager list, neither in Task Bar nor in System Tray during run-time.

How can i achieve that Can it be done through VFP 6.0

Any example or idea plz

With regds.

nrpanda

-----------------------------------------------------------

A VFP 6.0 Programmer




Re: How to create a VFP program whose name should not be shown during runtime in task bar, task list, systray ?

CetinBasoz


Config.fpw:

screen=off

and no UI element would do it. ie:

* my background task.exe - main.prg

Code Block

Local oTimer
oTimer = createobject('myTimer')
Read events

Define class myTimer as Timer
Interval = 1000
Started = datetime()
Procedure Init
Strtofile("I'm running... "+ ttoc(datetime()),"started.txt")
Endproc

Procedure Timer
If DateTime() > this.Started + 30
This.Enabled = .f.
Strtofile("Stopped at "+ttoc(datetime()),"started.txt",.t.)
Clear events
Endif
Endproc
Enddefine







Re: How to create a VFP program whose name should not be shown during runtime in task bar, task list, systray ?

dni

It is a virus or spy You may change some registry keys after you launch it, but that is possible to affect os and virus software.....







Re: How to create a VFP program whose name should not be shown during runtime in task bar, task list, systray ?

Stuart Dunkeld

To hide from task manager you have three ugly choices:

1) Install a rootkit (potentially illegal)

2) Hack task manager itself as detailed at
http://www.codeproject.com/system/Hack_Windows_Task_Manager - this may
not work on later versions of Windows as the task manager interface
has changed.

3) Use the kernel mode driver from
http://www.planet-source-code.com/vb/scripts/ShowCode.asp lngWId=1&txtCodeId=66529

Another option (assuming you are writing a legitimate program) would
be to not give your users the rights to end your process (by running a
service in a different security context maybe) or disable the use of
task manager itself.

Regards





Re: How to create a VFP program whose name should not be shown during runtime in task bar, task list, systray ?

LeoLems

Hi nrpanda,

Maybe you can upgrade to fox 7.0 or higher.....

There is an property on a form that is Called ShowInTaskbar

Run it as a top level form and then there is NO taskbar item..

Hopefully this helps someone..

Leo