Is the User name correct and active in the Universe?

From: [email protected] [mailto:[email protected]]
Sent: Monday, September 23, 2013 11:21
To: [email protected]
Subject: [talkbws] Meditech 5.65 login issue

Hi, I have a script that run when Meditech is launched, I have an issue that 
the username wipeout as you are typing it in.  The script only runs when EMR is 
launched, so I don't see anything there being an issue.

Side Note:  I inherited the script too.

Here's what is in the script for connecting to Meditech.

Function connectToMediTech() As Boolean

    Const ROUTINE_NAME As String = "MediTechEMRUtils.connectToMediTech"

    Dim returnValue As Boolean
    Dim ProcessID As Long

    On Error GoTo handler:

    returnValue = False         ' until proven otherwise.

    Dim mediTechProcessName As String
    mediTechProcessName = GetMediTechExeName

    If IsProcessRunning(mediTechProcessName) Then
        Shell_ GetMediTechFocusPath & " MeditechStream"
        Call BostonWorkStation70.Connect("MeditechStream", stStream)
        Key "@_FORCETOTOPON"
        returnValue = True
    End If

    connectToMediTech = returnValue

    Exit Function

handler:

    Call logger.LogError(Err, ROUTINE_NAME)
    Call Err.Raise(Err.Number, , ROUTINE_NAME & ": " & Err.Description)

End Function




---  To post a message to this list, send mail to: 
[email protected]<mailto:[email protected]>    You are currently subscribed as: 
[email protected]<mailto:[email protected]>    Unsubscribe in 
the customer center on our website: 
http://www.bostonsoftwaresystems.com/Customers/ListServe.aspx


This message and accompanying documents are covered by the
Electronic Communications Privacy Act and the Health Insurance
Portability and Accountability Act. This message is intended only
for the use of the individual or entity to which it is addressed
and may contain information that is confidential and/or privileged.
If the reader of this message is not the intended recipient, you
are hereby notified that any dissemination, distribution or copying
of this communication is strictly prohibited. If you have received
this communication in error, please notify the sender immediately
by e-mail, and delete the original message. Thank you. 
---  To post a message to this list, send mail to: [email protected]    You are 
currently subscribed as: [email protected]    Unsubscribe in the 
customer center on our website: 
http://www.bostonsoftwaresystems.com/Customers/ListServe.aspx

Reply via email to