You want to use Activate instead of Connect.

TKs

Lew Hundley
Information Specialist - Programmer
Silverton Hospital
Silverton Oregon
503.873.1657
[EMAIL PROTECTED]

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Roger Tack
Sent: Monday, December 15, 2003 2:35 PM
To: [EMAIL PROTECTED]
Subject: [Talk] Logon to Meditech Magic Workstation Multiple times

 

I have a script that I’m trying to get it to multiple functions without logging out of Meditech and logging back in.  When the script finishes the first process it will back out one screen so that it is back to a menu.

 

I’m using VB6 and not VBA that comes with the Boston Workstation. The reason for this is because of what I have done with forms, dropdown menus and picture icons.

 

I use the code:

If Not Active (“Medi”) then

Connect  <path etc>, stMeditech, “Medi”

End if


The script wants to open another session every time.

 

Anyone have any suggestions?

 

Thanks.

 

Roger Tack

Sr. Programmer/Analyst

St. Joseph Regional Medical Center

208-799-5721

 

DISCLAIMER:
This message, including any attachments, is intended for the sole use of the individual to whom it is addressed, and may contain information that is privileged, confidential and exempt from disclosure under applicable law. If you are not the addressee you are hereby notified that you may not use, copy, disclose, or distribute to anyone the message or any information contained in the message. If you have received this message in error, please immediately advise the sender by reply email and delete this message.


NOTE: This e-mail message may contain information that may be privileged, confidential, and exempt from disclosure. It is intended for use only by the person to whom it is addressed. If you have received this message in error, please do not forward or use this information in any way. Delete it immediately, and contact the sender as soon as possible by the reply option or by telephone at the telephone number listed (if available). Thank you.

Reply via email to