Why setting Application.MainFormOnTaskbar to False is not preventing the application from showing on taskbar?
Please help. Thanks.
Because that's not what it does. MainFormOnTaskbar makes it so that the main form shows up as a taskbar button instead of the application itself. If you want to make an app with no presence on the taskbar, see this article.