Getting started with the desktop components

Modified on Thu, 26 Jun at 11:31 AM

Getting Started with the Desktop Components

This guide helps you get started with the inmydata desktop components, which include both 32-bit and 64-bit OCX support controls and .NET Windows Forms controls. These components enable seamless integration of inmydata's analytics features into your desktop applications.


The API Reference documents for the Desktop Components are available here.


Downloading and Installing the Desktop Components

To install the desktop components, download and run the installer:

Download link: inmydata.WindowsForms.Installer.msi

This installer provides both 32-bit and 64-bit versions of the required OCX controls and registers the .NET assemblies needed for integration into your Windows Forms applications.


Distributing the Desktop Components

If you are distributing the desktop components with your own application, you should:

  1. Bundle the MSI: Include the inmydata.WindowsForms.Installer.msi as part of your application installer package.

  2. Chain the installation: Use an installer authoring tool (e.g., WiX, InstallShield, or Advanced Installer) to chain the execution of the inmydata MSI before or after your application's installation. Ensure the MSI runs silently for a seamless user experience:

msiexec /i inmydata.WindowsForms.Installer.msi /quiet
  1. Target Architecture: The installer handles both 32-bit and 64-bit systems automatically, so there's no need to manage architecture-specific versions separately.


Configuring the Desktop Components

The desktop components include a single control named AnalyticsControl, which encapsulates all the available web-based inmydata components.

Refer to the API reference for the full list of properties, methods, and events:

Desktop Component API Reference

AnalyticsControl Overview

The AnalyticsControl provides access to the following inmydata experiences:

  • Full

  • AI Copilot

  • Insights

  • Visualizations

  • Dashboards

You can configure which experience is shown in the control by setting its ContentType property.

For example, setting ContentType to ContentTypeEnum.Full displays the full inmydata web interface within the AnalyticsControl.


Responding to Events with the Desktop Components

The AnalyticsControl exposes several events that can be handled to respond to user actions or lifecycle events within the embedded control. You can register event handlers just like any other .NET Windows Forms control.

For a full list of available events and how to handle them, refer to the API documentation:

Desktop Component Events – API Reference

This allows your application to integrate tightly with the control's behaviour—for example, reacting when a user selects a new dataset or completes an insight generation.


Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article