|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
ActiveX Controls on Windows MobileI 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 *** Jarod,
I cannot see the relation to the newsgroup languages.vb, can you give us a hint? Cor Show quoteHide quote "Jarod_24" <jarod***@hotmail.com> schreef in bericht news:441e907f$0$9687$6d36acad@titian.nntpserver.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 *** "Cor Ligthert [MVP]" <notmyfirstn***@planet.nl> wrote in message hm, maybe that i plan to write an activex in vb.netnews:%23i4kj3BTGHA.3192@TK2MSFTNGP09.phx.gbl... > Jarod, > > I cannot see the relation to the newsgroup languages.vb, can you give us a > hint? > other than that i guess nothing, just posted to my usual groups Show quoteHide quote > Cor *** Free account sponsored by SecureIX.com ***> "Jarod_24" <jarod***@hotmail.com> schreef in bericht > news:441e907f$0$9687$6d36acad@titian.nntpserver.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 *** > > *** Encrypt your Internet usage with a free VPN account from http://www.SecureIX.com *** 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 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 Show quoteHide quote "Jarod_24" <jarod***@hotmail.com> wrote in message news:441e907f$0$9687$6d36acad@titian.nntpserver.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 *** 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. Show quoteHide quote "Brian Henry" <nospam@nospam.com> wrote in message news:%23zZjs1CTGHA.4900@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" <jarod***@hotmail.com> wrote in message > news:441e907f$0$9687$6d36acad@titian.nntpserver.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 *** > > 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. Show quoteHide quote "Paul G. Tobey [eMVP]" <ptobey no spam AT no instrument no spam DOT com> *** Free account sponsored by SecureIX.com ***wrote in message news:e0Vn1HDTGHA.1204@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" <nospam@nospam.com> wrote in message > news:%23zZjs1CTGHA.4900@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" <jarod***@hotmail.com> wrote in message >> news:441e907f$0$9687$6d36acad@titian.nntpserver.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 *** >> >> > > *** Encrypt your Internet usage with a free VPN account from http://www.SecureIX.com *** 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. Show quoteHide quote "Jarod_24" <jarod***@hotmail.com> wrote in message news:441edfe0$0$13368$6d36acad@titian.nntpserver.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:e0Vn1HDTGHA.1204@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" <nospam@nospam.com> wrote in message >> news:%23zZjs1CTGHA.4900@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" <jarod***@hotmail.com> wrote in message >>> news:441e907f$0$9687$6d36acad@titian.nntpserver.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 *** |
|||||||||||||||||||||||