I've been scratching around on this one for a couple of months now, searching, reading and failing.
The background is this: I use a webpage in work which allows you to set filters. when you click on the set filters, it triggers a JavaScript post back that loads the filter page in window.showmodaldialog.
this page is a webpage using a plethora of input boxes and input submit buttons which I hoped to use the HTML Dom to enter filters then "click" OK.
My VBA contains a web browser which loads the URL, logs in and clicks the "set filters" but the modal dialog opening is where I loose it.
can anyone please explain to me if its possible to return the modal dialog to the object/new object so I can enter the filters and click "OK"?
so far I've tried reading the hwnd, I can find the window I want and after that I'm a rabbit between headlights.
thanks in advance, Dave
Bookmarks