Quantcast
Channel: SharpDevelop Community
Viewing all articles
Browse latest Browse all 1764

Autocomplete when using referenced library

$
0
0

I have installed #D because I would like to try and code a stand alone windows application. SO far I have been using VBA via MS Excel, which has worked fine so - very easy to setup and get started. In my program I need to access a COM type library developed by a third party. In MS Excel (VBA) I simply went to "Referenced" and clicked the library which enabled it at from that point on, whenever I started typing some code in VBA, the classes of the COM library would also appear, and the methods of instances of these classes would also appear as I was typing. E.g. - if I typed "TDC" then VBA would automatically list object types that started with this combination of letters and I would be able to choose which one from a drop down, press the "Tab" key and then the name of the object was inserted automatically. I presume this is called Autocomplete. The same happened if I added a "." after an object instance - then the list of methods etc would appear, so I could easily choose which one to use instead of having to write (and know) all the exact names of the objects and methods myself.

In #D it seems that there is also an Autocomplete feature. However when I e.g. write "TDC" it will not show me the name of the object called "TDConnection" which is defined in the referenced COM type library. I did enable / select it into the current project (which is a #C type project) and it is listed under the "References" node in the #D project browser. Do I need to do something more in order to enable #D to recognize my COM type library so Autocomplete is enabled for that library also?

N.B: I moved this post to this forum, since no one replied when I posted it under the Install & Setup forum.


Viewing all articles
Browse latest Browse all 1764

Trending Articles