Go Back   Technology Questions > Hardware Questions > Electronics > Smartphones

Smartphones This is the Microsoft General Public Smartphones Newsgroup.

Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old 01-24-2008, 01:50 AM
George
Tablet PC Guest
 
Posts: n/a
ActiveX object not getting created on mobile IE

I have created a COM object using ATL and I have successfully registered with
window mobile 6 emulator. But when I use IE with a page that has the
following code
var x = new ActiveXObject("XYZ.MyCustomObject");, I get an object error. The
first time I run it, I also get a dialog that says "Some content cannot be
displayed because of Smartphone security settings"

If I try the same code (suitably modified) for win32, it works as expected
on my desktop application. Any idea why it is not working in winCE?

George
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

 
Old 01-24-2008, 01:50 AM
Xploder HD Movie Player for PS3. Manage, convert and transfer media files between the PC and PS3.
  #2 (permalink)  
Old 01-25-2008, 06:20 PM
Keon
Tablet PC Guest
 
Posts: n/a
Re: ActiveX object not getting created on mobile IE

Internet Explorer for Windows CE(or Internet Explorer Mobile) does not allow
users to download ActiveX controls through the browser. However, a Web page
can still load and run ActiveX controls that are built into the run-time
image or that were installed by ActiveSync and CAB file, if the browser
determines the control is safe to load.
When Internet Explorer receives a request to load an ActiveX control, it
checks the URL security zones settings in the browser to determine whether
the control can be run, and if the user should be notified that a control is
to be loaded.

So, you should check your COM(ActiveX) registered in devices registry
successfully and which security zone run your web page(Local intranet, Trust
Zone and so on...).



"George" <George@discussions.microsoft.com>에서 메시지 뉴스에 작성했습니다.
28006DA0-6E28-4AD8-9811-2ECEF3E614E5@microsoft.com...
> I have created a COM object using ATL and I have successfully registered
> with
> window mobile 6 emulator. But when I use IE with a page that has the
> following code
> var x = new ActiveXObject("XYZ.MyCustomObject");, I get an object error.
> The
> first time I run it, I also get a dialog that says "Some content cannot be
> displayed because of Smartphone security settings"
>
> If I try the same code (suitably modified) for win32, it works as
> expected
> on my desktop application. Any idea why it is not working in winCE?
>
> George


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #3 (permalink)  
Old 01-25-2008, 09:40 PM
George
Tablet PC Guest
 
Posts: n/a
Re: ActiveX object not getting created on mobile IE

Thanks Keon.

You are right - I had to modify my registry settings to allow the ActiveX
object to load. Even implementing IObjectSafety did not help.

-George

"Keon" wrote:

> Internet Explorer for Windows CE(or Internet Explorer Mobile) does not allow
> users to download ActiveX controls through the browser. However, a Web page
> can still load and run ActiveX controls that are built into the run-time
> image or that were installed by ActiveSync and CAB file, if the browser
> determines the control is safe to load.
> When Internet Explorer receives a request to load an ActiveX control, it
> checks the URL security zones settings in the browser to determine whether
> the control can be run, and if the user should be notified that a control is
> to be loaded.
>
> So, you should check your COM(ActiveX) registered in devices registry
> successfully and which security zone run your web page(Local intranet, Trust
> Zone and so on...).
>
>
>
> "George" <George@discussions.microsoft.com>에서 메시지 뉴스에 작성했습니다.
> 28006DA0-6E28-4AD8-9811-2ECEF3E614E5@microsoft.com...
> > I have created a COM object using ATL and I have successfully registered
> > with
> > window mobile 6 emulator. But when I use IE with a page that has the
> > following code
> > var x = new ActiveXObject("XYZ.MyCustomObject");, I get an object error.
> > The
> > first time I run it, I also get a dialog that says "Some content cannot be
> > displayed because of Smartphone security settings"
> >
> > If I try the same code (suitably modified) for win32, it works as
> > expected
> > on my desktop application. Any idea why it is not working in winCE?
> >
> > George

>

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
DRM ActiveX Network Object crushes IE7 reedom Windows Media 8 06-03-2008 05:40 PM
Error=429 : ActiveX component can't create object RobGG Windows Vista 14 02-24-2008 08:06 PM
Problem with ActiveX creating object on IE 7 in Vista SteveWSR Windows Vista 2 01-27-2008 08:50 PM
IE7 Crashing - Seems to be when an ActiveX object infobar should be appearing Paul Kelly Internet Explorer 3 05-06-2007 07:19 AM
Error 429 : ActiveX component can't create object Brad Windows Vista 9 03-16-2007 04:30 AM


All times are GMT -8. The time now is 07:55 AM.


2003 - 2008 All Rights Reserved. Technology Questions

SEO by vBSEO 3.1.0