Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6925615
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T10:48:44+00:00 2026-05-27T10:48:44+00:00

How to search foldernames (for example ‘xerity’) and zip found folders (for example ‘zerxeritynar’,

  • 0

How to search foldernames (for example ‘xerity’)
and zip found folders (for example ‘zerxeritynar’, ‘hiun xerity natrer’ ,etc.) with Visual Basic.NET?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T10:48:45+00:00Added an answer on May 27, 2026 at 10:48 am

    For zipping, you can use SharpZipLib from this location. Using this library to perform your request is very easy:

    Dim sSourcePath As String
    Dim sTextToFind As String
    Dim sZipFileName As String
    
    sSourcePath = "D:\Temp"
    sTextToFind = "test"
    sZipFileName = "D:\temp\zippedfiles.zip"
    
    ' Zip all of the found files
    Dim oArchive As New FastZip
    
    oArchive.RestoreDateTimeOnExtract = True
    oArchive.CreateEmptyDirectories = False
    ' This uses the directory filter (last parameter) to only include the directories that match the string.
    oArchive.CreateZip(sZipFileName, sSourcePath, False, "", "*" & sTextToFind & "*")
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

What search do when they found different status code? 302 301 404 etc... I
I search for nurple in a file. I found it, great. But now, every
Binary search is harder to implement than it looks. Although the basic idea of
I search for a long time, but I still not found the answer. In
Search for a term on amazon.com, for example stack overflow, and the search results
Search as I may I have not found a solution to my problem here
I search didSelectRowAtIndexPath this key word And found most problem is how to trigger
I search on internet but did not find any best solution, i found one
Search the web for the phrase I cosay. I run across this phrase being
Search Engine Optimization (SEO) seems to be a topic I'm running into more and

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.