| |||||||
| Smartphones This is the Microsoft General Public Smartphones Newsgroup. |
![]() |
| | LinkBack | Thread Tools |
| |||
| 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 |
| |||
| 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 |
| |||
| 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 > |
![]() |
| Bookmarks |
| Thread Tools | |
| |
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 |