M
Mike S.
Hi !
I'm currently debugging a VBA 5 program (written in Excel97).
Part of the program opens a web page using the web browser control and do
some manipulations.
While stepping into part of the code, I go into the "local variables" window
to drill into the HTMLDocument object to look at some values.
Everything works fine so far except when I click on the plus sign besides
the "onclick" property in the document's links collection (objDoc ->
links -> Item14 -> onclick) where I get the "Library not registered"
message.
The same happens if I drill down another way as: objDoc -> body -> all ->
Item75 -> onclick (where Item75 is defined as HTMLAnchorElement type).
Looking into the references show that the Microsoft HTML Object Library
(C:\Windows\System\MSHTML.tlb) is correctly checked and referenced (file
version is 6.00.2800.1106) while I guess that if I can drill down to this
level into the object, this is not the real cause of the problem.
BTW the corresponding HTML source has the following structure:
<a href="#"
onclick="window.open('/showDocument.php?file=AA103115.html','width=350,heigh
t=250,top=200,menubar=no,scrollbars=yes,resizable=yes');">
I tried to re-register excel, but at no avail.
My questions are:
- what can I do to correct the situation ?
- how can one find the name of the library causing this kind of message ?
TIA !
I'm currently debugging a VBA 5 program (written in Excel97).
Part of the program opens a web page using the web browser control and do
some manipulations.
While stepping into part of the code, I go into the "local variables" window
to drill into the HTMLDocument object to look at some values.
Everything works fine so far except when I click on the plus sign besides
the "onclick" property in the document's links collection (objDoc ->
links -> Item14 -> onclick) where I get the "Library not registered"
message.
The same happens if I drill down another way as: objDoc -> body -> all ->
Item75 -> onclick (where Item75 is defined as HTMLAnchorElement type).
Looking into the references show that the Microsoft HTML Object Library
(C:\Windows\System\MSHTML.tlb) is correctly checked and referenced (file
version is 6.00.2800.1106) while I guess that if I can drill down to this
level into the object, this is not the real cause of the problem.
BTW the corresponding HTML source has the following structure:
<a href="#"
onclick="window.open('/showDocument.php?file=AA103115.html','width=350,heigh
t=250,top=200,menubar=no,scrollbars=yes,resizable=yes');">
I tried to re-register excel, but at no avail.
My questions are:
- what can I do to correct the situation ?
- how can one find the name of the library causing this kind of message ?
TIA !