Re: Problem with webbrowser control



Hi Paul,

thanks for the quick reply.

As of
a) I also suspect some problem with either IObjectSafety or IObjectWithSite
I am currently digging to try to find the root cause of the problem.
What confuses me a bit is, that the _same_ html page throws exceptions in control, but loads fine in iesample/iesimple. In iesimple it's just smooth, and there's nothing vital done additional to what the webbrowser control does.
I also replaced the webbrowser-control by a custom control, hosting a iesample-clone, but same result!
Maybe it's some weired security-problem with .NET CF?

b) I checked that already. It looks really weired to me. This happens when trying to playback DRM Protected contect via Mediaplayer ocx 22D6f312-B0F6-11D0-94AB-0080C74C7E95.
(Preface: Login to DRM-Server via SOAP Webservice)
If I call it via local html file in webbrowser control, drm server will refuse me (showing login dialog)
if I call it via _same_ html file using iesample, drm server will recognize me
if I call it via OpenNetCF Media-Control, DRM Server will recognize me.
if i open the stream via ceplayer-Process-creation, DRM Server will recognize me
For this case I'm currently trying to get hold of the drm-server logs to get a hint what is happening there.

Environment:
CE 6.0 Professional SKU
OpenNetCF SDF 2.1

Hardware is a ST7109 Design.

Regards,
Ulrich



"Paul G. Tobey [eMVP]" <p space tobey no spam AT no instrument no spam DOT com> schrieb im Newsbeitrag news:uJZqO0FOIHA.2208@xxxxxxxxxxxxxxxxxxxxxxx
a) Well, you have to have a suitable Windows CE version of the object on your device, properly pre-installed, etc. It's not ever going to download ActiveX controls (they wouldn't work on Windows CE even if it did). If you're specifying the CLSID of a control that is already installed locally, I can't think of anything that would cause the problem, unless there's something that an instance of the browser control does outside of IESample that it doesn't do inside it (maybe IObjectSafety checks or something, I suppose).

b) I just whipped up a quick browser program using .NET CF 2.0 and it saves cookies just fine from the sites I'm visiting (our own and MapQuest). Have you actually checked for the cookies in \windows\profiles\<profilename>\Cookies?

You don't say what version of the OS or anything you're using...

Paul T.


.



Relevant Pages

  • Re: Problem with webbrowser control
    ... Paul T. ... Maybe the browser control missed one... ... If I call it via local html file in webbrowser control, drm server will ... if I call it via _same_ html file using iesample, ...
    (microsoft.public.dotnet.framework.compactframework)
  • Re: Problem with webbrowser control
    ... "Paul G. Tobey " <p space tobey no spam AT no instrument no spam DOT ... etc. method calls that IESample makes. ... What confuses me a bit is, that the _same_ html page throws exceptions in control, but loads fine in iesample/iesimple. ... If I call it via local html file in webbrowser control, drm server will refuse me ...
    (microsoft.public.dotnet.framework.compactframework)
  • Re: Problem with webbrowser control
    ... IESample makes. ... Maybe the browser control missed one... ... to support for Windows CE Platform Builder would have a chance of finding ... If I call it via local html file in webbrowser control, drm server will ...
    (microsoft.public.dotnet.framework.compactframework)
  • [Full-Disclosure] Fwd: IObjectSafety and Internet Explorer
    ... Subject: IObjectSafety and Internet Explorer ... Problems with ActiveX in Internet Explorer are nothing new. ... How Internet Explorer Determines If ActiveX Controls Are Safe ... The following key marks the control safe for scripting: ...
    (Full-Disclosure)
  • Re: XMLHTTP doesnt work, Im getting access denied
    ... We did register the control on the device. ... Does your control implement IObjectSafety? ... > rights. ...
    (microsoft.public.pocketpc.developer)

Quantcast