The following is from the Remarks section of the HostName topic in the
Visual Basic help file:
"When editing an object, the HostName property setting may be displayed
in the object's window title. However, some applications that provide
objects don't display HostName."
Steps to Reproduce Behavior
- Start a new project in Visual Basic. Form1 is created by default.
- Add an OLE Client control to Form1. When the Insert Object dialog box
appears, select Microsoft Excel 5.0 WorkSheet.
- Select the HostName property of the OLE control and set it to "My
Server."
- Press the F5 key to Run the program.
- Right-click the OLE Client control, and choose Open.
The worksheet in Microsoft Excel displays "Book1" rather than "My Server."