Jump to content


Photo

webBrowser.DocumentText

- - - - -

  • Please log in to reply
3 replies to this topic

#1
sebapi

sebapi

    Newbie

  • Members
  • Pip
  • 13 posts
.NET CF 2.0 doesn't support accesing the HTML content of a web page with
DocumentText property.
In what way can I have access with content of a web page ?
Do anyone have any solution of this problem ?

Regards.
Sebastian

  • 0

#2
Tech

Tech

    Hardcore

  • Members
  • PipPipPipPipPipPip
  • 1,490 posts
  • Devices:E200 2xC500 SP5m Vario
why dont you use the httpwebrequest/httpwebresponse classes in the System.Net namespace?

if the request is successful you will get the entire response in html content

Edited by Tech, 20 June 2006 - 01:40 PM.

  • 0
http://www.spapps.co.uk

Visit the Spapps UK Forums!!!
Spapps UK Forums [new]
Spapps UK Forums alternative link
^^^ CLICK ME ^^^

Current Projects:

DAR~ling update tba*
WMP Remote** (need new ideas!!)

TV Remote codenamed meetu (postponed)
mini PC Controller codenamed mawk

#3
sebapi

sebapi

    Newbie

  • Members
  • Pip
  • 13 posts

why dont you use the httpwebrequest/httpwebresponse classes in the System.Net namespace?

if the request is successful you will get the entire response in html content



I want to get local html files content, so I can't use HttpWebRequest (it throws NotSupportedException). If I want to use uri like file://\Storage Card\file.html I have to use FileWebRequest, but ... .NETCF doesn't support it.

Regards.
Sebastian

  • 0

#4
Tech

Tech

    Hardcore

  • Members
  • PipPipPipPipPipPip
  • 1,490 posts
  • Devices:E200 2xC500 SP5m Vario
use the streamreader?

  • 0
http://www.spapps.co.uk

Visit the Spapps UK Forums!!!
Spapps UK Forums [new]
Spapps UK Forums alternative link
^^^ CLICK ME ^^^

Current Projects:

DAR~ling update tba*
WMP Remote** (need new ideas!!)

TV Remote codenamed meetu (postponed)
mini PC Controller codenamed mawk




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users