How to make add-in

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I had write the script in outlook VBA as a module.
1. I want it run in timing, bu I don't know the way.

2. Now I want to make it as a set up or Dll to deploy it to domain users.

So could you please show me a way?
Thanks.
 
You can't deploy a VBA module as a COM addin. You will need to re-write your
code in a language such as managed or unmanaged VB, C#, Delphi, C++ or some
other language. Take a look at the information on COM addins at
www.outlookcode.com.
 
Take this code for example:
----
Sub getDay()
dtmThisDay = Day(Date)
dtmThisMonth = Month(Date)
dtmThisYear = Year(Date)
strCheckDate = dtmThisMonth & "-" & dtmThisDay & "-" & dtmThisYear
If Weekday(strCheckDate) = 4 Then
MsgBox strCheckDate
End If
End Sub

----

Could you do me a favor to introduce the process to create the add-in for me?
Thanks very much. I am a beginner here.
My mail address is (e-mail address removed)
Thanks.
 
There's no way to explain everything you must do and set up for a COM addin,
and the details differ depending on what language you use in a newsgroup
post. You cannot use VBA. Look at the link I provided on COM addins at
www.outlookcode.com and pick an example based on your language of choice.
There are also sample COM addins you can download and study and books that
cover COM addins.
 
Haha! Thanks for your reply.
Is is possible that the add-in could be a background process when outlook
starts and just run once a week ?
 
COM addins run in-process with Outlook and either start every time Outlook
starts or start on demand when the user starts them. If you want something
run every once in a while on a scheduler just compile a standalone EXE and
call it from a scheduler or run it manually.
 
Back
Top