Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 489099
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T01:46:28+00:00 2026-05-13T01:46:28+00:00

We have a piece of legacy code in C# .NET, targetted for the Compact

  • 0

We have a piece of legacy code in C# .NET, targetted for the Compact Framework. We would like to turn this code into an ActiveX control, which has to run on the .NET Compact Framework under Windows Mobile 5. Is it possible to implement such a control? If so, can anyone provice a good resource that explains how this can be done?

I have already searched a lot, but have not yet found a definitive answer or resource.

It would seem that this is perfectely doable on the full .NET Framework. I have also found that it is not possible to launch such a control from an unmanaged context. But otherwise, I cannot find the exact answer to my question.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T01:46:28+00:00Added an answer on May 13, 2026 at 1:46 am

    The .NET CF does not support hosting. This means it is not possible for an unmanaged process (which most ActiveX containers such as Internet Explorer Mobile etc will be) to spin up a .NET CLR runtime when it requests your control be instantiated via the details specified within the registry. As such the .NET CF doesn’t support the features the desktop version has for registering COM/ActiveX objects.

    So in that respect it is not possible for you to create an ActiveX control usable by arbitary applications.

    If your legacy code is C# based, what is the driving factor behind packaging it as an ActiveX control? Would a managed user control or class library be a suitable replacement?

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have this piece of code on a php page, at the bottom: window.opener.location.href=/index.html;
I have this piece of c# code in my Excel 2003 add-in: var leafPoint
I have a piece of code that clones three fields, but when it clones
I have a piece of code that filters a list using LINQ, creates a
i have this piece of html <li><a href=# id=9000 class=yes vpslink><img src=x.gif /></a></li> <li><a
I have a piece of code that sets up a capture session from the
I have a piece of code for some validation logic, which in generalized for
As the title says, I would like to consume a WF workflow using a
I'm working on a project that has a lot of legacy C code. We've
My present task is to dissect tcpdump data that includes P2P messages and I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.