Re: writeXML(fullFilePath) DOESN'T Write

From: Art Cabot (trash_at_stricklandtechnical.com)
Date: 07/07/04


Date: Tue, 6 Jul 2004 17:45:01 -0700

I thought I might have the answer when I saw this in the emulator's Help file:

The following hardware and drivers are not supported in the Emulator:

Universal serial bus (USB) devices

PC Card devices

Storage devices, which include compact flash (CF) cards and hard disks

File system drivers, which include file allocation table (FAT), compact disc (CD), and digital video disc (DVD) drivers

IEEE 1394 devices

But when I had a couple of programmers at our corporate headquarters try on both a Windows CE and Pocket PC emulator, it worked for them.

What am I missing?

-- 
Art Cabot
Strickland Technical Services, Inc.
Augusta, Georgia
"Art Cabot" wrote:
> Right now it's running on a Windows CE emulator and reading its input XML into the dataset from the path noted in the code I've provided (using variable sPath). I'm simply trying to write the XML back out to the same path using the ds.writeXML(fullPath) command.
> 
> The only reason rights are being mentioned at all is because we're trying to figure out why the XML is not getting written back out. If I use one of the sample code pieces from the VB .NET Resource Kit ("How To Write An Offline Application") that runs under the full .NET Framework, it works great, but when I move down into the Compact Framework, it won't write.
> 
> To reiterate, it throws no exceptions, but the file just isn't there --- anywhere --- when I look.
> -- 
> Art Cabot
> Strickland Technical Services, Inc.
> Augusta, Georgia
> 
> 
> "Alex Feinman [MVP]" wrote:
> 
> > Wait a minute... Are you doing this on a Windows CE device or on the
> > desktop? If on the device, what Write Rights are you talking about? Windows
> > CE does not have filesystem permissions. Or perhaps you expect to find the
> > dataset xml written by the code on the device in your PC filesystem?
> > 
> > -- 
> > Alex Feinman
> > ---
> > Visit http://www.opennetcf.org
> > "Art Cabot" <trash@stricklandtechnical.com> wrote in message
> > news:BCA6D9DC-F5B4-4E33-9F02-02FA480EFC4A@microsoft.com...
> > > I'm trying to write a DataSet back out to the same location it reads in
> > from with readXML(fullFilePath), just to a different filename. The program
> > breezes right on through with no exceptions, but the file just isn't there!
> > >
> > > There's data in the DataSet and I have write rights to the fullFilePath
> > specified.
> > >
> > > What could be happening and how do I get around it?
> > > -- 
> > > Art Cabot
> > > Strickland Technical Services, Inc.
> > > Augusta, Georgia
> > 
> > 
> > 


Relevant Pages

  • Re: writeXML(fullFilePath) DOESNT Write
    ... a programmer at our corporate office tried to write XML within both Windows CE and Pocket PC emulators and it worked. ... >> The following hardware and drivers are not supported in the Emulator: ... >> Art Cabot ...
    (microsoft.public.dotnet.framework.compactframework)
  • Re: Image on a Compact Framework Form
    ... I just noticed that the emulator loads netcf.all.wce4.x86.cab, whereas my mobile device is an ARMv4T CPU and would load a different cab file. ... > "Art Cabot" wrote in message ... >>> Augusta, Georgia ...
    (microsoft.public.dotnet.framework.compactframework)
  • Re: Image on a Compact Framework Form
    ... "Art Cabot" wrote in message ... > I just noticed that the emulator loads netcf.all.wce4.x86.cab, ... >>> It hangs it the InitializeComponentportion of the Windows Form ... >>> I'm thinking I have to prepare the images in some sort of reference ...
    (microsoft.public.dotnet.framework.compactframework)
  • Re: Image on a Compact Framework Form
    ... "Alex Feinman " wrote: ... > "Art Cabot" wrote in message ... >> I just noticed that the emulator loads netcf.all.wce4.x86.cab, ... >> "Chris Tacke, eMVP" wrote: ...
    (microsoft.public.dotnet.framework.compactframework)
  • Re: writeXML(fullFilePath) DOESNT Write
    ... "Alex Feinman " wrote: ... Are you doing this on a Windows CE device or on the ... > CE does not have filesystem permissions. ... > "Art Cabot" wrote in message ...
    (microsoft.public.dotnet.framework.compactframework)