Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
FileInfo.MoveTo delay
Message
De
26/11/2012 21:48:30
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Titre:
FileInfo.MoveTo delay
Versions des environnements
Environment:
VB 9.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01558133
Message ID:
01558133
Vues:
82
I have this declaration:
            Dim loFile As New FileInfo(tcSource)
Then, I want to move the file. I use something like this:
                    loFile.MoveTo(tcDestination)
Is it possible that this MoveTo() method is being executed in the background? I have a weird situation that, sometimes, once this command is being executed that the code which follows cannot see the file. I always assumed that method completes its operation before the code continues on the next line. But, what I am experiencing on a high volume transactions of moving file here and there leads me to think that there could be something behind all this.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform