473,394 Members | 1,965 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

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


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

--
Replace the "nospam" with "aj" to uncover my real e-mail address.
Nov 21 '05 #1
1 1862

"Arend Jan Nijenhuis" <no**************@hotmail.com> wrote in message
news:4f***************************@news.chello.nl. ..

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

--
Replace the "nospam" with "aj" to uncover my real e-mail address.


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

Nov 21 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Alex Stevens | last post by:
I'd already posted this in microsoft.public.dotnet.framework.windowsforms and microsoft.public.dotnet.framework.windowsforms.controls to no avail so apologies for the cross-posting. Hi, I'm...
1
by: Arend Jan Nijenhuis | last post by:
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...
2
by: macca | last post by:
Hi, I am writing a GUI application. It will have a number of user defined controls( I plan to use/create a user defined control that will output alarm states that the user can also select and...
21
by: One Handed Man \( OHM - Terry Burns \) | last post by:
When using a custom control. In order to check and see if values have changed one has to implement the IPostBackDataCollection interface. The values returned for the control seem to be simply a...
7
by: Shimon Sim | last post by:
I have a custom composite control I have following property
6
by: Suzanne | last post by:
Hi all, I really hope someone out there can help me as I've been tearing my hair out on this one for a good while and I'm getting really frustrated now! My problem is this - my custom...
2
by: Suzanne | last post by:
Hi all, I'm reposting this message as I'm experiencing this problem more and more frequently : I really hope someone out there can help me as I've been tearing my hair out on this one for a...
6
by: forest demon | last post by:
i have a custom control that gets loaded at runtime. i need to be able to access a property of a control thats part of the main form, through the clcik event of the custom control. i may be...
2
by: =?Utf-8?B?V29ua28gdGhlIFNhbmU=?= | last post by:
Hello, I have an existing (WPF) Class Library project that I'd like to add a WPF Custom Control to. However, when I try to Add New Item, that isn't one of the available options. Perhaps this...
9
by: Gord | last post by:
In VB6, a custom dialog can be easily created by adding a new form, adding whatever controls you like, sizing it as you like, adding code and then just loading/unloading it whenever you like....
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.