KURTiS MAXiMUS
Member
- Outlook version
- Outlook 2010 32 bit
- Email Account
- Exchange Server 2010
I am trying to switch between outlook and my ERP system ( visual enterprise) but cannot get visual to activate.
I put path as" \\visualsql\apps\vmfg\VM.EXE" but it just open a login for administrator.
The module window that is open is estimating window VMESTWIN.EXE if I add that to path it opens same login.
Is there a way to activate the open window I have ?
this is what I am using: Which just open administrator login box.
Public vPID As Variant
Public Sub OpenApplication()
'Launch application if not already open
If vPID = 0 Then 'Application not already open
101:
vPID = Shell("\\visualsql\apps\vmfg\VMESTWIN.EXE", vbNormalFocus)
Else 'Application already open so reactivate
On Error GoTo 101
AppActivate (vPID)
End If
End Sub
I put path as" \\visualsql\apps\vmfg\VM.EXE" but it just open a login for administrator.
The module window that is open is estimating window VMESTWIN.EXE if I add that to path it opens same login.
Is there a way to activate the open window I have ?
this is what I am using: Which just open administrator login box.
Public vPID As Variant
Public Sub OpenApplication()
'Launch application if not already open
If vPID = 0 Then 'Application not already open
101:
vPID = Shell("\\visualsql\apps\vmfg\VMESTWIN.EXE", vbNormalFocus)
Else 'Application already open so reactivate
On Error GoTo 101
AppActivate (vPID)
End If
End Sub