Zip your source
-
-
Is there a tool or a macro that helps in creating a zipfile of your sourcecode. Often when I post a project to codeproject, there's always a file(s) missing I didn't think of. It would be easy when you create such a zipfile from within Visual Studio.
...a simple DevStudio add-in! There's an MFC class somewhere on CP which handles Zip/UnZip, so it wouldn't be too hard to do, methinks. The only trick would be identify which files to add, and which to leave out (whouldn't be too difficult). If you want to learn how to write add-ins, this sounds like a good project :) Andy Metcalfe - Sonardyne International Ltd
(andy.metcalfe@lineone.net)
http://www.resorg.co.uk"I used to be a medieval re-enactor, but I'm (nearly) alright now..."
-
...a simple DevStudio add-in! There's an MFC class somewhere on CP which handles Zip/UnZip, so it wouldn't be too hard to do, methinks. The only trick would be identify which files to add, and which to leave out (whouldn't be too difficult). If you want to learn how to write add-ins, this sounds like a good project :) Andy Metcalfe - Sonardyne International Ltd
(andy.metcalfe@lineone.net)
http://www.resorg.co.uk"I used to be a medieval re-enactor, but I'm (nearly) alright now..."
-
I know the MFC Zip/Unzip because I developed an ATL-based version from it : SAWZip. Do you know how to program a DevStudio Add-in?
I started one last week, and it's easy. I got it in a night so I have an add-in that creates a text file of bookmarks, with comments, brings them up in a dialog, and I can select them and jump to the file location. Not much, but it *will* be cool when it stores bug history in an ADO database and links to our bug tracker at work. The point is that it is easy. I considered doing it myself when I originally saw your comment. Just spend an evening in the MSDN and look at some samples. If you get stuck, I'd be happy to collaborate on a CP article that does it ( it sounds like we have the required bits between us ).
-
I started one last week, and it's easy. I got it in a night so I have an add-in that creates a text file of bookmarks, with comments, brings them up in a dialog, and I can select them and jump to the file location. Not much, but it *will* be cool when it stores bug history in an ADO database and links to our bug tracker at work. The point is that it is easy. I considered doing it myself when I originally saw your comment. Just spend an evening in the MSDN and look at some samples. If you get stuck, I'd be happy to collaborate on a CP article that does it ( it sounds like we have the required bits between us ).
Beaten to it again! Add-Ins are easy, though there are (as ever) a few funnies to contend with (toolbars, grrr. :confused: ) Seriously, both sound like excellent ideas to me, and if there's any way I can assist, please feel free to ask. :rolleyes: Hopefully I'll be publishing my own VC add-in (The Resource ID Organiser Add-In for Visual C++ 5.0/6.0) on CP very soon. Then...SourceSafe add-ins look challenging.... X| Andy Metcalfe - Sonardyne International Ltd
(andy.metcalfe@lineone.net)
http://www.resorg.co.uk"I used to be a medieval re-enactor, but I'm (nearly) alright now..."