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?
markdean.expres
0
Junior Poster
Recommended Answers
Jump to PostTry 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
Jx_Man
987
Nearly a Senior Poster
Featured Poster
thines01
401
Postaholic
Team Colleague
Featured Poster
markdean.expres
0
Junior Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.