Guys, I can't still figure out how to show to a user the file info of a file programamtically. Can I just use the Properties window that Windows use to show all the detals of a file (e.g. name, type, size, path, date created ect.)
I am using the IO namespace, can anyone help me please?
Jump to Post
Try this :
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim Info As New FileInfo("D:\000.jpg") MsgBox("Name : " & Info.Name & vbCrLf & _ "Length : " & Info.Length & " bytes" & vbCrLf & _ "Type : " & Info.Extension & …
All 3 Replies
Be a part of the DaniWeb community
We're a friendly, industry-focused community of 1.21 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.