Archive: Overwirte question


Overwirte question
Sorry i have to repost i dont find my last post

Did someone know how to auto ignore file when the file is already in use ?

I dont wnna use SetOverWrite because, if the file is not currently in use i waana be able too overwrite de file thx


You double posted so I removed it. The first post and the answer can be found at:

http://forums.winamp.com/showthread....hreadid=182018


In this way, i read your explaination. but in my case

a fave my main programme xyz.mde, and i wanna replace by a new xyz.mde...but when the program is use my a termenal server, many user use the xyz.mde so i cant overwrite it.. :-(

So i wanna create a setup who will simpely replace the file only when it possible. In the case that the file is not overwrited, i will pop-up a warning just like " please disconnect your remote pc, because a cant bla bla bla... "

so waht can i do ?


You can use `SetOverwrite on` and set the error text to "please disconnect..." using FileErrorText.


how work Setoverwrite ?

It dont overwrite the file if the file existe ?

or overwrite the file only if it can ?


If you use SetOverwrite on and the file can't be overriden, a message box with the text specified using FileErrorText will pop up, asking the user to abort, ignore or retry. If it can be overriden, it will be, no questions asked.


this is already this way....

But the program is for a Terminal server... I need ne question.. no pause.. no interruption

You can, replace it.. else, forget it...butdont stop running... this is what i want...

So, this is ahy i need an auto-skip file if the file is already in use...


That's exactly what SetOverwrite try does. What's wrong with it?


Question about, the same subject

so... SetOverwrite dont ork.. when it On a get the same error
"error cannot open for writing"....

when i set it to off.. the program skip all existing file, with reason,....

so... hy everybody say " Use set overwrite " ??


If you use SetOverwrite try you won't get any error message. The file will simply be skipped. That's exactly what you've asked for:

You can, replace it.. else, forget it...

Ok... found it

it not Set Overwrite On.. or Off it TRY

Thx