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 8398713
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T21:07:12+00:00 2026-06-09T21:07:12+00:00

Is there a way to create custom controls in a .Net Language for use

  • 0

Is there a way to create custom controls in a .Net Language for use in MS Access 2010? I have a program that is using subforms to attempt to emulate a control but it really is not working very well. If I was able to create a custom control in say C# or VB.Net or really anything and import it to Access My life would be much easier. Is this possible?

  • 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-06-09T21:07:13+00:00Added an answer on June 9, 2026 at 9:07 pm

    While it is theoretically possible to create a control in .NET that can be used in MS Access, it is also very impractical because there are so many things that do not work.

    Here’s some of the problems I ran into when I tried it:

    • I never did get binding to work. In other words, I couldn’t expose .NET’s native binding in a way that made it usable in MS Access.
    • I couldn’t get the control to resize. When you change the size of the control from within Access, you are only change the size of the “design surface” upon which the control is placed. It has no effect on the size of the control.
    • .NET ActiveX controls will be packaged in a .DLL file, not an .OCX file. You have to use the RegAsm tool to register the .DLL file.
    • You have to download and install Microsoft’s Interop Form’s Toolkit 2.1 to be able to create a COM interop control.
    • Exposing .Net control properties, methods, and events to a COM interface is a fairly manual and laborious process. For example, the combobox as a “value” property but it is not automatically mapped to an ActiveX control’s .value property. In fact, I couldn’t find any way to map the two so I had to actually create a separate value property with a different name which is far from intuitive for the programmer using the control. A typical manual “binding” would end up looking something like this: Me!MyFieldName = Me.ActiveXControl.MyValue
    • Writing in COM callable wrapper in .Net is a little goofy whether it’s an ActiveX control or not. You have to know how to write your .NET code so that the properties, methods, and events will show up properly with Intellisense in VBA. This involves writing a public interface, using delegates, and I don’t even remember what all. Suffice it to say that it’s complicated.

    At the end of it all I started to wonder if I wasn’t working real hard on doing something that was impossible. And wondered if it wouldn’t be better just to use .NET for everything and dump Access completely. Unfortunately, today I’m still developing in Access but we are seriously looking at moving to .NET in the near future.

    You can see another other related question here that I contributed to:
    http://social.msdn.microsoft.com/Forums/en-US/accessdev/thread/06867384-9e1f-486d-982a-6bbb0f40848d/#5b27805f-3a95-4bbd-a50e-3de06e199490

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

Sidebar

Related Questions

is there a way to create custom post variables when a user presses submit,
Is there some way to create a custom (WoW64) shared registry key? By default
I need to know if there is a way to create a custom shortcut
Is there a way to create a callback function that fires when a list
Is there a way to create a temporary table using the RMySQL package? If
I have an application that was started in C# 1.0 using Visual Studio .NET.
I have a custom UserControl that I am drawing using the GDI+. It is
Some information: i have to write a program that controls some devices (this is
I have implemented a set of ASP.NET web custom controls and added these to
I have a JSP that is using Spring:form tags to bind controls to a

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.