Recent content by KURTiS MAXiMUS

  1. KURTiS MAXiMUS

    Trying to appactivate ERP window

    Diane, thanks you!! Ok. I got this. Thanks for the help. after .exe I had to specify database, username, and password. If visual is not open. if visual estimating window is open just appactivate "estimating". Working example below: Public vPID As Variant Public Sub OpenApplication()...
  2. KURTiS MAXiMUS

    Trying to appactivate ERP window

    Diane, thinking here now it has something to do with password. if I open estwin from within visual it activates. ( no problem) if I try to appactive using vmestwin.exe it opens a login. is there anything you know I can incorportate that" username" something like Mark Whites example. ?
  3. KURTiS MAXiMUS

    Trying to appactivate ERP window

    Mark, Thanks ! I am new to VB... do you have a complete example that I can look at for ref. ? Kurt
  4. KURTiS MAXiMUS

    Trying to appactivate ERP window

    Diane, below is opening sysadm login for vmestwin.exe from server location " \\visualsql\apps\vmfg\VMESTWIN.EXE" See below visual properties screen shot. what is active is starting from U:/VISUAL.... which is where INI files for user are located. maybe I am missing something from my path, my...
  5. KURTiS MAXiMUS

    Trying to appactivate ERP window

    Diane, I tried following but get run-time error '53" file not found. Public Sub OpenApplication() vPID = "VISUAL" On Error GoTo 101 AppActivate (vPID) j = 1 Debug.Print j 101: If j = 0 Then vPID = Shell("\\visualsql\apps\vmfg\VISUAL", vbNormalFocus) End If End Sub
  6. KURTiS MAXiMUS

    Trying to appactivate ERP window

    Using your example the login box opens for sysadm.
  7. KURTiS MAXiMUS

    Trying to appactivate ERP window

    Diane, Hi. thanks. I can get notepad to open - #1 below works. and example #2 to open outlook works. But if I put "VMESTWIN" into code I get run-time error '53' file not found. ? #1 - works. Public vPID As Variant Public Sub OpenApplication() 'Launch application if not already open...
  8. KURTiS MAXiMUS

    Trying to appactivate ERP window

    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...
Back
Top