Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users
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
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
Join the community of 500,000 technology professionals and ask your questions.