kennedymr2
Programmer
I have a program which looks for a particular program which is running say prog1.exe.
This program is in VB, But i did not write it. Unable to alter anything.
----
win_buff3 = FindWindow("ThunderRT6FormDC", "Prog1"
' First Attempt To Find Main Window
If win_buff3 = 0 Then win_buff3 = FindWindow("ThunderRT6FormDC", vbNullString) ' Seccond Attempt To Find Main Window
----
This has been going great, until now!!!
------
%##$%%$$%
I need to have two copies of the program "prog1",running.
The above program will only find the first instance of Prog1
(ie the header)
Is it possible to RENAME ,the header,of the first instance of the program running from Prog1 to say Progx
Or, can i skip over the first instance of prog1, and look for the second. (?? How do i do this with the above code)
Appreciate any help
This program is in VB, But i did not write it. Unable to alter anything.
----
win_buff3 = FindWindow("ThunderRT6FormDC", "Prog1"
If win_buff3 = 0 Then win_buff3 = FindWindow("ThunderRT6FormDC", vbNullString) ' Seccond Attempt To Find Main Window
----
This has been going great, until now!!!
------
%##$%%$$%
I need to have two copies of the program "prog1",running.
The above program will only find the first instance of Prog1
(ie the header)
Is it possible to RENAME ,the header,of the first instance of the program running from Prog1 to say Progx
Or, can i skip over the first instance of prog1, and look for the second. (?? How do i do this with the above code)
Appreciate any help