Website may be up and down over next few months. I'm currently doing a complete overhaul of everything. Going back to simple individual .htm pages, new overall site theme, sanitizing and cleaning up html of all pages and blog posts, attempting to implement a new tooling and publishing system etc etc.

ZipThatSnip

File: ZipThatSnip.zip (61.34 kb)
Requires: SharpZipLib (included)
Date: March 22, 2004

To get ZipThatSnip up and running do that fallowing...

  1. Extract the ZipThatSnip.zip file to a desired directory.
  2. Open the "ZipThatSnip Macro method.txt" file and copy the macro code into one of your macro files in vs.net. You will need to edit the macro method and change the code ("D:\My Documents\Visual Studio Projects\Projects\ZipThatSnip\bin\ZipThatSnip.exe") to point the the location of the ZipThatSnip.exe file that you previously unzipped from step 1.
  3. Now all you have to do is start coding! When you want to make a code snip you can simply select the code you want, and run the ZipThatSnip macro.

What happens when you run the ZipThatSnip macro is the macro saves the code you selected to a temp file then runs the ZipThatSnip.exe app with the temp file as a command line argument.

The ZipThatSnip app then runs and loads the temp file with the code inside it and displays it under the "Code Snip" tab. NOTE: Even if you edit the code snip with ZipThatSnip your changes will not be saved or included when you click the "Zip It" button!

To create code snips ...

All you have to do is click the "Zip File" button to specify the path and filename of the zip file you want to create. Then click the "Zip It" button to zip your code snip file and readme.txt file, and you are done.

Also, when the ZipThatSnip app exists it automatically deletes any temporary files it created as well as the temp file that stored the code snip, that the ZipThatSnip macro created.

Templates ...

The ZipThatSnip app also supports readme.txt templates! Instead of having to write a readme.txt file from scratch every time you want to make code snip, you can simply create a "Templates.txt" file in the same folder as the ZipThatSnip.exe app. Then when you run  ZipThatSnip.exe it will look for this file and load it into the "Readme.txt" tab if it exists.

ZipThatSnip application requirements ...

The ZipThatSnip app uses the "ICSharpCode.SharpZipLib.dll" assembly to create zip files. This file is also included in the ZipThatSnip.zip file. You can find more info about the SharpZipLib here SharpZipLib.

Created by: X

Just another personal website in this crazy online world

Name of author Dean Lunz (aka Created by: X)
Computer programming nerd, and tech geek.
About Me -- Resume