Click here to Skip to main content
15,906,567 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Is there a general way to check a string... Pin
Dave Kreskowiak28-May-04 9:12
mveDave Kreskowiak28-May-04 9:12 
GeneralVBA/Excel - Chart options Pin
Jon G28-May-04 7:19
Jon G28-May-04 7:19 
GeneralRe: VBA/Excel - Chart options Pin
Dave Kreskowiak28-May-04 7:37
mveDave Kreskowiak28-May-04 7:37 
GeneralRe: VBA/Excel - Chart options Pin
Jon G28-May-04 8:09
Jon G28-May-04 8:09 
GeneralRe: VBA/Excel - Chart options Pin
amit2530-May-04 23:11
amit2530-May-04 23:11 
GeneralRe: VBA/Excel - Chart options Pin
Jon G31-May-04 2:31
Jon G31-May-04 2:31 
Generalfile size... Pin
Night_Soul28-May-04 5:10
Night_Soul28-May-04 5:10 
GeneralRe: file size... Pin
Dave Kreskowiak28-May-04 5:55
mveDave Kreskowiak28-May-04 5:55 
Let me see if I understand you...

You want to monitor the size of a file, and based on its size, you want to determine if it's safe to copy the file to another server and then erase the file and let the other app recreate it.

Correct? It's possible... but a questionable technique.

A better method would be to try and rename the file constantly. If the file is open, the rename will fail. When the rename finally succeed's, you accomplish two things. One, the file is immediately taken out of the way of the other application, freeing it to create another one. Second, you now have exclusive rights to the renamed file because the other applications know nothing of the new name. You are free to do whatever you want with this renamed file, like copy it to a server, and if the server is not available at the time of the copy, store the file locally to be copied up later.


RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome

GeneralRe: file size... Pin
Night_Soul30-May-04 21:02
Night_Soul30-May-04 21:02 
GeneralRe: file size... Pin
Dave Kreskowiak31-May-04 0:51
mveDave Kreskowiak31-May-04 0:51 
GeneralRe: file size... Pin
Night_Soul31-May-04 2:33
Night_Soul31-May-04 2:33 
GeneralRe: file size... Pin
Serge Lobko-Lobanovsky31-May-04 23:27
Serge Lobko-Lobanovsky31-May-04 23:27 
GeneralRe: file size... Pin
Anonymous7-Jun-04 2:08
Anonymous7-Jun-04 2:08 
GeneralDisable ESC key... Pin
cyberstrategist28-May-04 3:00
cyberstrategist28-May-04 3:00 
GeneralRe: Disable ESC key... Pin
Dave Kreskowiak28-May-04 3:15
mveDave Kreskowiak28-May-04 3:15 
GeneralRe: Disable ESC key... Pin
Night_Soul28-May-04 5:16
Night_Soul28-May-04 5:16 
GeneralRe: Disable ESC key... Pin
Dave Kreskowiak28-May-04 5:44
mveDave Kreskowiak28-May-04 5:44 
GeneralRe: Disable ESC key... Pin
Night_Soul30-May-04 20:45
Night_Soul30-May-04 20:45 
GeneralGetObject Issues Pin
Carlos Mariano28-May-04 1:32
Carlos Mariano28-May-04 1:32 
GeneralRe: GetObject Issues Pin
Dave Kreskowiak28-May-04 3:11
mveDave Kreskowiak28-May-04 3:11 
GeneralRe: GetObject Issues Pin
Carlos Mariano2-Jun-04 23:12
Carlos Mariano2-Jun-04 23:12 
GeneralRe: GetObject Issues Pin
Dave Kreskowiak3-Jun-04 1:24
mveDave Kreskowiak3-Jun-04 1:24 
GeneralRe: GetObject Issues Pin
Carlos Mariano3-Jun-04 5:51
Carlos Mariano3-Jun-04 5:51 
GeneralRe: GetObject Issues Pin
Dave Kreskowiak3-Jun-04 12:13
mveDave Kreskowiak3-Jun-04 12:13 
GeneralGetting Email Address Pin
Member 112651927-May-04 16:44
Member 112651927-May-04 16:44 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.