PDA

View Full Version : If a folder exist or if a file is bigger than 3 Mb?


todorov
10-02-2006, 04:07 PM
hi

i want to write a script but i dont know how i can.

i have two buttons on my project. Button 1 and Button 2. both of them r visible.

i want to use "if" for them.

for Button 1= if C:\\Program Files\\xxx folder exists, Button 1 must be invisible or disabled.

for Button2= if C:\\Program Files\\xxx\\yyy.doc is bigger than 3 mb, Button 2 must be invisible or disabled.

Please help :huh

lnd
10-02-2006, 05:30 PM
Good Luck From Lnd The File In Attach

todorov
10-03-2006, 11:15 AM
Thansk Ind. A perfect and a quick solution for my problem. I don t know what must i say but i did a great job for me :yes