I'm new to VB.NET and have come across a sample application which resembles a basic file explorer. Having opened the project, when I run it I get a message stating;
An unhandled exception of type 'System.Security.SecurityException' occurred in mscorlib.dll
Additional information: Request for the permission of type System.Security.Permissions.SecurityPermission, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 failed.
The program breaks at the following line;
Can anybody please tell me what is wrong?.![[ponder] [ponder] [ponder]](/data/assets/smilies/ponder.gif)
I have .NET Framework 1.1 installed.
An unhandled exception of type 'System.Security.SecurityException' occurred in mscorlib.dll
Additional information: Request for the permission of type System.Security.Permissions.SecurityPermission, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 failed.
The program breaks at the following line;
Code:
Dim Drives() As String
-> Drives = System.IO.Directory.GetLogicalDrives()
Can anybody please tell me what is wrong?.
![[ponder] [ponder] [ponder]](/data/assets/smilies/ponder.gif)
I have .NET Framework 1.1 installed.