Hi, in my web app i have create a webDialog to show … “Wait, the file must be created and then you can download this…”
i have an other external app that creates these files ex… file1.ppp, file2.ppp, file3.ppp…
My webDialog must shows “wait …the file must be created”, when the file is completely created
(and external procedure has completed his steps… and the file like file1.ppp is closed and not locked)
my webDialog must shows a button to download this file…
i have created WebDialogW with a webTimer with ModeSingle.
this is the code inside timer :
dim f as folderitem
dim f1 as folderitem
dim fn as string
dim fn1 as string
do until f.exist
'now the file exist and to know if it is in exclusive mode (if other application not closes the file, the file result locked) i try to rename this… and catch error…
do until f1.exist
'…now the f1 exist and the f is not in exclusive mode
now set webTimer to ModeOff and activate download button.
all work fine… but if i watch task scheduler , when my webApp uses 15mb of ram, at the end of these
loops uses 65mb of ram…
can anyone help me ???
sorry for my bad english…