Visual Basic 2010/2008 Tutorial - How to get attributes (properties) of any file [HD] [#19] @DoubleDYouTube
Visual Basic 2010/2008 Tutorial - How to get attributes (properties) of any file [HD] [#19]  @DoubleDYouTube
Uploaded November 2011 | Updated November 2026, 13 hours ago
Visual Basic VB 2010/2008 Video YouTube Tutorial - How to get attributes (properties) of any file [High Definition]
---------------------------------------------------------------
Hey, guys! Welcome to this new VB video made by YouDucks32. In this tutorial, you will learn how to get all attributes (properties) of any file (full name, short name, location, creation time, last access time, last write time, attribututes: read only, exists, length and more).

This video is a part of the series where I try to show you something useful and interesting to do with your PC (besides, you know, watching that clickbait-y 'must see' video on YouTube while you're supposed to be studying/working lol). [#19]

Things needed for the tutorial:
- Visual Basic (to make the program)
- Notepad (to read the codes)
- This video

VB stuff needed for the tutorial:
- 2 GroupBoxes
- 1 Button
- 11 TextBoxes
- 9 Labels
- 2 CheckBoxes
- 1 OpenFileDialog
---------------------------------------------------------------
Codes needed:
****OpenFileDialog1_FileOK Sub:

SelectedFileTextBox.Text = OpenFileDialog1.FileName

FullNameTextBox.Text = My.Computer.FileSystem.GetFileInfo(SelectedFileTextBox.Text).FullName

ShortNameTextBox.Text = My.Computer.FileSystem.GetFileInfo(SelectedFileTextBox.Text).Name

LocationTextBox.Text = My.Computer.FileSystem.GetFileInfo(SelectedFileTextBox.Text).DirectoryName

FileTypeTextBox.Text = My.Computer.FileSystem.GetFileInfo(SelectedFileTextBox.Text).Extension

CreationTimeTextBox.Text = My.Computer.FileSystem.GetFileInfo(SelectedFileTextBox.Text).CreationTime

LastAccessTimeTextBox.Text = My.Computer.FileSystem.GetFileInfo(SelectedFileTextBox.Text).LastAccessTime

LastWriteTimeTextBox.Text = My.Computer.FileSystem.GetFileInfo(SelectedFileTextBox.Text).LastWriteTime

LenghtTextBox.Text = My.Computer.FileSystem.GetFileInfo(SelectedFileTextBox.Text).Length

TextBox1.Text = My.Computer.FileSystem.GetFileInfo(SelectedFileTextBox.Text).IsReadOnly

TextBox2.Text = My.Computer.FileSystem.GetFileInfo(SelectedFileTextBox.Text).Exists

If TextBox1.Text = "True" Then
ReadOnlyCheckBox.Checked = True
ElseIf TextBox1.Text = "False" Then
ReadOnlyCheckBox.Checked = False
End If

If TextBox2.Text = "True" Then
ExistsCheckBox.Checked = True
ElseIf TextBox2.Text = "False" Then
ExistsCheckBox.Checked = False
End If

****BrowseButton_Click Sub:

OpenFileDialog1.ShowDialog()
_________________________________________________________
Social media:
●Facebook: facebook.com/pages/eDuck-Programs
●YouTube: youtube.com/c/DoubleDorNot
●Twitch: twitch.tv/notdoubled

☄ wow, is it hot or what? ☄
Visual Basic 2010/2008 Tutorial - How to get attributes (properties) of any file [HD] [#19]If I could, I would make YouTube videos all day! [Glad we talked] [#01]How to monetize your API (Tutorial)[Hearthstone] Banana Brawl - Tempo Mage (Tavern Brawl)Im selling my Hearthstone account![60 Parsecs!] How could I not notice that... (Part 2)How to clean and speed up your PC [10 ways + programs + DL links] [Windows 7 Tutorial] [#06]Call of Duty MW3 - Survival Mode - Resistance [How to survive up to 30 waves] [PART 2]DAEMON Tools Lite [How to download and use - PC Tutorial] [#03][10fastfingers] How fast can YOU type? (Check your typing speed online)Call of Duty MW3 - Survival Mode - Resistance [How to survive up to 30 waves] [PART 1]What is web scraping?
Double D |

Visual Basic 2010/2008 Tutorial - How to get attributes (properties) of any file [HD] [#19]

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER