Show us your code. Monksnakes piece is syntactically correct (provided there is an object called File with a property called FileName). It's possible you have a mis-type somewhere or something along those lines that we wouldn't be able to see without seeing your code.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.