Results 1 to 7 of 7

Thread: Request In Progress: Zip Utility

  1. #1
    Join Date
    Sep 2006
    Location
    Kirkland, IL
    Posts
    76

    Zip Utility

    I'm about 80% there with a zip utility to automatically zip up the GBPVR Logs and place them into a directory.
    Last edited by rwmech; 2006-10-19 at 02:37 PM.
    Rob Mech - Kirkland, IL - www.robsprogrammingjunk.com
    __________________________________________________ ______________________
    Athlon XP 1700+ | GeForce 5200 | NVidia Decoder | Technisat Air2PC ATSC Tuner

  2. #2
    Join Date
    Sep 2006
    Location
    Kirkland, IL
    Posts
    76

    ZIP Utility, V1

    Ok, i have the first version of the ZIP utility done.

    Move the LogZIP.dll to your PLUGINS directory.

    Please note, you'll need to install the j# redistributable 2.0 on your system if you dont already have it.

    http://www.microsoft.com/downloads/d...DisplayLang=en

    is the download link.

    Let me know how this works for you. The first version ONLY copies to the C:\temp directory. I'll add support for different directories shortly.
    Rob Mech - Kirkland, IL - www.robsprogrammingjunk.com
    __________________________________________________ ______________________
    Athlon XP 1700+ | GeForce 5200 | NVidia Decoder | Technisat Air2PC ATSC Tuner

  3. #3
    Join Date
    Nov 2005
    Location
    Michigan, USA
    Posts
    3,526
    Here is what I get.

    Code:
    10/19/2006 11:07:15 AM.937	VERBOSE	[1]	Starting Thread
    10/19/2006 11:07:15 AM.937	VERBOSE	[6]	Zipping Log Files To: C:\temp\10-19-2006_11-07-15_AM_GBPVRLOGS.ZIP
    10/19/2006 11:07:16 AM.234	VERBOSE	[6]	Looking in:C:\Program Files\devnz\gbpvr\GBPVR.exe
    10/19/2006 11:07:16 AM.234	VERBOSE	[6]	Zipping Failed: System.IO.IOException: The directory name is invalid.
    
       at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
       at System.IO.Directory.InternalGetFileDirectoryNames(String path, String userPathOriginal, String searchPattern, Boolean includeFiles, Boolean includeDirs, SearchOption searchOption)
       at System.IO.DirectoryInfo.GetFiles(String searchPattern, SearchOption searchOption)
       at System.IO.DirectoryInfo.GetFiles()
       at LogZIP.ZipLogs.DoWork()
    Fatman_do

    HTPC: AMD XP+2500, 512MB DDR (400) ~ Capture Device: Hauppage PVR-150
    Storage: 30GB OS & Recording, 160GB Post Processing & Archive
    Video Output: HD 32" TV via eVGA Geforce 6200le 256MB AGP DVI-HDMI cable out
    Audio Output: Turtle Beach Riviera S/PDIF Optic Output (Digital pass thru only) to Home Theater Receiver



    Moderator | Tutorials | Community Skin | CommunitySkin-SVN

  4. #4
    Join Date
    Aug 2006
    Location
    Boston, MA (Metrowest actually)
    Posts
    1,653
    ahh the irony, an error log from a utility made to collect error logs

    I have not meaningful contribution, just thought that was funny

  5. #5
    Join Date
    Sep 2006
    Location
    Kirkland, IL
    Posts
    76
    Quote Originally Posted by Fatman_do View Post
    Here is what I get.

    Code:
    10/19/2006 11:07:15 AM.937	VERBOSE	[1]	Starting Thread
    10/19/2006 11:07:15 AM.937	VERBOSE	[6]	Zipping Log Files To: C:\temp\10-19-2006_11-07-15_AM_GBPVRLOGS.ZIP
    10/19/2006 11:07:16 AM.234	VERBOSE	[6]	Looking in:C:\Program Files\devnz\gbpvr\GBPVR.exe
    10/19/2006 11:07:16 AM.234	VERBOSE	[6]	Zipping Failed: System.IO.IOException: The directory name is invalid.
    
       at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
       at System.IO.Directory.InternalGetFileDirectoryNames(String path, String userPathOriginal, String searchPattern, Boolean includeFiles, Boolean includeDirs, SearchOption searchOption)
       at System.IO.DirectoryInfo.GetFiles(String searchPattern, SearchOption searchOption)
       at System.IO.DirectoryInfo.GetFiles()
       at LogZIP.ZipLogs.DoWork()
    Yup, slight bug there. Try this version
    Rob Mech - Kirkland, IL - www.robsprogrammingjunk.com
    __________________________________________________ ______________________
    Athlon XP 1700+ | GeForce 5200 | NVidia Decoder | Technisat Air2PC ATSC Tuner

  6. #6
    Join Date
    Sep 2006
    Location
    Kirkland, IL
    Posts
    76
    Quote Originally Posted by Ted the Penguin View Post
    ahh the irony, an error log from a utility made to collect error logs

    I have not meaningful contribution, just thought that was funny
    That is pretty hilarious actually.
    Rob Mech - Kirkland, IL - www.robsprogrammingjunk.com
    __________________________________________________ ______________________
    Athlon XP 1700+ | GeForce 5200 | NVidia Decoder | Technisat Air2PC ATSC Tuner

  7. #7
    Join Date
    Nov 2005
    Location
    Michigan, USA
    Posts
    3,526
    That did the trick.
    Fatman_do

    HTPC: AMD XP+2500, 512MB DDR (400) ~ Capture Device: Hauppage PVR-150
    Storage: 30GB OS & Recording, 160GB Post Processing & Archive
    Video Output: HD 32" TV via eVGA Geforce 6200le 256MB AGP DVI-HDMI cable out
    Audio Output: Turtle Beach Riviera S/PDIF Optic Output (Digital pass thru only) to Home Theater Receiver



    Moderator | Tutorials | Community Skin | CommunitySkin-SVN

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •