.NET ContextMenu in a COM client and Intellisense

J

John Spiegel

Hi All,

Is it possible to build a ContextMenu object into a DLL then display that
menu within a COM application? I'm having a problem with the ContextMenu
expecting a Control object as a parameter, which I'm assuming the COM
component can't be.

I'm working on extending a VFP app that will be eventually replaced with a
..NET app. In the meantime, we're doing whatever new development we can in
..NET and exposing the functionality in the VFP app.

A secondary question that may be more related to how VFP deals with things,
but is there anything to do on the .NET side to get Intellisense to
recognize the exposed methods of the wrapped DLL? I built another simple
DLL a while ago that is "recognized" by VFP's Intellisense.

TIA,

John
 
A

Alvin Bruney [ASP.NET MVP]

well, one issue is the COM component is a component not a control. to add
that functionality, you would basically need to build a control and load it.
roughly

--
Regards,
Alvin Bruney
[Shameless Author Plug]
The Microsoft Office Web Components Black Book with .NET
available at www.lulu.com/owc
_________________________
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top