I am developing a console application for my public library as a school project. The console application will run as soon as the user logs on and do some background work.
The thing is, I don't want the console application to actually appear. I need it invisible. The last thing I need is complaints because some people got freaked out that a CMD window opened and closed, besides that the library wants it as invisible as possible.
I tried following the code in this thread:
http://social.msdn.microsoft.com/Forums/en-US/csharpgeneral/thread/ea8b0fd5-a660-46f9-9dcb-d525cc22dcbd
but to no avail, I can still see the console application pop open and close after it has done all of its work.
Is there a better way to stop the console from appearing? Thanks.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…