Click here to Skip to main content
15,897,226 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: memorystream Pin
WhiteGirl2321-Aug-07 19:28
WhiteGirl2321-Aug-07 19:28 
AnswerRe: memorystream Pin
Guffa22-Aug-07 4:57
Guffa22-Aug-07 4:57 
GeneralRe: memorystream Pin
WhiteGirl2322-Aug-07 9:01
WhiteGirl2322-Aug-07 9:01 
QuestionFile Association Pin
Kschuler21-Aug-07 7:34
Kschuler21-Aug-07 7:34 
Questionhandshaking through a subdirectory Pin
MartyK200721-Aug-07 6:55
MartyK200721-Aug-07 6:55 
AnswerRe: handshaking through a subdirectory Pin
Dave Kreskowiak21-Aug-07 7:34
mveDave Kreskowiak21-Aug-07 7:34 
GeneralRe: handshaking through a subdirectory Pin
MartyK200721-Aug-07 8:00
MartyK200721-Aug-07 8:00 
GeneralRe: handshaking through a subdirectory Pin
Dave Kreskowiak21-Aug-07 8:53
mveDave Kreskowiak21-Aug-07 8:53 
MartyK2007 wrote:
can you define and appropriate amount of time.


Nope. That's where you have to define it based on your environment, the number of files in the set, network speeds, ...


MartyK2007 wrote:
Also does having 10 files mean the codes waits 10 periods or waits 1 period and hopes all 10 files have finished copying.


Again, that's up to you. Only you know how long it takes for a complete set to show up. How long has the biggest set taken to show up?

Basically, you're looking for an entire set of files to show up before you start copying/moving the files in that set. If you want the ral answers as to how this is going to work, and not work, you're going to have to write some test code to test to see if you can open these files for exclusive access WHILE they're being written to this folder. This is the only way you're going to know if your test will break the other app, or if the technique will work at all.


MartyK2007 wrote:
In theory that wont happen in my scenario


Say that again around professional developers and watch how fast they point and laugh at you.


MartyK2007 wrote:
that implies that some thought has been given by our unix team to crashes etc and that they have coded something like that - for which I am doubtfull.


This statement alone turns this project into an impossible task to make run "100% safe".


MartyK2007 wrote:
You dont have a decent "Pattern" for doing this anywhere do you??


I'd do some testing before I get to any design patterns. It's pretty much a waste of time if the technique you're trying to use doesn't work. Figure out what technique is going to work, then ytou can design a framework around it.


A guide to posting questions on CodeProject[^]

Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic
     2006, 2007


AnswerRe: handshaking through a subdirectory Pin
andyharman21-Aug-07 8:45
professionalandyharman21-Aug-07 8:45 
GeneralRe: handshaking through a subdirectory Pin
MartyK200721-Aug-07 21:05
MartyK200721-Aug-07 21:05 
AnswerRe: handshaking through a subdirectory Pin
Luc Pattyn21-Aug-07 12:30
sitebuilderLuc Pattyn21-Aug-07 12:30 
GeneralRe: handshaking through a subdirectory Pin
MartyK200721-Aug-07 21:07
MartyK200721-Aug-07 21:07 
QuestionCrystal Reports and Queries Pin
Dreamer200721-Aug-07 5:35
Dreamer200721-Aug-07 5:35 
AnswerRe: Crystal Reports and Queries Pin
TomGarth21-Aug-07 12:40
TomGarth21-Aug-07 12:40 
QuestionInstalling a font from setup Pin
dptalt21-Aug-07 5:30
dptalt21-Aug-07 5:30 
Questionregistering a library through regasm Pin
sheth.mital21-Aug-07 4:32
sheth.mital21-Aug-07 4:32 
AnswerRe: registering a library through regasm Pin
Dave Kreskowiak21-Aug-07 5:08
mveDave Kreskowiak21-Aug-07 5:08 
QuestionForm's Title Pin
ejaz_pk21-Aug-07 4:18
ejaz_pk21-Aug-07 4:18 
AnswerRe: Form's Title Pin
Dave Kreskowiak21-Aug-07 5:11
mveDave Kreskowiak21-Aug-07 5:11 
AnswerRe: Form's Title Pin
nlarson1121-Aug-07 5:41
nlarson1121-Aug-07 5:41 
QuestionImport Pics on project and reDel it .. problem ? Pin
kindman_nb21-Aug-07 3:36
kindman_nb21-Aug-07 3:36 
AnswerRe: Import Pics on project and reDel it .. problem ? Pin
leckey21-Aug-07 3:58
leckey21-Aug-07 3:58 
GeneralRe: Import Pics on project and reDel it .. problem ? Pin
kindman_nb21-Aug-07 9:39
kindman_nb21-Aug-07 9:39 
GeneralRe: Import Pics on project and reDel it .. problem ? Pin
Dave Kreskowiak21-Aug-07 10:28
mveDave Kreskowiak21-Aug-07 10:28 
QuestionMulti Language Interface ... Problem Pin
kindman_nb21-Aug-07 3:33
kindman_nb21-Aug-07 3:33 

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.