Re: unhandled SecurityException in Visual Basic 2005 Express

Tech-Archive recommends: Fix windows errors by optimizing your registry



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



.



Relevant Pages

  • I cannot run executable under FC5
    ... I've installed FEDORA CORE 5 on my desktop and it happens a strange thing. ... I cannot anymore run executable with the command ... It gives "permission denied". ...
    (linux.redhat)
  • Controlling Schatties Destiny
    ... For each day you post to this group, I have granted you permission ... you have obeyed my command to stay away. ... If someone else comments on their ski equipment, ... price, or the skiing ability of the purchaser. ...
    (rec.skiing.alpine)
  • Re: DSACLS for ADAM permission & ADSI for ADAM authentication
    ... the command worked but it does not seem to have an effect on the permissions. ... It says it granted the permission but when I use the ldp tool to authenticate a user which is under the ou=company it authenticate but when I searches for the attributes it bring nothing. ... user of inetOrgPerson in ADAM and when I connect to ADAM using the ldp it ...
    (microsoft.public.windows.server.active_directory)
  • Re: Cant launch graphical apps from php exec() on Ubuntu 8.04 system.
    ... You can't open server programs in remote clients via HTTP. ... command on a WAMP stack, so I think the problem is likely to ... permission based, having just switched to linux, but I'm not sure. ... account if used as a service. ...
    (comp.lang.php)
  • Re: group membership needed for looking at network usage?
    ... still run it by supplying the full path in the command. ... E.g. several programs run only as root; ... the user has execute permission. ...
    (comp.os.linux.networking)