variable declaration issue

GJennin7

New Member
Joined
Oct 7, 2020
Messages
11
Office Version
  1. 365
Platform
  1. Windows
Guy's, the below is used to access a hummingbird platform. The moHostApp is used to access the application while the Exp is employed to send commands while the session is open. The variables are being declared of type HostExApplication and HostExHost. Can someone shed some light on these declaration types for me please. Are they held in the object library of set up by the programmer in the object library or are they inherent to the hummingbird application. Thanks in advance, one rather confused newby.

Private moHostApp As HostExApplication
Private moHostExp As HostExHost
 

Excel Facts

Convert text numbers to real numbers
Select a column containing text numbers. Press Alt+D E F to quickly convert text to numbers. Faster than "Convert to Number"
These data types are not within the standard Excel, or Microsoft Office, or VB for Application Object Models; I guess they are defined by a specific library that has been "bound" to your vba to deal with your application.
You can inspect which "libraries" are bound to your project using, within the vba macro editor, the command Menu /Tools /References; this will open a box with the known libraries; some are "checked" and that means they are bound to your project and their data types can be used.
If your code with those declarations do not generate an error when you run your it then you probably have a non Microsoft library checked, in the list.

If you don't get the foreign library, list which are the checked names; or make a snapshot of your "available references" box and share it

Bye
 
Upvote 0

Forum statistics

Threads
1,215,035
Messages
6,122,791
Members
449,095
Latest member
m_smith_solihull

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top