473,385 Members | 1,838 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

creating a COM component from VS.NET

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
Nov 22 '05 #1
3 1339
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.

"Relishguy" <re*******@pluggedin.org> wrote in message
news:1e**************************@posting.google.c om...
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

Nov 22 '05 #2
Supposedly, ServicedComponent is for COM+, not COM. Apparently InfoPath needs COM.

Regards..
"Peter Rilling" <pe***@nospam.rilling.net> wrote in message news:<#8**************@TK2MSFTNGP10.phx.gbl>...
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.

Nov 22 '05 #3
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.

"Relishguy" <re*******@pluggedin.org> wrote in message
news:1e**************************@posting.google.c om...
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

Nov 22 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

22
by: Tom Moroow | last post by:
Hi, I'm pretty new to javascript and was wondering how you would piece together a variable name and then assign it a value. I want to create a hidden field and assign it a value based on the value...
3
by: Edward Diener | last post by:
I am creating a component and I want one of my properties to be an embedded class with its own properties. When the component designer shows this property I want it to be able to expand this...
19
by: Steve | last post by:
Can anyone point me to a primer for creating OCX controls in VB .net? In particular, I want to access a web service in a VB6 application (not an easy thing to do). So, if I can write an ActiveX...
8
by: mcmg | last post by:
Hi, I have an asp app that works fine on a windows xp machine but does not work on a windows 2000 server. I have the following code in my global.asa: <OBJECT RUNAT=Server SCOPE=SESSION...
6
by: DraguVaso | last post by:
Hi, In my application, on some given actions while debugging in Visual Studio, I suddenly get a "System.ComponentModel.Win32Exception was unhandled" Message="Error creating window handle."...
6
by: F-13 | last post by:
I'm working on a BOM in Access 200 from an example downloaded from from the web. The sample database contains three tables, Assemblies (the list of items needed to assemble any assembly),...
15
by: Carlos Lozano | last post by:
Hi, What is the right way to create an OCX COM component. The component is already registerred, but can't create an instance. I am using the reference to the interop module created. If I use...
6
by: ryan.d.rembaum | last post by:
Hello, I have code that I wish to use in many web applications. Basically sort of stand utility stuff. So from Visual Studio Project I select add a component and chose Component Class. Lets...
2
by: Val3 | last post by:
Hi all. I need to build dll(s) and windows services using VB .NET 2005 Express. When I make File/New project the windows contain only Windows application, Windows control library, Console...
4
by: =?Utf-8?B?Z3JlZw==?= | last post by:
I am trying to create an instance of a 3rd party COM component, and I'm getting an error. I've opened a ticket with this vendor as well, but I want to approach it from the C# .NET side to make...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.