Visual basic errors
Go to solution
Solved by Dujith,
If oDrive.DriveType = USBDRIVE And oDrive.DriveLetter "A" Then
Should be
If oDrive.DriveType = USBDRIVE And oDrive.DriveLetter <> "A" Then
Assuming that u want to find the drive letter.
Basically your if statement had no comparison in it
-
Featured Topics
-
Topics
-
0
-
2
-
8
-
1
-
0
-
Aussie_Avo ·
Posted in Networking3 -
2
-
Djeunut ·
Posted in Programming1 -
.anon ·
Posted in Storage Devices2 -
8
-
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now