creating a COM component from VS.NET

  • Thread starter Thread starter Relishguy
  • Start date Start date
R

Relishguy

I want to add some business logic to an InfoPath form. From the
developer documentation, it looks like InfoPath cannot talk .NET (the
help says the business logic must be a COM component).

Can I create this from VS.NET/C#? Or do I have to load VC++ v.6 to
create this?

TIA.

Regards..Roger
 
C# can be used to create COM components. The way that I have done it in the
past is to derive classes from the ServicedComponent class.
 
Supposedly, ServicedComponent is for COM+, not COM. Apparently InfoPath needs COM.

Regards..
 
You can build .NET classes in .dll assembly and use REGASM to register the
..NET library as COM component. If you also like the intellisensing/early
binding working in COM development environment, such as VB6, you can make
type library by usig TlbExp.
 
Back
Top