vb.net - getting "~lock" in file info fullname -


i using fileinfo class in vb the fullname of file name insert listbox.

for example

dim fs_infos() fileinfo = dir_info.getfiles("*.txt") each fs_info fileinfo in fs_infos     listbox1.items.add(fs_info.fullname) next 

and im getting

a:\.~lock.4142_062017.txt# 

instead of a:\4142_062017.txt

please me! thanks!


Comments

Popular posts from this blog

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

python Tkinter Capturing keyboard events save as one single string -

sql server - Why does Linq-to-SQL add unnecessary COUNT()? -