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

  • SEARCH
  • Home
  • 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 60555
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T18:10:49+00:00 2026-05-10T18:10:49+00:00

Is it possible to use an ocx (ActiveX Control) on a winform (probably adding

  • 0

Is it possible to use an ocx (ActiveX Control) on a winform (probably adding it programatically) without first having the ocx registered with regsrv32?

What I’m trying to achieve is to enable xcopy installation. I’ve had the ‘AxInterop..dll’ and ‘Interop..dll’ file generated from my dev machine.

I’ve seen the possibility of calling a COM dll without first registering it (ProSysLib, according to the author, but I haven’t tested it yet), since ocx is also COM based, thus I assume that there must be some way to do that as well.

  • 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. 2026-05-10T18:10:50+00:00Added an answer on May 10, 2026 at 6:10 pm

    Yes, this can be done. You must assume your application will only be deployed on Windows XP (or Windows Server 2003) or later, and then you can use what is called ‘registration free COM’ to make this happen.

    Essentially what you do is create a manifest file for the ActiveX control DLL so the Windows loader & COM DLL’s know what its registration is without having to put that in the registry.

    A walkthrough of what to do is in this article on MSDN: Registration-Free Activation of COM Components: A Walkthrough

    ‘Step 6’ and ‘Step 7’ in that article contain everything you will need.

    I just tried this out on one of my own C# programs that uses a Microsoft ActiveX grid control (the old ‘MS Flex Grid’) and it works just fine. Make sure you create a manifest file for both your application and the COM DLL, and substitute the appropriate GUIDs in the right places. You may need to use OLEVIEW to dig out the right IDs to use from the ActiveX DLL if you don’t have them handy.

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

Sidebar

Ask A Question

Stats

  • Questions 123k
  • Answers 123k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer These aren't the only two options, you can also use… May 12, 2026 at 12:56 am
  • Editorial Team
    Editorial Team added an answer Applications written for WinMo 6.0 will run on 6.1 (and… May 12, 2026 at 12:56 am
  • Editorial Team
    Editorial Team added an answer You'll need to explicitly pass the ArrayList type variable. This… May 12, 2026 at 12:56 am

Related Questions

In our project, we have a lot of ActiveX controls written in VB6. On
I use an ActiveX control which is just a HTTP handler. It sends out
Is it possible to use an UnhandledException Handler in a Windows Service? Normally I
Is it possible to use an IF clause within a WHERE clause in MS

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

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.