I would guess something like:
MsgBox("Name: " & fFileSystemInfo.DirectoryName & vbcrlf & "Length: " & fFileSystemInfo.Length & vbcrlf & etc. etc. )
Obviously I haven't checked that, but I think you get the gist of the idea. Though instead of using a message box, perhaps a multi-line textbox...
I picked up a book a couple years ago titled "Microsoft Visual Basic 2008 Express Edition: Build a Program Now!"
It walks you through creating a VB application to grab weather info from MSN and display it in the taskbar, and along the way gets you familiar with writing functions and subs and...
gawd, that made a mess of the code didn't it. Maybe this'll work better...
Public Sub CheckIt()
ListView1.TopItem.Selected = True
If My.Computer.Network.IsAvailable() Then
ListView2.Items.Clear()
ListView1.Focus()
ListView1.Refresh()...
I just did something like this a couple days ago. I used a form with 2 ListView controls (ListView1 is a list of teh computer names to check, ListView2 is the results; views displayed side-by-side/overlapping to hide ListView1 scrollbars) tied to a single Vscrollbar and such, and mine checks to...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.