jturnervbs
Programmer
I have this problem with HTA's. Whenever a subroutine within an hta takes an extended amount of time to execute the HTA application window becomes this lifeless blob on the desktop. You can't move it or minimize it while it's working. I was able to use a window.moveto -2000, -2000 to tuck it away while it performs the tasks and I was able to bring it back with a window.moveto 1,1 when the process was done. The problem, however, is if I'm working within another application like Excel for instance when the HTA finishes, my HTA window does not receive focus and does not return to the visible coordinates.
Is there anyway to give this specific HTA window a name and focus and also specify a specific window name "move" within my HTA? I would like to avoid using msgbox (which works sort of) but the msgbox does not present itself on-top and is often buried behind other apps. FWIW, I'm using vbscript within the HTA.
Is there anyway to give this specific HTA window a name and focus and also specify a specific window name "move" within my HTA? I would like to avoid using msgbox (which works sort of) but the msgbox does not present itself on-top and is often buried behind other apps. FWIW, I'm using vbscript within the HTA.