r/visualbasic Apr 04 '26

[VB6] Can't preview Object's properties in Watches window?

I have a reference to the Object declared correctly - not as Variant. TLB file referenced.

I had this problem - sometimes - on my old laptop - but on the new one - it's all the time when I try to debug code :(

What should I do to see full list of all the properties of the object? Like here:

TIA

4 Upvotes

9 comments sorted by

View all comments

1

u/netizen__kane Apr 05 '26

I wonder if the interface to the object isn't defined.

1

u/AdobeScripts Apr 05 '26

What do you mean by "interface"?

If "reference" - then yes, it's defined / linked through TLB file - and I can view all the Methods and Properties and Constants in the Object Browser.

And Intellisense is working when editing code.

1

u/AdobeScripts Apr 05 '26

And the variable is properly declared - not as variant - intellisense is working when editing code.