Re: Using the webbrowser object to get the document text
- From: "Kai Wiechers" <no@xxxxxxxxxxxxxxx>
- Date: Tue, 25 Sep 2007 16:20:05 +0200
Hi,
thank you for your answer. i googled for the .net webservices and tryed to use this solution in a test application, but when i tryed to add a webservice via "project => "add webservice" visual studio didn't accepted ma "http://gateway.sms77.de/?" as web service url.
my task is normaly not very difficult. i do a http GET request and need the answer wich is for example 100 oder 301 or... what ever. i just need this 3 nubers. thay are displayed in the webbrowser after calling the url that i created. for example i open http://gateway.sms77.de/u=benutzer&p=passwort&to=00491609876543&text=meine%20erste%20nachricht&type=quality&from=sms77.de and i get back 100 in the webbrowser. i yust need this 100 in a string or integer to go on working with that feedback state. as mentioned webrequest worked fine with a normal windows application running on vista, but using the same code on my PPC... i get a error.
is there any other posibility to get this GET request result? Thanks a lot!
<chris-s@xxxxxxxxxxxx> schrieb im Newsbeitrag news:1190709455.440732.315170@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
On Sep 24, 9:24 pm, "Kai Wiechers" <n...@xxxxxxxxxxxxxxx> wrote:Hello,
i try to use the content of the document loaded in the webbrowser object.
normaly webbrowser.documenttext would work fine, but in the CF it is write
onely :(
The Backround:
I build a string with a get request and call this url with the browser. the
result of my request is shown in the browser. and i want to use this answer
of the server.
i also tryed webrequest.create and on vista it worked fine, but on my
windows mobile device he only opend the GPRS connection. than i wait about 1
minute an than i gat a error. i cant tell the specific errortext beacuase it
is not shown on my device and in the emulator it doesn't work because im to
stupid do config it for internet access... so maybe somebody can help me
out? my prefered solution would be to go on using the webbrowser and getting
the information out of there. but i'm open to any other solution! thanks a
lot! i hope u can understand my english... ;)
It may not be practical for your situation, but why not use
'WebServices' instead? This sounds like the sort of thing they were
designed for.
Cheers
Chris
.
- References:
- Using the webbrowser object to get the document text
- From: Kai Wiechers
- Re: Using the webbrowser object to get the document text
- From: chris-s
- Using the webbrowser object to get the document text
- Prev by Date: Re: Using the webbrowser object to get the document text
- Next by Date: Re: Using the webbrowser object to get the document text
- Previous by thread: Re: Using the webbrowser object to get the document text
- Next by thread: Re: Using the webbrowser object to get the document text
- Index(es):
Relevant Pages
|