List Info

Thread: Re: Problem with StartSession




Re: Problem with StartSession
country flaguser name
United States
2007-02-27 10:26:34
Is this group active?  I haven't heard from anyone.

Kurt R. Buffington
Vice President
Gannett Welsh & Kotler, LLC
222 Berkeley Street
Boston, MA 02116
617-236-8900
f 617-236-1815
kbuffingtongwkinc.com



|---------+---------------------------->
|         |           Kurt R.          |
|         |           Buffington       |
|         |                            |
|         |           02/23/2007 05:26 |
|         |           PM               |
|---------+---------------------------->
 
>--------------------------------------------------------
------------------------------------------------------------
------------|
  |                                                         
                                                            
         |
  |       To:       hostexplorer-usershummingbird.com            
                                                            
   |
  |       cc:                                               
                                                            
         |
  |       Subject:  Problem with StartSession               
                                                            
         |
 
>--------------------------------------------------------
------------------------------------------------------------
------------|



I have wrote an EBS script that used to run via a HEP file
with an "Auto
Start Quick-Key" entry pointing to the EBX.

Now I am changing it all around to run from the command
prompt with a
parameter using ebrun.exe.  When I replaced the
HostFromProfile with a
StartSession I got some unexpected results.

When I test the script by running the EBX directly....

Set HostExplorer = CreateObject("HostExplorer")
UniqueSessID = HostExplorer.StartSession(cExplorerProfile)
' The session opens fine
Set MyHost = HostExplorer.Hosts(UniqueSessID)
' The scripts blows by any command after this (i.e. keys or
wait for
string)

Any idea what I am doing wrong?


____________________________________________________________
____________
The information in this e-mail, and any attachment therein,
is confidential and for use by the addressee only. If you
are not the intended recipient, please return the e-mail to
the sender and delete it from your computer. Although The
Bank of New York attempts to sweep e-mail and attachments
for viruses, it does not guarantee that either are
virus-free and accepts no liability for any damage sustained
as a result of viruses.

[1]

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