There are no permissions per se on PPC files. Thus you can't query or
change them.
You can use System.IO.FileInfo to handle r/o files.
Best regards,
Ilya
This posting is provided "AS IS" with no warranties, and confers no
rights.
--------------------
From: "Glyn Meek" <
[email protected]>
Newsgroups: microsoft.public.dotnet.framework.compactframework
References: <
[email protected]>
<ODgR#
[email protected]>
Subject: Re: XML Closing error - UnauthorizedAccessException
Lines: 75
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
X-RFC2646: Format=Flowed; Original
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
Message-ID: <
[email protected]>
Date: Wed, 23 Feb 2005 19:37:04 GMT
NNTP-Posting-Host: 63.246.189.227
X-Complaints-To: (e-mail address removed)
X-Trace: newsread3.news.pas.earthlink.net 1109187424 63.246.189.227 (Wed,
23 Feb 2005 11:37:04 PST)
NNTP-Posting-Date: Wed, 23 Feb 2005 11:37:04 PST
Organization: EarthLink Inc. --
http://www.EarthLink.net
Path:
TK2MSFTNGXA02.phx.gbl!TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP08.phx.gbl!newsfeed00.
sul.t-online.de!t-online.de!newshub.sdsu.edu!elnk-nf2-pas!newsfeed.earthlink
.net!stamper.news.pas.earthlink.net!newsread3.news.pas.earthlink.net.POSTED!
fdcd6659!not-for-mail
Xref: TK2MSFTNGXA02.phx.gbl
microsoft.public.dotnet.framework.compactframework:71761
X-Tomcat-NG: microsoft.public.dotnet.framework.compactframework
Ilya...thanks for the quick response. I thought it was a
'permissions'
thing, but how do I KNOW what permissions are for Pocket PC files, and
how
do I change them?
Glyn
Most likely that's because file is opened by another application or is
read
only.
Best regards,
Ilya
This posting is provided "AS IS" with no warranties, and confers no
rights.
--------------------
From: "Glyn Meek" <
[email protected]>
Newsgroups: microsoft.public.dotnet.framework.compactframework
Subject: XML Closing error - UnauthorizedAccessException
Lines: 22
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
X-RFC2646: Format=Flowed; Original
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
Message-ID: <
[email protected]>
Date: Wed, 23 Feb 2005 18:49:20 GMT
NNTP-Posting-Host: 63.246.189.227
X-Complaints-To: (e-mail address removed)
X-Trace: newsread1.news.pas.earthlink.net 1109184560 63.246.189.227
(Wed,
23 Feb 2005 10:49:20 PST)
NNTP-Posting-Date: Wed, 23 Feb 2005 10:49:20 PST
Organization: EarthLink Inc. --
http://www.EarthLink.net
Path:
TK2MSFTNGXA02.phx.gbl!TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP08.phx.gbl!newsfeed00.
sul.t-online.de!t-online.de!newshub.sdsu.edu!elnk-nf2-pas!newsfeed.earthlink
.net!stamper.news.pas.earthlink.net!newsread1.news.pas.earthlink.net.POSTED!
fdcd6659!not-for-mail
Xref: TK2MSFTNGXA02.phx.gbl
microsoft.public.dotnet.framework.compactframework:71757
X-Tomcat-NG: microsoft.public.dotnet.framework.compactframework
I have a line of code at the end of a program that is
xmldocparam.Save(filename)
We have ONE customer running on a Tmobile MDAII device who gets an
error
whenever this line gets executed...I have 'trapped' the error and
it
says
:
! UnauthorizedAccessException
I didn't know there wewre any access restrictions on the Pocket PC.
Can
anyone give me a hint as to what is causing this exception on the
particular
device?
Thanks
Glyn Meek