I have the following html file on my local computer, which checks the API status of a server on our private network.
I am trying to have the VB browser control automatically submit the XML form and ping request on launch without opening any HTML file (with the code below).
Additionally, the url that this goes to requires windows authentication, which takes place in a windows popup dialogue. How can I automatically populate
that dialogue with user name and password?
I have looked on every site I can access (we have some forums blocked) Please help me! I'm out of ideas.
thanks,
MA
Code |

mike A19 reputationPosted Sep 10, 2009, 9:05 AM EDT
WebBrowser1.DocumentText = _ "Test Form function fnSubmit() {" & _ " window.document.XMLFORM.submit(); return; }" & _ " " & _ " & strURL & """>" & _ "XML Request: " & _ "Test Ping "to search the results of the page:
If WebBrowser1.DocumentText.Contains("XML ping successful (replace with your desired results)") Then (actions to take if ping successful) else (actions to take if ping unsuccesful) end if