How to build an office add-in in Visual C++ 6.0?

E

Eric Hsiao

hi all,
I knew how to build an add-in by using VS .NET C# and VB.
(I found some sample codes in MSDN)
but I don't know how to do it in Visual C++ 6.0.
Is there a wizard to help us in VC ?
Could someone share the sample codes in vc?
thx anyway~
sincerely
 
F

Fredrik Wahlgren

Eric Hsiao said:
hi all,
I knew how to build an add-in by using VS .NET C# and VB.
(I found some sample codes in MSDN)
but I don't know how to do it in Visual C++ 6.0.
Is there a wizard to help us in VC ?
Could someone share the sample codes in vc?
thx anyway~
sincerely
What kind of add-in. For Excel? Outlook? TIf you want to make a COM add-in,
you need to create an ATL project and then implement the IDTExtensibility2
interface. There's no real wizard in VC6 but there are 3rd party tools that
you may want to use http://www.add-in-express.com/add-in-net/overview.php

/Fredrik
 
E

Eric Hsiao

What kind of add-in. For Excel? Outlook? TIf you want to make a COM add-in,
you need to create an ATL project and then implement the IDTExtensibility2
interface. There's no real wizard in VC6 but there are 3rd party tools that
you may want to use http://www.add-in-express.com/add-in-net/overview.php

/Fredrik
Thank you , Fredrik.
I am so sorry that I need more help. I would like to build a PowerPoint
add-in.
I knew I need to extend the IDTExtensibility2 interface and implement the
five methods. It was succeed by using .NET C# . But how can I handle the
"ProgId" and "GuidAttribute" in Visual C++6.0?
I am a new hand in Visual C++6.0.
Could someone share the sample codes in vc ?
Sincerely~
 
F

Fredrik Wahlgren

Eric Hsiao said:
Thank you , Fredrik.
I am so sorry that I need more help. I would like to build a PowerPoint
add-in.
I knew I need to extend the IDTExtensibility2 interface and implement the
five methods. It was succeed by using .NET C# . But how can I handle the
"ProgId" and "GuidAttribute" in Visual C++6.0?
I am a new hand in Visual C++6.0.
Could someone share the sample codes in vc ?
Sincerely~

I don't understand your question about ProgId. Here's a sample addin in C++.
Hopefully, it will get you started.

http://www.codeproject.com/atl/outlook2k3addin.asp

/Fredrik
 

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