Re: Webbrowser.navigate() not firing
- From: "Ryan Ramsey" <ryanramsey@xxxxxxxxx>
- Date: Tue, 22 Aug 2006 10:28:04 -0700
Anyone have a suggestion?
"Ryan Ramsey" <ryanramsey@xxxxxxxxx> wrote in message
news:y5qdncywu_HI1XrZnZ2dnUVZ_q-dnZ2d@xxxxxxxxxxxxxxx
I have been chasing this one down for a week and have narrowed it down to a
machine issue.
I have the following code:
webBrowser.Navigate(http://finao.net/post_dkp.php?database=40);
Basically all this script does is create an xml output file.
After the navigate, the function stops and is triggered again when
webbrowser_DocumentCompleted fires and then the XML file is read by the
program
Here is the odd thing... DocumentCompleted ALWAYS fires (as if the
navigate fires).
On machine one, everything works fine, the post_dkp.php script is run, and
a new xml file is created. I know this because in the XML file i embedded
a timestamp so i know the data is fresh.
On machine two, the navigate fires because DocumentCompleted fires, but
the script hasn't executed because the XML file contains stale
information.
My question: How do I debug this as webBrowser.Navigate does not return
any detailed status's.
The client seems to think the script is being executed but obviously it is
not.
Im thinking the 2nd machine might have a firewall issue preventing the
navigate but when DocumentCompleted fires a Dataset.ReadXML() ALWAYS
works (the xml file is read 100% of the time despite being stale or not).
This leads me think it might NOT be a firewall issue.
To confuse things even more... Sometimes it works on machine two, but 90%
of the time I get the stale info.
Please help. I am unfamiliar with all the little tools in the suite to
debug this kind of stuff but I would really appreciate some help or some
guidance to how to do this better.
Ryan
.
- References:
- Webbrowser.navigate() not firing
- From: Ryan Ramsey
- Webbrowser.navigate() not firing
- Prev by Date: From here to there: XmlDocument to a DataSet
- Next by Date: Handling Control UI Events in Worker Threads
- Previous by thread: Webbrowser.navigate() not firing
- Next by thread: Re: Webbrowser.navigate() not firing ** Resolved **
- Index(es):
Relevant Pages
|