473,735 Members | 8,833 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

ActiveX Controls on Windows Mobile

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
7 4397
Jarod,

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

Cor
"Jarod_24" <ja******@hotma il.com> schreef in bericht
news:44******** **************@ titian.nntpserv er.com...
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

"Cor Ligthert [MVP]" <no************ @planet.nl> wrote in message
news:%2******** ********@TK2MSF TNGP09.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******@hotma il.com> schreef in bericht
news:44******** **************@ titian.nntpserv er.com...
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
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******@hotma il.com> wrote in message
news:44******** **************@ titian.nntpserv er.com...
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
It's actually worse than that. This question should have been targeted
*only* at microsoft.publi c.dotnet.framew ork.compactfram ework. 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******** ********@TK2MSF TNGP09.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******@hotma il.com> wrote in message
news:44******** **************@ titian.nntpserv er.com...
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
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
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******** ******@TK2MSFTN GP12.phx.gbl...
It's actually worse than that. This question should have been targeted
*only* at microsoft.publi c.dotnet.framew ork.compactfram ework. 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******** ********@TK2MSF TNGP09.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******@hotma il.com> wrote in message
news:44******** **************@ titian.nntpserv er.com...
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
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******@hotma il.com> wrote in message
news:44******** *************** @titian.nntpser ver.com...
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******** ******@TK2MSFTN GP12.phx.gbl...
It's actually worse than that. This question should have been targeted
*only* at microsoft.publi c.dotnet.framew ork.compactfram ework. 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******** ********@TK2MSF TNGP09.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******@hotma il.com> wrote in message
news:44******** **************@ titian.nntpserv er.com...
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
2228
by: Jeff M | last post by:
For my application an activeX refers to "program displayed within Internet Explorer" After looking over the docs for VB.NET it looks impossible. ---START--- USERCONTROL CHANGES IN VISUAL BASIC .NET In Visual Basic 6.0, UserControl projects (also known as ActiveX Control projects) were used to create ActiveX controls. After they were compiled,
12
2591
by: A.M. | last post by:
Hi at all, how can I do to insert into a HTML page a file .txt stored in the same directory of the server where is the html file that must display the text file.txt? Thank you very much P.Pietro
0
7126
by: Ike | last post by:
I have an Activex Control created in VB6, which, displays no problem on any machine I have, but, on some machines of others, it does not. All machines are running either XP or Windows 2000, and all are running MSIE6.x, woth security settings set to display this control. For the life of me, I cannot figure out how such a simple control can be so sporadic in it;s showing on a page. It always downloads - it just doesn't always show. I'm...
0
1364
by: zevikw | last post by:
I am using an ActiveX control in a .NET application which I put on a form. I have another .NET control on that form that handles the Validating event. The method that handles the Validating event, shows a message box and sets e.Cancel = True. When I click any other control in the form, the message box shows and the focus returns to the control that handled the Validating event. The problem happens when I click on the ActiveX control. The...
3
22855
by: EJ1003 | last post by:
Hello I would like to create Activex Control uisng C# and use it in ASP.Net webform. User Control is not solving my requirement so I am going for Activex Control. Please guide me on this, how to do it, if any sample is provided will be of great help Thanks EJ
6
3520
by: Budhi Saputra Prasetya | last post by:
Hi All, I'm trying to display .NET Custom Control (created using Inherited Control) on an ASPX page, but no luck. I already registered the Control to Global Assembly Cache through .NET Framework 1.1 Configuration. I have also put a reference to the control on my ASP .NET project. The view that I get is only a disabled text area. Below is the code that I'm using:
4
2522
by: Henrik Dahl | last post by:
Hello! Is it possible to use Visual Studio 2005 or, secondarily, Visual Studio .NET 2003 to create ActiveX controls which may be consumed by VB 6.0 programs, i.e. dealt with on forms in the usual way? If yes, may you provide a hint/link for getting started? Best regards,
6
8078
by: hufaunder | last post by:
I have an ActiveX component that I want to use in a library that I am writing. As a first test I used the ActiveX component in a windows form application. Adding the component created: Ax.dll .dll I can not call the functions in the ActiveX component. In the next step I tried to use the ActiveX component in a class library. I simply added a reference to the corresponding COM component. This this only
1
16113
by: Arlion | last post by:
Im in the research phase of this experiment. my goal is to get ActiveX controls on a windows 5.0 or 6.0 to run applications such as remote desktop or view live feed from a server. (watch camara feed..) What i have come up with so far is.... it doesnt exist. so. with your help, and the communities huge brains, i was hopeing to get a start on said project. (script line edits and hacks i have no problem with, and i personally have a...
0
8962
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8785
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9463
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9327
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9200
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8201
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
4822
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
2739
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2188
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.