开发者

Automatically run script/EXE when exiting from the VB6 IDE to check-in to SVN

I'd like t开发者_如何学Goo run a script to do a SVN check-in automatically when exiting the VB6 IDE.

Is there any easy way to do that from within the IDE? (I guess I could write a script that launches the VB6 IDE, waits for it to exit, then runs the script, but I'm hoping for something simpler).


While an external script doesn't seem like that much of a hack, it looks like you ought to be able to catch the VB IDE closing and let that trigger your action.

I'm not any kind of expert on VB6 add-ins, but there's information out there on creating them using the VBE (extensibility) object model. If you write an add-in that implements VBIDE events, perhaps you could catch an 'OnClose' or similar. As long as your project files have been saved by then, your script could do what it needs without interfering.

As I said, I'm no expert so I can't give you direct advice. But maybe this will provoke an add-in maven to chime in. (-:

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