.NET ContextMenu in a COM client and Intellisense

  • Thread starter Thread starter John Spiegel
  • Start date Start date
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
 
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
_________________________
 
Back
Top