?
Solved

Outlook task scheduler

Posted on 2004-11-02
8
Medium Priority
?
416 Views
Last Modified: 2010-04-23
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
0
Comment
Question by:Svjetlana
  • 3
  • 2
  • 2
7 Comments
 
LVL 18

Accepted Solution

by:
armoghan earned 750 total points
ID: 12480729
0
 
LVL 5

Expert Comment

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

SoMoS
0
 

Author Comment

by:Svjetlana
ID: 12481665
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
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
LVL 5

Expert Comment

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

Author Comment

by:Svjetlana
ID: 12482077
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
 
LVL 18

Expert Comment

by:armoghan
ID: 12490406
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
 

Author Comment

by:Svjetlana
ID: 12578251
Sorry armoghan, but this does not help me at all. I am developing my own scheduler.

Svjetlana
0

Featured Post

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article explains how to create and use a custom WaterMark textbox class.  The custom WaterMark textbox class allows you to set the WaterMark Background Color and WaterMark text at design time.   IMAGE OF WATERMARKS STEPS Create VB …
I think the Typed DataTable and Typed DataSet are very good options when working with data, but I don't like auto-generated code. First, I create an Abstract Class for my DataTables Common Code.  This class Inherits from DataTable. Also, it can …
This video shows how to quickly and easily deploy an email signature for all users in Office 365 and prevent it from being added to replies and forwards. (the resulting signature is applied on the server level in Exchange Online) The email signat…
Is your OST file inaccessible, Need to transfer OST file from one computer to another? Want to convert OST file to PST? If the answer to any of the above question is yes, then look no further. With the help of Stellar OST to PST Converter, you can e…
Suggested Courses
Course of the Month16 days, 3 hours left to enroll

850 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