Create com addin with vs.net

D

DavidE

Hi,

I create a solution in vs.net to make COM Addin. I use this article:
How To Build an Office COM Add-in by Using Visual C# .NET
http://support.microsoft.com/?kbid=302901

After building the solution I have to run the setup.exe from C:\...\Visual
studio Projects\ MyAddin\MyAddin setup\Debug to take effect in outlook.

1. Is it ok that the COM take effect just after I use setup.exe, and not
take effect if I just build the solution ?

2.After I install the COM and start the outlook the com work ok but I don't
see it in the COM Addin box ?

Thaks

David
 
S

sk

2.After I install the COM and start the outlook the com work ok but I
don't
see it in the COM Addin box ?
David,

Did you set the registry specifically to enable that office add-ins?


Shinya
 
D

DavidE

Hi,
I created a new project and all works fine.
Now, this project has host events such as OnConnection,OnDisconnection etc.
How can I create with vs.2003 item events for outlook such as :
Appointment_open,Appointment_BeforCheckNames,Appointment_send ?

Thanks

David
 
D

DavidE

Hi ,

I'm confused . I thout that it's possible to use ADO.Net in VBA for using
DataSet but I don't sure it's possible so anyway I have to use vs.net .
Am I right ? Is it possible to use ADO.Net in VBA or I have to use vs.net ?

Thanks

DavidE said:
Hi ,
Thanks to Boris and sk for there comments.
I see that it is too copmlicated to create COM for outlook with vs.net so I
decided to create it with vba in outlook like I did before.

David

Boris said:
DavidE said:
[...]
2.After I install the COM and start the outlook the com work ok but I
don't see it in the COM Addin box ?

See http://support.microsoft.com/kb/316723.

Boris
 
B

Boris

DavidE said:
Hi ,

I'm confused . I thout that it's possible to use ADO.Net in VBA for
using DataSet but I don't sure it's possible so anyway I have to use
vs.net .
Am I right ? Is it possible to use ADO.Net in VBA or I have to use
vs.net ?

You can use ADO in VBA but ADO.NET can only be used in a .NET environment
(eg. in VB.NET). Depending on what you need ADO might be sufficient.

Boris
 
D

DavidE

Hi Boris,

Thaks a lot for your help.
You gave me the answer I need.

All the best.

David
 

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