Hi, Thanks for reply. I can't change this code. I have to call this code from my own code. So is there any way to make the code working without changing the code ? I mean do I require to set some values or call other methods before calling this code ??
Thank You. --- In [email protected], "Erik Hansen" <[EMAIL PROTECTED]> wrote: > > Hi, > > You need a filename for the FileIOPermission('','r'), like > FileIOPermission('c:\\temt\\xyz.txt','r'); > > Best regards > Erik Hansen > > > > >From: "chat_abc_xyz" <[EMAIL PROTECTED]> > >Reply-To: [email protected] > >To: [email protected] > >Subject: [development-axapta] demand() of FileIOPermission > >Date: Tue, 19 Dec 2006 06:21:38 -0000 > > > >Hi All, > > > >I have the following code of X++. > > > >FileIOPermission permission; > >permission = new FileIOPermission('','r'); > >permission.demand(); > > > > > >The code fails at last line. I have to use this code and i can't make > >changes to this code. > > > >Can u please tell me how should I call this code so that it won't fail > >(if by using any pre-requisties) ?? > > > >Thank you all in advance. > > > > _________________________________________________________________ > Find dine dokumenter lettere med MSN Toolbar med Windows-pc- søgning: > http://toolbar.msn.dk >

