Can I create a .Net custom control in a Microsoft Access form?

  • Thread starter Thread starter Arend Jan Nijenhuis
  • Start date Start date
A

Arend Jan Nijenhuis

Hi,

I'm fairly new to .Net, but an expert in Microsoft Access VBA.
For a large Access application, I want to create some sort of custom control
(COM interop?) in VB.Net, to be used in an Access form.

The control needs to put together a simple design drawing for building
constructors, based on some values in the Access form.

Can it be done?
My question is: what kind of solution/project do I need to create in .Net,
so that I can drag the control on an Access form, and use it's properties
and methods?

So far I have achieved the use of a .Net dll in Access of which I can use
the properties and methods, but I don't know how to create a visual control
on which I can display a drawing in the Access form.

It's quite an effort to find the answers on google with keywords like
"access" and ".net". I obviously get thousands of off-topic results.
Any help would be greatly appreciated.


AJ Nijenhuis
 
Arend Jan Nijenhuis said:
Hi,

I'm fairly new to .Net, but an expert in Microsoft Access VBA.
For a large Access application, I want to create some sort of custom
control (COM interop?) in VB.Net, to be used in an Access form.

The control needs to put together a simple design drawing for building
constructors, based on some values in the Access form.

Can it be done?
My question is: what kind of solution/project do I need to create in .Net,
so that I can drag the control on an Access form, and use it's properties
and methods?

So far I have achieved the use of a .Net dll in Access of which I can use
the properties and methods, but I don't know how to create a visual
control on which I can display a drawing in the Access form.

It's quite an effort to find the answers on google with keywords like
"access" and ".net". I obviously get thousands of off-topic results.
Any help would be greatly appreciated.


AJ Nijenhuis

I could be wrong but I believe this may not be accomplishable. What you are
asking for is to create an ActiveX control using a .Net language. I do not
think it is possible to create an ActiveX control in VB.Net, C#, or any
other .Net language.

Mythran
 
Back
Top