Archived from groups: microsoft.public.pocketpc,microsoft.public.dotnet.csharp.general,microsoft.public.dotnet.framework.compactframework (More info?)
HI
I have a C# .NET app that hangs while loading on Windows Mobile 2003
SE. The device is a Dell Axim x50. The application runs fine on an
Axim x30 and every other Pocket PC I tried it on. My application main
form shows up with the my loading message "Please wait loading...".
While this message appears I call a function that loads 3 xml files
into datasets. This is where it hangs.
Any suggestions on how to make my application run better on this OS?
<richardsayre@gmail.com> wrote in message
news:1110398043.269929.87590@g14g2000cwa.googlegroups.com...
> HI
>
> I have a C# .NET app that hangs while loading on Windows Mobile 2003
> SE. The device is a Dell Axim x50. The application runs fine on an
> Axim x30 and every other Pocket PC I tried it on. My application main
> form shows up with the my loading message "Please wait loading...".
> While this message appears I call a function that loads 3 xml files
> into datasets. This is where it hangs.
>
> Any suggestions on how to make my application run better on this OS?
>
> Any help would be greatly appricated.
>
> Thanks
>
> Rich
>
I get no errors or exceptions and I included System.SR. I am going to
do further debugging, if you have any more suggestions they would be
greatly appricated.
Archived from groups: microsoft.public.pocketpc,microsoft.public.dotnet.csharp.general,microsoft.public.dotnet.framework.compactframework (More info?)
Have you tried to debug this code snippet? I suppose it throws exception
and you just suppress it or smth. Also show us error reproducible source
together with fromServer.xml file; othwerwise it would be hard to help you.
richardsayre@gmail.com wrote:
> The line of code that halts the application is
>
> dsFrom.ReadXml(@"\Program Files\MyApp\fromServer.xml" );
>
> The strange thing is right before I try to load that file into the
> dataset I execute that function for another file that loads fine.
>
> ds.ReadXml(@"\Program Files\MyApp\toServer.xml" );
>
> I get no errors or exceptions and I included System.SR. I am going to
> do further debugging, if you have any more suggestions they would be
> greatly appricated.
>
> Thanks
>
> Rich
>
The difference between the XML files that would load is child element
after the element with the xmlns atribute in it had an opening and
closing tag. SO i changed my XML to this:
You are about to answer a thread that has been inactive for more than 6 months. If you still wish to proceed, please ensure that your posting is original and does not duplicate or overlap any prior responses to this thread.