Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default .Net via COM Interop in VBA

Hi there,
I'm writing a C# .Net assembly, and I need to use this in Excel. I've
exposed the objects, methods and properties via COM Interop and can
see them all in VBA.

However, I have two Collection objects (which inherit from .Net's
CollectionBase class).

I have:
EventCollection [Which is a collection of my Event objects]
MeetingCollection [Which is a collection of my Meeting objects]

I can instantiate and use everything on my Event and Meeting objects,
but when I try to add a Meeting or Event object to its relevant
collection I get "Object does not support this method".

Does anyone have any idea why this is happening and if so, do they
have a workaround for it?

I need to able to do this as I need to pass these collections back to
my DLL.

Thanks,
James Simm


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Excel interop from c# Velislav Excel Programming 3 February 15th 07 07:39 AM
vb.net interop Cell truncation in vb.net interop Excel Programming 1 November 23rd 06 07:23 PM
c# & InterOp & OptionButtons Timo Excel Programming 0 February 13th 06 08:15 AM
Interop problem with VS.NET 2003 Dhruv Excel Programming 0 January 3rd 06 09:52 PM
Interop and VS Behavior Steve B.[_3_] Excel Programming 0 November 25th 05 05:30 PM


All times are GMT +1. The time now is 04:00 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"