Re: Question on a COM project.
- From: "Nicholas Paldino [.NET/C# MVP]" <mvp@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 10 May 2007 14:38:45 -0400
Amit,
Well, it depends on what kind of developer you are. If your native
environment is VC++, then that's probably where you are going to be most
productive. From what I have seen though, most people experience
productivity gains in .NET languages over VC++ to perform the same tasks.
As for a book for working with COM interop in .NET, I would recommend
".NET 2.0 Interoperability Recipes: A Problem-Solution Approach (Hardcover)"
by Bruce Bukovics:
http://www.amazon.com/NET-2-0-Interoperability-Recipes-Problem-Solution/dp/1590596692/ref=pd_bbs_sr_2/102-6102116-8408955?ie=UTF8&s=books&qid=1178822065&sr=8-2
Another book I would recommend is ".NET and COM: The Complete
Interoperability Guide (2 Volume Set)" by Adam Nathan:
http://www.amazon.com/NET-COM-Complete-Interoperability-Guide/dp/067232170X/ref=pd_bbs_sr_2/102-6102116-8408955?ie=UTF8&s=books&qid=1178822104&sr=1-2
--
- Nicholas Paldino [.NET/C# MVP]
- mvp@xxxxxxxxxxxxxxxxxxxxxxxxxxx
"Amit" <amit.kohan@xxxxxxxxx> wrote in message
news:1178821365.804820.232230@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
On May 10, 11:13 am, "Nicholas Paldino [.NET/C# MVP]"
<m...@xxxxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
Amit,
You can use C#, VB.NET, VB6 or VC++ to create a COM add-in for Office
applications.
You will want to do a search for "COM add-in office" on the web first
to
grasp the basic concepts regarding writing a COM add-in for office.
Once you do that, if you decide you want to write a .NET
implementation,
you should follow up by reading about COM interop in .NET. VB and C# are
pretty much going to do the same thing for you in either situation.
Using
VC++, it's going to be a little bit more of a hassle in my opinion, but
it's
still doable.
Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- m...@xxxxxxxxxxxxxxxxxxxxxxxxxxx
"Amit" <amit.ko...@xxxxxxxxx> wrote in message
news:1178820026.161735.321960@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hello group,
I will appreciate it if you give me some advice on my question:
I am asked to write a program. This program is supposed to act as
"Adobe PDF" feature which some of you either have it or see it in your
office products such as Word, Excel and ... It must get attached to
Excel or Word menu bar (after installation like PDF Write or Adobe PDF
which in gives you features like file conversions and etc).
What is expected from this program in terms of functionality is
sending request to a web service and retrieving information from it.
The server side operation will be handled by calling a CGI file
(already written and being used).
What crosses my mind is COM programming or maybe the new version of it
COM+.
I've written an application using VBA which inserts an menu to Excel
menu bar and thru some modules I call some cgi files on a linux server
to request data and finally generate reports. Of course, using VBA in
Excel has some limitations so now I'm thinking of using COM for this
project. Would you please tell me what do you think of such a project?
what tools do I need? (C# / VC++ or VB?
I truly will appreciate it if you could give me some hints and idea or
if there is a better way to implement this project.
Regards,
Amit
Hi Nicholas,
I truly appreciate your help. One thing I need to ask you here is what
makes it hard using VC++?
Does it require a special knowledge?
What book do you suggest I get started? currently I'm having a book on
my desk as "COM Programming by Example" written by John Swanke.
Any advice?
Sincerely,
Amit
.
- Follow-Ups:
- Re: Question on a COM project.
- From: Amit
- Re: Question on a COM project.
- References:
- Question on a COM project.
- From: Amit
- Re: Question on a COM project.
- From: Nicholas Paldino [.NET/C# MVP]
- Re: Question on a COM project.
- From: Amit
- Question on a COM project.
- Prev by Date: Re: Should I use TransactionScope?
- Next by Date: Re: Another noob question
- Previous by thread: Re: Question on a COM project.
- Next by thread: Re: Question on a COM project.
- Index(es):
Relevant Pages
|