LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default "Library not registered" message accessing an HTMLDocument object

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 structu

<a href="#"
onclick="window.open('/showDocument.php?file=AA103115.html','width=350,he igh
t=250,top=200,menubar=no,scrollbars=yes,resizable= yes');"


I tried to re-register excel, but at no avail.

My questions a
- what can I do to correct the situation ?
- how can one find the name of the library causing this kind of message ?

TIA !


 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
cannot insert rows -error message "cannot shift object off sheet" robwan Excel Discussion (Misc queries) 1 November 10th 07 03:01 PM
Error message: "cannot shift object off sheet" Peter Vickers Excel Worksheet Functions 4 December 8th 06 04:52 PM
VB Error Object Library Not Registered Karine Rivet Excel Discussion (Misc queries) 2 April 11th 06 07:13 PM
I get an error message that says "Cannot shift object off a page" JZygmun Excel Discussion (Misc queries) 1 March 7th 06 02:18 AM
'Object library not registered' in Excel97 Humberto Excel Programming 3 August 11th 03 02:41 PM


All times are GMT +1. The time now is 04:19 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"