G
Guest
I'm trying to read in a text file using code that I copied and pasted from
the MS help file.
Using Reader As New _
Microsoft.VisualBasic.FileIO.TextFieldParser("c:\bankcheck")
At this line I get "Request for the permission of type
'System.Security.Permissions.FileIOPermission, mscorlib, Version=2.0.0.0,
Culture=neutral, PublicKeyToken=b77a5c561934e089' failed."
I've tried researching this in the help files and on the web but, I must
confess, that what I've found has only confused me more.
The file DOES exist and I have full permissions to it. What am I doing wrong
and how can I fix it?
Thanks for you help.
Ken
the MS help file.
Using Reader As New _
Microsoft.VisualBasic.FileIO.TextFieldParser("c:\bankcheck")
At this line I get "Request for the permission of type
'System.Security.Permissions.FileIOPermission, mscorlib, Version=2.0.0.0,
Culture=neutral, PublicKeyToken=b77a5c561934e089' failed."
I've tried researching this in the help files and on the web but, I must
confess, that what I've found has only confused me more.
The file DOES exist and I have full permissions to it. What am I doing wrong
and how can I fix it?
Thanks for you help.
Ken