Calling Overloaded COM method in VB6
-
Hi All, I have interface defined in C# public interface ITABlock { public void Get(string id); public void Get(ITABlockElement obj); } This is implemented as: public class TABlock : ITABlock { // implementation of ITABlock methods } Now these methods are exposed to VB as Get and Get_2 so when calling Get_2 it gives an error: Object doesn't support this property or method Any solution for this. Thanks, AksharRoop
-
Hi All, I have interface defined in C# public interface ITABlock { public void Get(string id); public void Get(ITABlockElement obj); } This is implemented as: public class TABlock : ITABlock { // implementation of ITABlock methods } Now these methods are exposed to VB as Get and Get_2 so when calling Get_2 it gives an error: Object doesn't support this property or method Any solution for this. Thanks, AksharRoop
Hope i have posted the question in correct forum...
-
Hi All, I have interface defined in C# public interface ITABlock { public void Get(string id); public void Get(ITABlockElement obj); } This is implemented as: public class TABlock : ITABlock { // implementation of ITABlock methods } Now these methods are exposed to VB as Get and Get_2 so when calling Get_2 it gives an error: Object doesn't support this property or method Any solution for this. Thanks, AksharRoop
IIRC, calling overloaded COM methods from VB6 is not supported.
A guide to posting questions on CodeProject[^]
Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
2006, 2007, 2008 -
IIRC, calling overloaded COM methods from VB6 is not supported.
A guide to posting questions on CodeProject[^]
Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
2006, 2007, 2008Is it the same case with calling COM method from VBA? Any documentation that i could find for this? I did not get anything from search engine...
-
Is it the same case with calling COM method from VBA? Any documentation that i could find for this? I did not get anything from search engine...
AFAIK, it's the same problem. I can't find any documentation on it. I just remember having one hell of a time trying to get it to work, then I stumbled on something saying it doesn't - about 8 years ago.
A guide to posting questions on CodeProject[^]
Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
2006, 2007, 2008