C# external tool for SSMS - Reading from stdin

Posted by jheppinstall on Stack Overflow See other posts from Stack Overflow or by jheppinstall
Published on 2009-01-02T10:49:49Z Indexed on 2010/05/02 7:07 UTC
Read the original article Hit count: 226

Filed under:
|
|

Hi all,

I am trying to write an app that makes use of the external tools functionality of SQL Server Management Studio.

To specify an external tool, you can enter a path to the app and specify some arguments to pass to the app via STDIN.

Currently I just have a form that displays the arguments. Every time I run the external tool I get a new instance of the application.

Ideally I would like for the first time I run the tool to load the application, and each subsequent running to take the arguments from STDIN and do something with them WITHOUT creating a new instance of the app.

Is there anything I can do that could allow this, or am I stuck with lots of windows?

Thanks in advance

© Stack Overflow or respective owner

Related posts about c#

Related posts about SSMS