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
|Windows Script Host failed (Access is denied.) error||6||100|
|How can I change the contents on an Excel workbook based on a lookup list for about 350 plus worksheets with a macro or code?||27||89|
|vb6, excel Run-time error 1004 method 'close' of object 'workbooks' failed||7||41|
|Spell Check in VB6||13||95|
Join the community of 500,000 technology professionals and ask your questions.
Connect with top rated Experts
11 Experts available now in Live!