Udostępnij za pośrednictwem


File information cannot be queried while open for writing

An attempt was made to obtain information about a file that is currently open for writing.

To correct this error

  • Close the file and attempt the operation again.

See Also

Tasks

How to: Get Information About a File in Visual Basic

Reference

FileInfo

FileIOPermission