Type a page name and press Enter. You'll jump to the page if it exists, or you can create it if it doesn't.
To create a page in a module other than Enums, prefix the name with the module name and a period.
VB.Net How to get the Drives and their Type. Here is code under the Button1.Click event Sub.
Public Class Form1
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim allDrivesDriveInfo As System.Collections.ObjectModel.ReadOnlyCollection(Of System.IO.DriveInfo)
allDrivesDriveInfo = My.Computer.FileSystem.Drives
'Another way to get the Drives is:>>
Dim myDrives() As System.IO.DriveInfo = System.IO.DriveInfo.GetDrives
For Each d As System.IO.DriveInfo In myDrives
Select Case d.DriveType
Case System.IO.DriveType.Unknown
'Your code here.>>
Case System.IO.DriveType.NoRootDirectory
'Your code here.>>
Case System.IO.DriveType.Removable
'Your code here.>>
Case System.IO.DriveType.Fixed
'Your code here.>>
Case System.IO.DriveType.Network
'Your code here.>>
Case System.IO.DriveType.CDRom
'Your code here.>>
Case System.IO.DriveType.Ram
'Your code here.>>
End Select
If d.DriveType = System.IO.DriveType.CDRom And d.Name = "D:\" Then
'Your code here.>>
End If
Next
End Sub
End Class