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 8810005
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T03:01:06+00:00 2026-06-14T03:01:06+00:00

Here is the scenario: My client machine is connected via a router to the

  • 0

Here is the scenario:

  • My client machine is connected via a router to the server located hundreds of miles away (I think its a VPN of some sort)
  • My VB6 program is waiting for the creation of a file on the server (mapped drive)
  • My vb6 program when it sees the file, takes that file locally via its unc path and adds some text to the bottom before printing to a zebra printer locally(this is a batch of files I process one right after the next-in a loop)
  • This is taking about 30 seconds (should take less than 1 second)
  • When I connect in remotely to troubleshoot somehow I get it to print at normal speed, without the 30 second delay
  • In troubleshooting everything from AV scanning to folder permissions I am starting to suspect that when I open the mapped folder to watch the files being placed into the mapped folder my speed/delay for each file manipulation goes away.
  • The next day when the customer runs it – the delay is back
  • I am thinking of adding some code to ‘open’ that window just before the batch is started to test this, but not even sure how to code that.

So my question is this: Can opening the mapped folder in Windows Explorer somehow speed up the transfer of files by my program? This seems to be what is happening, but in my mind, it should make no difference.

  • 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-06-14T03:01:07+00:00Added an answer on June 14, 2026 at 3:01 am

    Had the same problem and a techie ‘in house’ could point it to the caching of the files-system in a network (OS-level). That cache only refreshes once in every so much seconds (in my case 15 seconds). Nor ‘close’, nor ‘reset’ could force the server/PC with the file to refresh quicker (not even a .refresh in the filelistbox).

    So, when I asked over the network with ‘Dir’ if a file existed, I get an answer 15 seconds later.

    But, when I assume the file exists, I do a filecopy, and I wait for an error, surprise … I get the file immediately or I get immediately an error.

    BTW, it is not necessary to do a filecopy (for example, if it is a big file). A rename (and rename it again to the original filename) did the same for me.

    We spend a lot of time trying to resolve this but we discovered we needed to go too deep into the OS (and that differs each version), so, we opted for working with ‘hardcoded’ files, that is, we had the server make locally (that is, on the server) a textfile with the files he sees. That textfile has a hardcoded name the station knows … and then the station can instantly acces the files, without waiting for a refresh of the filesystem over the network.

    It is kind of weird, I know, but it really worked for us.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Here's the scenario: A client machine has connected to the 'Work network' via VPN
Here's the scenario: TABLE 1 (client table. imported into sql server via a csv
hey guys, here's a simple scenario NServiceBus Client/Server setup. The Message is a custom
We want to implement a client server application. here is the scenario. Server listens
Here's my clients scenario my client wants to put a excel file on server
Here is the scenario: Client sends a request to WCF Server to get product
Here is my scenario: A is a provisioning server and B is an client.
Here's the scenario: I have a client-server-application where the client sends encrypted data to
Here's the scenario - a client uploads a Sybase dump file to (gzipped) to
Here is my scenario... Users client application makes a request to a web service

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.