List Info

Thread: regarding Host object in HEPS 10.0.x




regarding Host object in HEPS 10.0.x
user name
2006-08-03 19:48:01

Is there a way to set a host to be hidden in the .open method?

 

Here is some sample code in c# using the Interop.HEOleAutLib OLE Automation Library:

 

HostExApplicationClass HEApp = new HostExApplicationClass();

HostExHost MyHost = HEApp.Hosts.Open("C:\myProfile.HEP","");

MyHost.Hide();

 

This will automatically hide the HE session window, but only after opening a session window to start with. Is there an option I can send the Open method of Hosts to make it non-visible prior to opening the session window? I don’t see any references in the Hummingbird Programmer’s guide in regards to what Options are available as the second argument to this method.

 

Perhaps there is an altogether different method (another library perhaps?). I found the COM section of the guide a little sparse. I stuck with OLE automation.

 

Peter G. Robbins, VzB

 

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )