开发者

Visual Studio 2010 Macro - Reporting Progress

开发者 https://www.devze.com 2022-12-29 20:53 出处:网络
I have just discovered macros in Visual Studio and I can\'t be happier. Well... I have my complaints but... you know ;)

I have just discovered macros in Visual Studio and I can't be happier. Well... I have my complaints but... you know ;)

开发者_运维问答

A few of my macros are taking quite a while to complete and I am looking for a way to track progress. I build a log file during most of my macro processes but I have not found a good way to report progress without pausing the process. Ex. MsgBox("Progress")

Any way to access the output window or even better the VS status bar?


I made a macro for Visual Studio 2005 which needed a form to choose between some options. I made that form from code and everything worked fine.
I think that you can do something similar. You can create a form with a progress bar and use that to track your progresses.


You could also use the visual studio designer to generate the code for you.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号