hi there,

im having troubles trying to read a local XML file on my pocket pc using the
.NET framework..

<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<remoteSQLDatabase>
<server>127.0.0.1</server>
<database>northwind</database>
<login>sa</login>
<password>abc</password>
</remoteSQLDatabase>
<internet>
<url>http://localhost/sscesa10.dll</url>
<login></login>
<password></password>
<proxyServer>ppp_peer:81</proxyServer>
</internet>
</configuration>


i can do this through .NET framework, but CF.NET does not support
"selectNode" or "SelectSingleNode"

thanks,
Paul.

Re: reading an XML file in a pocketPC by Milsnips

Milsnips
Wed Jan 26 05:48:59 CST 2005

never mind.. solution found.

"Milsnips" <milsnips@hotmail.com> wrote in message
news:e7fjwu5AFHA.904@TK2MSFTNGP12.phx.gbl...
> hi there,
>
> im having troubles trying to read a local XML file on my pocket pc using
> the .NET framework..
>
> <?xml version="1.0" encoding="utf-8" ?>
> <configuration>
> <remoteSQLDatabase>
> <server>127.0.0.1</server>
> <database>northwind</database>
> <login>sa</login>
> <password>abc</password>
> </remoteSQLDatabase>
> <internet>
> <url>http://localhost/sscesa10.dll</url>
> <login></login>
> <password></password>
> <proxyServer>ppp_peer:81</proxyServer>
> </internet>
> </configuration>
>
>
> i can do this through .NET framework, but CF.NET does not support
> "selectNode" or "SelectSingleNode"
>
> thanks,
> Paul.
>



Re: reading an XML file in a pocketPC by Merlino666

Merlino666
Wed Jan 26 08:04:57 CST 2005

Milsnips , ha scritto:
> never mind.. solution found.
>
> "Milsnips" <milsnips@hotmail.com> wrote in message
> news:e7fjwu5AFHA.904@TK2MSFTNGP12.phx.gbl...
>
>>hi there,
>>
>>im having troubles trying to read a local XML file on my pocket pc using
>>the .NET framework..
>>
>><?xml version="1.0" encoding="utf-8" ?>
>><configuration>
>><remoteSQLDatabase>
>> <server>127.0.0.1</server>
>> <database>northwind</database>
>> <login>sa</login>
>> <password>abc</password>
>></remoteSQLDatabase>
>><internet>
>> <url>http://localhost/sscesa10.dll</url>
>> <login></login>
>> <password></password>
>> <proxyServer>ppp_peer:81</proxyServer>
>></internet>
>></configuration>
>>
>>
>>i can do this through .NET framework, but CF.NET does not support
>>"selectNode" or "SelectSingleNode"
>>
>>thanks,
>>Paul.
>>
>
>
>
how have you solved the problem?
i've the same problem...
byeeezzzzzzzz

--
Merlino666 - Il MagOscuro
Home Page: http://www.magoscuro.com
Exalted Italia Admin: http://www.magoscuro.com/exalted
Ihgger n°: 294

Re: reading an XML file in a pocketPC - sample code... by Milsnips

Milsnips
Thu Jan 27 04:52:23 CST 2005

Sub readConfigFile()
Dim xr As New XmlTextReader(AppPath & "\syncConfig.xml")
xr.WhitespaceHandling = WhitespaceHandling.None
xr.MoveToContent()
While xr.Read
Select Case xr.Name
Case "sqlServer"
gsSQLServer = xr.ReadString
Case "sqlDatabase"
gsSQLDatabase = xr.ReadString
Case "sqlLogin"
gsSQLLogin = xr.ReadString
Case "sqlPassword"
gsSQLPassword = xr.ReadString
Case "internetURL"
gsInternetURL = xr.ReadString
Case "internetLogin"
gsInternetLogin = xr.ReadString
Case "internetPassword"
gsInternetPassword = xr.ReadString
Case "internetProxyServer"
gsInternetProxyServer = xr.ReadString
End Select
End While
xr.Close()
xr = Nothing
End Sub

regards,
Paul

"Merlino666" <info@NOSPAMMAmagoscuro.com> wrote in message
news:35pmduF4oqkujU1@individual.net...
> Milsnips , ha scritto:
>> never mind.. solution found.
>>
>> "Milsnips" <milsnips@hotmail.com> wrote in message
>> news:e7fjwu5AFHA.904@TK2MSFTNGP12.phx.gbl...
>>
>>>hi there,
>>>
>>>im having troubles trying to read a local XML file on my pocket pc using
>>>the .NET framework..
>>>
>>><?xml version="1.0" encoding="utf-8" ?>
>>><configuration>
>>><remoteSQLDatabase>
>>> <server>127.0.0.1</server>
>>> <database>northwind</database>
>>> <login>sa</login>
>>> <password>abc</password>
>>></remoteSQLDatabase>
>>><internet>
>>> <url>http://localhost/sscesa10.dll</url>
>>> <login></login>
>>> <password></password>
>>> <proxyServer>ppp_peer:81</proxyServer>
>>></internet>
>>></configuration>
>>>
>>>
>>>i can do this through .NET framework, but CF.NET does not support
>>>"selectNode" or "SelectSingleNode"
>>>
>>>thanks,
>>>Paul.
>>>
>>
>>
>>
> how have you solved the problem?
> i've the same problem...
> byeeezzzzzzzz
>
> --
> Merlino666 - Il MagOscuro
> Home Page: http://www.magoscuro.com
> Exalted Italia Admin: http://www.magoscuro.com/exalted
> Ihgger n°: 294