(Move categories to tip template) |
(Fix typos) |
||
Line 27: | Line 27: | ||
</pre> |
</pre> |
||
− | There are |
+ | There are a lot more things you can do, check out: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vcug98/html/_asug_application_object.asp the application in that link is the "obj" in the code. |
==tip 2== |
==tip 2== |
||
Line 41: | Line 41: | ||
==Comments== |
==Comments== |
||
− | |||
− | ---- |
Revision as of 11:31, 31 May 2008
Tip 719 Printable Monobook Previous Next
created May 14, 2004 · complexity intermediate · author Jens Berlips · version 6.0
tip 1
This tip has some similarities with script#864.
If you want to rebuild the entire project in Visual Studio 6++:
function! RebuildAllVC() python << EOF import win32com.client obj = win32com.client.GetActiveObject('MSDev.Application') obj.RebuildAll() EOF endfunction
There are a lot more things you can do, check out: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vcug98/html/_asug_application_object.asp the application in that link is the "obj" in the code.
tip 2
Using VisVim and the new VIM6.3 *-P* option you can get vim to be your default editor inside VS6.
Example:
"gvim -P Microsoft Visual C++"
Note: If VS6 hangs Vim won't close, as a consequence there will still be an instance in the taskbar. Kill it if you wan't to restart VS6 and use VIM!