By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
432,027 Members | 1,111 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 432,027 IT Pros & Developers. It's quick & easy.

ActiveX Controls on Windows Mobile

P: n/a
I just downloaded a activex control that was written in C# and tried to view
it on my PDA's Internet Explorer.
At my regular PC it displayed just fine, but nothing showed up on the pda.

Do ActiveX controls that are to be used by a pda need to be written in the
..net compact framework, or am i missing something else here?

i have a HP iPaq 2490 with Windows Mobile Premium installed

While i'm at it; does a activex control allow you to communicate with
devices. My employer needs a activex control to interface with a barcode
scanner.
*** Free account sponsored by SecureIX.com ***
*** Encrypt your Internet usage with a free VPN account from http://www.SecureIX.com ***
Mar 20 '06 #1
Share this Question
Share on Google+
7 Replies


P: n/a
Jarod,

I cannot see the relation to the newsgroup languages.vb, can you give us a
hint?

Cor
"Jarod_24" <ja******@hotmail.com> schreef in bericht
news:44**********************@titian.nntpserver.co m...
I just downloaded a activex control that was written in C# and tried to
view it on my PDA's Internet Explorer.
At my regular PC it displayed just fine, but nothing showed up on the pda.

Do ActiveX controls that are to be used by a pda need to be written in the
.net compact framework, or am i missing something else here?

i have a HP iPaq 2490 with Windows Mobile Premium installed

While i'm at it; does a activex control allow you to communicate with
devices. My employer needs a activex control to interface with a barcode
scanner.

*** Free account sponsored by SecureIX.com ***
*** Encrypt your Internet usage with a free VPN account from
http://www.SecureIX.com ***

Mar 20 '06 #2

P: n/a

"Cor Ligthert [MVP]" <no************@planet.nl> wrote in message
news:%2****************@TK2MSFTNGP09.phx.gbl...
Jarod,

I cannot see the relation to the newsgroup languages.vb, can you give us a
hint?

hm, maybe that i plan to write an activex in vb.net
other than that i guess nothing, just posted to my usual groups
Cor
"Jarod_24" <ja******@hotmail.com> schreef in bericht
news:44**********************@titian.nntpserver.co m...
I just downloaded a activex control that was written in C# and tried to
view it on my PDA's Internet Explorer.
At my regular PC it displayed just fine, but nothing showed up on the
pda.

Do ActiveX controls that are to be used by a pda need to be written in
the .net compact framework, or am i missing something else here?

i have a HP iPaq 2490 with Windows Mobile Premium installed

While i'm at it; does a activex control allow you to communicate with
devices. My employer needs a activex control to interface with a barcode
scanner.

*** Free account sponsored by SecureIX.com ***
*** Encrypt your Internet usage with a free VPN account from
http://www.SecureIX.com ***


*** Free account sponsored by SecureIX.com ***
*** Encrypt your Internet usage with a free VPN account from http://www.SecureIX.com ***
Mar 20 '06 #3

P: n/a
anything running on compact framework, on a pocket pc must be writen for a
pocket pc to start with. Second off, .NET framework does not make ActiveX
controls.. You may have to recreate the control in .NET for the Mobile
framework

"Jarod_24" <ja******@hotmail.com> wrote in message
news:44**********************@titian.nntpserver.co m...
I just downloaded a activex control that was written in C# and tried to
view it on my PDA's Internet Explorer.
At my regular PC it displayed just fine, but nothing showed up on the pda.

Do ActiveX controls that are to be used by a pda need to be written in the
.net compact framework, or am i missing something else here?

i have a HP iPaq 2490 with Windows Mobile Premium installed

While i'm at it; does a activex control allow you to communicate with
devices. My employer needs a activex control to interface with a barcode
scanner.

*** Free account sponsored by SecureIX.com ***
*** Encrypt your Internet usage with a free VPN account from
http://www.SecureIX.com ***

Mar 20 '06 #4

P: n/a
It's actually worse than that. This question should have been targeted
*only* at microsoft.public.dotnet.framework.compactframework . You can't use
managed code to create ActiveX controls for Windows CE/Windows Mobile, at
this point. That's because hosting the managed runtime from unmanaged code,
like IE, isn't supported. There are various work-arounds that you could
use, but it's not worth it. If you have something that should be hosted in
IE, write it in unmanaged code.

Paul T.

"Brian Henry" <no****@nospam.com> wrote in message
news:%2****************@TK2MSFTNGP09.phx.gbl...
anything running on compact framework, on a pocket pc must be writen for a
pocket pc to start with. Second off, .NET framework does not make ActiveX
controls.. You may have to recreate the control in .NET for the Mobile
framework

"Jarod_24" <ja******@hotmail.com> wrote in message
news:44**********************@titian.nntpserver.co m...
I just downloaded a activex control that was written in C# and tried to
view it on my PDA's Internet Explorer.
At my regular PC it displayed just fine, but nothing showed up on the
pda.

Do ActiveX controls that are to be used by a pda need to be written in
the .net compact framework, or am i missing something else here?

i have a HP iPaq 2490 with Windows Mobile Premium installed

While i'm at it; does a activex control allow you to communicate with
devices. My employer needs a activex control to interface with a barcode
scanner.

*** Free account sponsored by SecureIX.com ***
*** Encrypt your Internet usage with a free VPN account from
http://www.SecureIX.com ***


Mar 20 '06 #5

P: n/a
You can't create ActiveX controls in managed code. Sure there are hacks out
there to do this, but natively no, and from my point of view, its not worth
it.. just write a user control or a custom control if you are going to write
it by hand
Mar 20 '06 #6

