Outlook task scheduler

Posted on 2004-11-02
Last Modified: 2010-04-23
Does anyone know how to create an application similar to Outlook task scheduler using 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.


Question by:Svjetlana
    LVL 18

    Accepted Solution

    LVL 5

    Expert Comment

    by:Ignacio Soler Garcia
    Also you can look at the Microsoft Project, a full program used to do this kind of things ...


    Author Comment

    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.

    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.

    LVL 5

    Expert Comment

    by:Ignacio Soler Garcia
    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...

    Author Comment

    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.

            ' Display.

            ' 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.


    LVL 18

    Expert Comment

    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

    Author Comment

    Sorry armoghan, but this does not help me at all. I am developing my own scheduler.


    Featured Post

    Courses: Start Training Online With Pros, Today

    Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

    Join & Write a Comment

    Since .Net 2.0, Visual Basic has made it easy to create a splash screen and set it via the "Splash Screen" drop down in the Project Properties.  A splash screen set in this manner is automatically created, displayed and closed by the framework itsel…
    Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
    In this sixth video of the Xpdf series, we discuss and demonstrate the PDFtoPNG utility, which converts a multi-page PDF file to separate color, grayscale, or monochrome PNG files, creating one PNG file for each page in the PDF. It does this via a c…
    This video discusses moving either the default database or any database to a new volume.

    755 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    21 Experts available now in Live!

    Get 1:1 Help Now