Re: unhandled SecurityException in Visual Basic 2005 Express
- From: "Cor Ligthert [MVP]" <notmyfirstname@xxxxxxxxx>
- Date: Thu, 20 Jul 2006 04:05:31 +0200
Ken,
I tried your command and cannot get any error. Your file description looks
strange to me, are you sure it exist and is a text file?
Cor
"KenEisman" <KenEisman@xxxxxxxxxxxxxxxxxxxxxxxxx> schreef in bericht
news:23CD5082-BCD9-48E1-8D5A-62EC3AB051F8@xxxxxxxxxxxxxxxx
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
.
- Prev by Date: Re: check database connection/open
- Next by Date: Re: ComboBox SelectionChangeCommitted event fires twice
- Previous by thread: Re: How much disk space is needed...
- Next by thread: Re: unhandled SecurityException in Visual Basic 2005 Express
- Index(es):
Relevant Pages
|