shanuragu
09-09-2003, 05:51 AM
Hi
Any function in VB to check whether a text file is empty??
shara
Any function in VB to check whether a text file is empty??
shara
|
Click to See Complete Forum and Search --> : Check a text file Empty?? shanuragu 09-09-2003, 05:51 AM Hi Any function in VB to check whether a text file is empty?? shara Superfly1611 09-09-2003, 08:25 AM whlist i don't know the code itself..... You would create a filesystemobject and read in the content of that file into a textstream. Then using the If ISEmpty(textstreamname) command you could check to see if it's empty or not? I think you could do it that way.... but i'm still fairly new to ASP/VB so i might be wrong. shanuragu 09-09-2003, 11:07 PM No i don't think so, IsEmpty arguments can be an expression or a single variable name, cannot be a textstreamname. I am not sure. Any function to check the length of a text file??? shara webdeveloper.com
Copyright Internet.com Inc., All Rights Reserved. |