Hello
I have a project to sort work schedules for bidding. The way it works is: I crunch scheds into a DB and give the user an interface with sorting filter options. Then based on their filters it arranges the schedules according to their priorities. When the user is satisfied with the order of their choices they have to transfer their list of choices to a web page for upload.
What I want to do is automate the choice upload process. But, the web page that we use to enter the choices has frames. In the past I used the webbrowser(WB) control to do this, but that was before frames and everything was all in one place and I could just insert the choices and hit the send button from the WB control all with code.
Then along came the new and improved page with frames. And now I'm lost and afraid.![]()
But seriously the data entry cells are in one frame and the send button is in another. So I can load up the individual frames in their own WB controls but I can't get it to send.
I used to use this code:to insert the data with the old page.Code:For Each el In brwWebBrowser.Document.All If el.Type = "text" Then 'Debug.Print el.Name & " - " & el.Type bs = el.Name End If Next b = Right(bs, (Len(bs) - 9)) BELineCount = Right(bs, (Len(bs) - 9)) Dim x As Integer For x = 1 To b brwWebBrowser.Document.All.Item("BidLineID" & x).Value = Lines(x) Next
Is the WB control capable of doing this sort of operation with frames?
Any suggestions for a solution here?
Thanks
David




Reply With Quote