Hi All,
I have an HTA application from with in which I am trying to open a File Browse or File Upload window. I am doing so with the following code:
<input type="file" name="F2" size="20" onchange='somefunction();' style ='display: none;'>
Later I call:
window.form1.f2.click();
This works and opens the Choose File to Upload window but it sometimes causes the application to freeze.
In XP, if I alt+tab to another window and back the application unfreezes.
In Vista, alt+tab doesn't work but sometimes closing all of my other windows or opening and closing the task manager works.
Any ideas?
TIA
I have an HTA application from with in which I am trying to open a File Browse or File Upload window. I am doing so with the following code:
<input type="file" name="F2" size="20" onchange='somefunction();' style ='display: none;'>
Later I call:
window.form1.f2.click();
This works and opens the Choose File to Upload window but it sometimes causes the application to freeze.
In XP, if I alt+tab to another window and back the application unfreezes.
In Vista, alt+tab doesn't work but sometimes closing all of my other windows or opening and closing the task manager works.
Any ideas?
TIA