P: n/a
So if its not possible to create a ActiveX in managed code.
Then what is the difference between ActiveX, a 'Windows Control Library' and
a 'Web Control Library'?
i mean in the context of beign able to run in a web-browser and display a UI
to the user...

any pointers to a site/articles that talk about ActiveX, msdn is so
confusingly large and un-structured.
"Paul G. Tobey [eMVP]" <ptobey no spam AT no instrument no spam DOT com>
wrote in message news:e0**************@TK2MSFTNGP12.phx.gbl...
It's actually worse than that. This question should have been targeted
*only* at microsoft.public.dotnet.framework.compactframework . You can't
use managed code to create ActiveX controls for Windows CE/Windows Mobile,
at this point. That's because hosting the managed runtime from unmanaged
code, like IE, isn't supported. There are various work-arounds that you
could use, but it's not worth it. If you have something that should be
hosted in IE, write it in unmanaged code.

Paul T.

"Brian Henry" <no****@nospam.com> wrote in message
news:%2****************@TK2MSFTNGP09.phx.gbl...
anything running on compact framework, on a pocket pc must be writen for
a pocket pc to start with. Second off, .NET framework does not make
ActiveX controls.. You may have to recreate the control in .NET for the
Mobile framework

"Jarod_24" <ja******@hotmail.com> wrote in message
news:44**********************@titian.nntpserver.co m...
I just downloaded a activex control that was written in C# and tried to
view it on my PDA's Internet Explorer.
At my regular PC it displayed just fine, but nothing showed up on the
pda.

Do ActiveX controls that are to be used by a pda need to be written in
the .net compact framework, or am i missing something else here?

i have a HP iPaq 2490 with Windows Mobile Premium installed

While i'm at it; does a activex control allow you to communicate with
devices. My employer needs a activex control to interface with a barcode
scanner.

*** Free account sponsored by SecureIX.com ***
*** Encrypt your Internet usage with a free VPN account from
http://www.SecureIX.com ***



*** Free account sponsored by SecureIX.com ***
*** Encrypt your Internet usage with a free VPN account from http://www.SecureIX.com ***
Mar 20 '06 #7

P: n/a
Well, I'm pretty much an embedded-only guy these days, but I think that Web
controls run in ASP.NET, so that's not the same thing, quite, as an ActiveX
control. A Windows Control Library object, I think, is a desktop thing (a
managed 'control' usable from .NET Framework applications). If you choose
Visual C++ in the New Project wizard in VS2005 and look under Smart Device,
those are the types of projects that VS 2005 supports generating for Windows
CE/Windows Mobile devices. You can see that one of them is an MFC ActiveX
control. Of course, you could write your own without MFC, if you wanted to,
just by generating a Win32 Smart Device Project, and choosing a DLL and then
implementing all of the suitable interfaces, DLL functions for
self-registration, etc.

I don't know of any Windows CE-focused articles, although ActiveX works the
same as on the desktop, at least generally. You might search for ""windows
ce" activex" in MSDN and see what pops up, though. The only really unusual
thing that you might not be aware of automatically is that IObjectSafety
pretty much has to be implemented in Windows CE ActiveX controls for your
control to work in IE.

Paul T.

"Jarod_24" <ja******@hotmail.com> wrote in message
news:44***********************@titian.nntpserver.c om...
So if its not possible to create a ActiveX in managed code.
Then what is the difference between ActiveX, a 'Windows Control Library'
and a 'Web Control Library'?
i mean in the context of beign able to run in a web-browser and display a
UI to the user...

any pointers to a site/articles that talk about ActiveX, msdn is so
confusingly large and un-structured.
"Paul G. Tobey [eMVP]" <ptobey no spam AT no instrument no spam DOT com>
wrote in message news:e0**************@TK2MSFTNGP12.phx.gbl...
It's actually worse than that. This question should have been targeted
*only* at microsoft.public.dotnet.framework.compactframework . You can't
use managed code to create ActiveX controls for Windows CE/Windows
Mobile, at this point. That's because hosting the managed runtime from
unmanaged code, like IE, isn't supported. There are various work-arounds
that you could use, but it's not worth it. If you have something that
should be hosted in IE, write it in unmanaged code.

Paul T.

"Brian Henry" <no****@nospam.com> wrote in message
news:%2****************@TK2MSFTNGP09.phx.gbl...
anything running on compact framework, on a pocket pc must be writen for
a pocket pc to start with. Second off, .NET framework does not make
ActiveX controls.. You may have to recreate the control in .NET for the
Mobile framework

"Jarod_24" <ja******@hotmail.com> wrote in message
news:44**********************@titian.nntpserver.co m...
I just downloaded a activex control that was written in C# and tried to
view it on my PDA's Internet Explorer.
At my regular PC it displayed just fine, but nothing showed up on the
pda.

Do ActiveX controls that are to be used by a pda need to be written in
the .net compact framework, or am i missing something else here?

i have a HP iPaq 2490 with Windows Mobile Premium installed

While i'm at it; does a activex control allow you to communicate with
devices. My employer needs a activex control to interface with a
barcode scanner.

*** Free account sponsored by SecureIX.com ***
*** Encrypt your Internet usage with a free VPN account from
http://www.SecureIX.com ***


*** Free account sponsored by SecureIX.com ***
*** Encrypt your Internet usage with a free VPN account from
http://www.SecureIX.com ***

Mar 20 '06 #8

This discussion thread is closed

Replies have been disabled for this discussion.