How can I add a toolbar button to start an .exe file from Visual Studio 2010?

て烟熏妆下的殇ゞ 提交于 2020-01-12 14:23:28

问题


The title is self explanatory. I would like to add a button to a toolbar in order to run an external executable.

How can I do this?


回答1:


Add the application as an "External Tool", using Tools... > External Tools. Take note of where your entry was added to the list; on a stock vs2010, that would be entry #5.

Click the mini drop-down button on the right side of your toolbar and select Add or Remove Buttons > Customize...

Click Add Command..., select the Tools category on the left, then External Command N on the right, where N is the entry number from the External Tools dialog.



来源:https://stackoverflow.com/questions/7039783/how-can-i-add-a-toolbar-button-to-start-an-exe-file-from-visual-studio-2010

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!