mspocketpc.org Forum Index
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

ActiveX object not getting created on mobile IE

 
Post new topic   Reply to topic    mspocketpc.org Forum Index -> Smartphone
Author Message
George



Joined: 15 Aug 2007
Posts: 55

PostPosted: Thu Jan 24, 2008 6:49 am    Post subject: ActiveX object not getting created on mobile IE Reply with quote

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

Archived from group: microsoft>public>smartphone
Back to top
View user's profile Send private message
Keon



Joined: 14 Jan 2008
Posts: 12

PostPosted: Sat Jan 26, 2008 4:12 pm    Post subject: Re: ActiveX object not getting created on mobile IE Reply with quote

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" 에서 메시지 뉴스에 작성했습니다.
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
Back to top
View user's profile Send private message
George



Joined: 15 Aug 2007
Posts: 55

PostPosted: Sat Jan 26, 2008 2:34 am    Post subject: Re: ActiveX object not getting created on mobile IE Reply with quote

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" 에서 메시지 뉴스에 작성했습니다.
> 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
>

Back to top
View user's profile Send private message
Display posts from previous:   
Related Topics:
ActiveX controls. Remote Desktop Access (web) i-mate SP3: TI OMAP 200MHz; Windows Mobile Smartphone 2003 Ozone update, SE. ROM 1.5.33.11. I understand that Pocket IE on the above Smartphone O/S will not download ActiveX controls, but that if required they have to be installed manually. Is it possible

Direct Push with wireless on T-mobile dash running mobile 5 Does anyone know how/if i can configure the smartphone to only use direct push from our exchange server when i am connected to a wireless WAP?

Trend Micro Mobile Security 3.0 for Windows Mobile 5 (Pocket You are invited to join the Trend Micro Mobile Security 3.0 for Windows Mobile 5 (PocketPC and Smartphone) Beta Program. BETA DURATION: August 29th to October 3rd, 2006 Trend Micro Mobile Security 3.0 provides handset security including antivirus and SMS

Windows Mobile 6 for T-Mobile Dash official release ROM - no The official version of Windows Mobile 6 for T-Mobile Dash has leaked out prior to official leak. it is a under breaking news.

IE Mobile edition on Windows Mobile 5 remembers last visited Hi, Although I have set a home page on Internet Explorer Mobile on Windows Mobile 5, whenever I re-open IE, it shows the last page i visited. How can I stop this, and make it load the Home Page? Otherwise whats the point of setting the home page if it nev
Post new topic   Reply to topic    mspocketpc.org Forum Index -> Smartphone All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group