my project starts with sub main of a bas module.
in this sub some initialization of variables takes place
after that load form takes place (but form is not shows)
in this form there is a timer ctrl and a text box.
the timer interval is set to 30000 ms.
in the timer event the content of text box is written to a disk file in some folder.

i want to hide my app. from windows tasklist


these are i tried but failed

1.)App.TaskVisible = False
2.) form1.ShowInTaskbar = False (compiler error)
compile error:
Function or interface marked as restricted, or the function uses an Automation type not supported in Visual Basic

3.)ShowWindow Me.hWnd, SW_HIDE
SetWindowPos Me.hWnd, -1, 0, 0, 0, 0, SWP_NOACTIVATE Or SWP_NOMOVE Or WP_NOSIZE

plz, help me