Outlook task scheduler

Does anyone know how to create an application similar to Outlook task scheduler using vb.net? I need to assign task to an employee, with the start date, due date, status and reminder that will be emailed to employee when the task is assigned or overdue.


Any pointers will be welcome. I just don't know where to start.

Thanks...

Svjetlana
SvjetlanaAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

armoghanCommented:
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Ignacio Soler GarciaSolution Architech & Technical LeadCommented:
Also you can look at the Microsoft Project, a full program used to do this kind of things ...

SoMoS
0
SvjetlanaAuthor Commented:
armoghan
I have tried those links, thanks, but they do not really help me. I need something like Outlook Calendar and Task Scheduler, rather then Windows Task Scheduler.


SoMoS
I don't understand what do you mean have a look at Microsoft Project? I haven't got this software and also how can I relate this to VB.NET.


Thanks,
Svjetlana
0
Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

Ignacio Soler GarciaSolution Architech & Technical LeadCommented:
I was telling you that the Microsoft Project program should give you hints about what can be done for this issue.

I think the best way is to use a database to store the data, you have to dessing a DB with works, employees, etc and a checker that controls when a email is needed to send.

There are lots of classes done already to send emails...
0
SvjetlanaAuthor Commented:
Thanks SoMoS.

I am using the SQL database and Window Forms to assign task. I have created 3 win forms similiar to Microsoft Outlook, but my problem is how to connect them together, i.e.
assign task, set reminder, apply status of the task and actual work spent on the task.

I have previously tried this code, but the problem is that it will only run if the user has MS Outlook installed on their computer, and I don't want this to happen.


imports System.Reflection

Module Module1

    Sub Main()
        ' Create an Outlook application.
        Dim oApp As Outlook.Application = New Outlook.Application()

        ' Get NameSpace and Logon.
        Dim oNS As Outlook.NameSpace = oApp.GetNamespace("mapi")
        oNS.Logon("YourValidProfile", Missing.Value, False, True) ' TODO:

        ' Create a new AppointmentItem.
        Dim oAppt As Outlook.AppointmentItem = oApp.CreateItem(Outlook.OlItemType.olAppointmentItem)
        'oAppt.Display(true)  'Modal      

        ' Set some common properties.
        oAppt.Subject = "Test"
        oAppt.Body = "Hello World"
        oAppt.Location = "Test"

        oAppt.Start = Convert.ToDateTime("28/10/2004 4:10:00 PM")
        oAppt.End = Convert.ToDateTime("28/10/2004 4:30:00 PM")

        oAppt.ReminderSet = True
        oAppt.ReminderMinutesBeforeStart = 5
        oAppt.BusyStatus = Outlook.OlBusyStatus.olBusy  '  olBusy
        oAppt.IsOnlineMeeting = False

        ' Save to Calendar.
        oAppt.Save()

        ' Display.
        oAppt.Display(True)

        ' Logoff.
        oNS.Logoff()

        ' Clean up.
        oApp = Nothing
        oNS = Nothing
        oAppt = Nothing
    End Sub

End Module



If you have a similiar example or if you know where I can look for it please let me know.

Cheers...


0
armoghanCommented:
As you dont want to use Outlook so you need to make your own scheduler.
So you can use the Windows BuildIn scheduler or you can make your own.
First two links show how to make a scheduler ****without **** using Windows Build In scheduler
0
SvjetlanaAuthor Commented:
Sorry armoghan, but this does not help me at all. I am developing my own scheduler.

Svjetlana
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Visual Basic.NET

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.