We value your feedback.
Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!
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.