Is there a possibility to suppress the Mathematica Kernel taskbar tab when accessing it through .NETLink on Windows?

-
Welcome. There is no need to sign your messages; that is what the user block below each post and your profile are for. –  Mr.Wizard Feb 7 '12 at 12:45
This is not really .NETLink related: the question is if there's a command line option that'll prevent the kernel from showing itself in the taskbar (BTW I think this behaviour is deliberate, ad not an oversight, though I can completely understand why someone would want to hide it). –  Szabolcs Feb 7 '12 at 13:05

The command line option to call the kernel with to suppress the taskbar button is -noicon. You need to pass this flag to MathKernel.exe when launching it.

Here's a demonstration from within Mathematica:

kernel = LinkLaunch[First[\$CommandLine] <> " -mathlink -noicon"]


This will launch a new kernel and connect to it. On Windows, the new kernel will not show on the taskbar.

I do not remember where I learned about this command line flag. It took me quite a few minutes to be able to recall it at all.

-
@alxppp I don't know Visual Basic or any .NET, but my guess is that you need to launch the kernel using Wolfram.NETLink.MathLinkFactory.CreateKernelLink("-noicon") –  Szabolcs Feb 7 '12 at 15:08