D
David W. Fenton
Today at a client's, I encountered an odd problem with
Application.FollowHyperlink (Access 2002 running on Win2K). The app
updates a website via the MSXHTML object, then uses FollowHyperlink
to open a page on the website that displays the results. I'm passing
only the URL argument.
The update with MSXHTML is working just fine, but today
FollowHyperlink was unreliable and eventually quit working entirely.
I first did several updates and it worked, but then one failed with
"unspecified error" (I can't recall the exact error number). So I
closed and restarted Access, and one update worked and the rest
failed. So I rebooted the machine and started up Access and it
failed on the first try.
Anyone have any ideas on this? It seems like something has gone
wrong with the mechanisms that FollowHyperlink uses as the error is
clearly coming from outside Access (there is no error number for it,
in the default error message that comes up if I turn off error
handling), but I don't know where those are in the OS. The user
reports that this first started happening in the last couple of
weeks, but she doesn't often use this functionality (that was the
goal today, to get her to start using it, since she paid for having
it programmed into the app nearly two years ago), so it could be a
longer-standing issue.
I find one reference in Google Groups that doesn't seem to apply,
and nothing anywhere else.
I'm tempted to convert it to ShellExecute, but wonder if
FollowHyperlink is just a wrapper around that.
Suggestions?
Application.FollowHyperlink (Access 2002 running on Win2K). The app
updates a website via the MSXHTML object, then uses FollowHyperlink
to open a page on the website that displays the results. I'm passing
only the URL argument.
The update with MSXHTML is working just fine, but today
FollowHyperlink was unreliable and eventually quit working entirely.
I first did several updates and it worked, but then one failed with
"unspecified error" (I can't recall the exact error number). So I
closed and restarted Access, and one update worked and the rest
failed. So I rebooted the machine and started up Access and it
failed on the first try.
Anyone have any ideas on this? It seems like something has gone
wrong with the mechanisms that FollowHyperlink uses as the error is
clearly coming from outside Access (there is no error number for it,
in the default error message that comes up if I turn off error
handling), but I don't know where those are in the OS. The user
reports that this first started happening in the last couple of
weeks, but she doesn't often use this functionality (that was the
goal today, to get her to start using it, since she paid for having
it programmed into the app nearly two years ago), so it could be a
longer-standing issue.
I find one reference in Google Groups that doesn't seem to apply,
and nothing anywhere else.
I'm tempted to convert it to ShellExecute, but wonder if
FollowHyperlink is just a wrapper around that.
Suggestions?