471,348 Members | 1,367 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,348 software developers and data experts.

'xx' does not contain a definition for xx

mdk
I am using COM component in a c# project and I added the component in
under VS' Add Reference | COM. Initially the project can be compiled
without any problem but after adding some method the compiler compains
'xx' does not contain a definition for xx (method or property) Say I
have a property call IsBlocking the following statement causes the
complain:

obj.IsBlocking

I can compile VB.net code calling the same methods and properities. Why
I have this problem only with c#? Now the autocomplete list that pops
out after I type a dot after 'obj' shows a list of
get_ and put_ thus suggesting I type

obj.get_IsBlocking
Timmy

Dec 29 '05 #1
0 861

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Ronak mishra | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.