One of a set of tools we're offering as a way of saying thank you for being a part of the community.
I thought maybe there was a problem with the spaces in the executable name, but I removed them and still have the problem. This machine runs other external applications from within this VB app with out any problems. Any Ideas?
Private Sub cmdClock_Click() Dim X As Long Dim handle As Long Dim cmndStr As String handle = FindWindow("ThunderRT6FormDC", "Scalper Cycle Clock") If handle <> 0 Then AppActivate "Scalper Cycle Clock" X = ShowWindow(handle, 1) X = SetWindowFocus(handle) Else cmndStr = "\\hmnassrvr\HMNASSRVR_D\Applications\Scalper_Cycle_TM\Scalper Cycle TM.exe " X = Shell(cmndStr, 1) 'DoEvents End If End Sub