Why no hints after typing .

  • Thread starter Thread starter Mike NG
  • Start date Start date
M

Mike NG

I have a webbrowser object embedded within Sheet1 (called WB)

In my code if I type WB.
I get offered a list of valid sub-parameters (Document being one of
them)
If I choose Document then type . again, I don't see the list of valid
sub-parameters for the next level down

I am particularly interested in the sub-parameters of Document.Links and
Document.Images

I can compile my code and guess the parameter below links, e.g.
..Document.Links(0).src - but I don't know until run time whether the
'src' parameter is valid or not

I have tried looking at this page
<http://msdn.microsoft.com/workshop/author/dhtml/reference/collections/li
nks.asp>
This makes a reference to the href property, but nowhere can I find a
complete listing of the properties

Any help appreciated
 
I added a control and looked at the definition of Document from the Object
Browser.
Document is defined as a plain object. The IDE doesn't know the
methods/parameters because it could be any sort of automation object.
 
I added a control and looked at the definition of Document from the Object
Browser.
Document is defined as a plain object. The IDE doesn't know the
methods/parameters because it could be any sort of automation object.
Ah right. Many thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top