Freelance Project Requests info@CodeDocu.de Software Development in C# WPF Asp.Net Core Vba Excel Word SQL-Server EF Linq, UWP Net
#

Download:

Datei 1: ActiveX_COM_Template.zip

Project template for an ActiveX control

 

The following is a complete COM Interop project consisting of a Visual Studio 2017 project and a Microsoft Access database and MS Excel file,

which show the integration of the usercontrol as an ActiveX control.

 

You just need to add your own program code to the project and create a custom ActiveX COM Control for Office applications

 

In the code block

Like here

 

    [Guid(ClassId), ClassInterface(ClassInterfaceType.None)]

    [ComSourceInterfaces(typeof(IInteropUserControlEvents))]

    public partial class ComControl : UserControl, IInteropUserControl

    {

..

// Please enter any new code here, below the Interop code

        public void create_Barcode39(string String_to_Encode)

        {

 

 

        }

..

 

 

Paste into MS Access

 

Access> Forms> Entwurf-> ActiveX controls

 

Then the COM control appears

In the Insert ActiveX Control dialog box

axBarcode39.ComControl

 

Looks like here

 

In Microsoft Excel

Developer-> Insert-> ActiveX controls, and then the Other Controls icon 

 

If you find the ActiveX control under Other controls-> axBarcode39.Control

 

In the formula: = Embed ("axBarcode39.ComControl"; "")

 

 

The project was created using the Microsoft Interop Toolset

VB6 Interop UserControl and

 

 

You can find the C # template for the Interop UserControls

[Lnk "http://www.java2s.com/Open-Source/CSharp_Free_Code/UI/Download_Interop_Forms_Toolkit_for_C_.htm" /]

as download link interoptoolkitcs.zip

 

 

 

Mobile

.

Contact for Jobs, Project Requests: raimund.popp@microsoft-programmierer.de