|
|
|
|
ExNETHost(.NET host control)
|
ExNETHost is a control that allows you to host and display any .NET Framework object or Windows Forms User Control within COM-based projects, Windows forms, or dialogs. It enables seamless integration of .NET UI components into non-.NET environments.
ExNETHost works by taking the fully qualified assembly path or the assembly-qualified type name, instantiating the specified component, and rendering it directly inside your window, form, or dialog.
For instance, if NETHost.AssemblyQualifiedName property is set to
"System.Windows.Forms.MonthCalendar, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
it shows the /NET MonthCalendar component on your window / form / dialog.
(note) On .NET Framework the exontrol.NETObjectTemplate object ( part of the exontrol.NETHost.dll ) can be used to run / execute x-script code
for .NET assemblies/objects. For instance: (new
exontrol.NETObjectTemplate(this)).Template
= "Dim c; c =
CreateObject(`System.Windows.Forms.TextBox, System.Windows.Forms,
Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089`){Text=`Edit`;Dock=5};
Controls.Add(c)"; adds a new control of
TextBox type to this.Controls collection.
|
alt="features">
Features of eXNETHost include:
|
- Ability to host almost any /NET component within your /COM framework
- Events support, allowing events of the hosted component to be fired via HostEvent notifications
- Runtime handling of errors and exceptions from the hosted component
- X-Script/Template support for /NET objects
- Ability to use or display any /NET component on HTML pages
- Ability to execute code dynamically from strings or x-code
|
|
General information about ExNETHost product:
|
|
Identifier:
|
Exontrol.NETHost, Exontrol.NETHostObject, Exontrol.NETObjectTemplate
|
|
Version:
|
12.0.0.1
|
|
Files:
|
exontrol.NETHost.dll, exontrol.NETHost.tlb
|
|
Available As:
|
|
|
Available since:
|
2015112
|
|
Compatible with:
|
VB, VB6, twinBSIC, VBA, C++, X++, VFP, VFP Advanced (x64), Access, HTML, Delphi, LotusNotes
|
|
Lines of code:
|
4,056 (4,036 excluding comments and empty lines)
|
|
Includes:
|
Objects 4, Functions 57, Events 1, Definitions 2
|
|
Shortcut links:
|
|
|
|