Reputation: 113
I've added a "start review" context menu item for .pdf files.
In the registry I've added this as the command:
"c:\myscript\abc.exe" "%1"
The .exe is a C# application built in C# .NET.
The issue is that whenever I right-click a PDF file and choose the "start review" menu item, I get a black command window opening. How can I get rid of this?
Upvotes: 1
Views: 669
Reputation: 2427
Change the output type to "Windows Application". The following link should help...
http://msdn.microsoft.com/en-us/library/vstudio/s3awkzkh(v=vs.100).aspx
Good Luck!
Upvotes: 1
Reputation: 20850
To always hide the console, you can go to Project > Properties and change the Output type to Windows Application:
Upvotes: 1