begin process at 2012 02 23 00:44:39
  Trouver un code source :
 
dans
 
Accueil > 

Code

 > 

VB.NET

 > OUTLOOK ICAL EXPORTER

OUTLOOK ICAL EXPORTER


 Information sur la source

Note :
Aucune note
Catégorie :VB.NET Source .NET ( DotNet ) Classé sous :Outlook, Categories, Category, Todo, Calendar Niveau :Initié Date de création :22/05/2010 Date de mise à jour :23/05/2010 10:04:08 Vu / téléchargé :3 573 / 150

Auteur : xsimo

Ecrire un message privé
Site perso
Commentaire sur cette source (2)
Ajouter un commentaire et/ou une note

 Description

Cliquez pour voir la capture en taille normale
L'API .NET d'Outlook fournit une méthode standard "ForwardAsVCal" qui transmet un mail avec en pièce jointe un fichier ics qui par contre ne contient pas l'élément CATEGORIES de la spécication ical v2.0 des VEVENT

Cette Source fait un upload du calendrier et des tâches outlook de l'odrinateur local vers le serveur FTP de votre choix. Il y a un fichier *.ics par categorie Outlook ou * est le nom de la categorie.


<i>The .NET Outlook API does provide a standard method ForwardAsVcal which does send a mail with attached ics file that perhaps does not contains CATEGORIES component in VEVENT ITEMS

This source does an upload of the main local computer outlook calendar as well as todo tasks. There is one *.ics upload per Outlook Category where * is the category name.
</i>

Source

  • Imports Microsoft.Office.Interop.Outlook
  • Imports System.IO
  • Imports System.Text
  • Imports System.Array
  • Imports CalExporter.FTPclient
  • Module CalItem
  • Sub Main()
  • Dim objOL As Object
  • Dim s As New OutlookAddIn.GetApplication
  • objOL = s.GetApplicationObject()
  • Dim MyNameSpace As Microsoft.Office.Interop.Outlook.NameSpace
  • MyNameSpace = objOL.GetNameSpace("MAPI")
  • Dim cats As Microsoft.Office.Interop.Outlook.Categories
  • cats = MyNameSpace.Categories
  • If (cats.Count > 1) Then
  • For Each cat As Microsoft.Office.Interop.Outlook.Category In cats
  • CatOutPut(MyNameSpace, cat)
  • Next
  • End If
  • End Sub
  • Sub CatOutPut(ByRef MyNameSpace As Microsoft.Office.Interop.Outlook.NameSpace, ByVal category As Microsoft.Office.Interop.Outlook.Category)
  • Dim out As String
  • out = "BEGIN:VCALENDAR" & Chr(10)
  • out += "PRODID:-//hacksw/handcal//NONSGML v1.0//EN" & Chr(10)
  • out += "VERSION:2.0" & Chr(10)
  • Dim myFolder As Object
  • myFolder = MyNameSpace.GetDefaultFolder(Microsoft.Office.Interop.Outlook.OlDefaultFolders.olFolderCalendar)
  • Dim myTaskFolder As Object
  • myTaskFolder = MyNameSpace.GetDefaultFolder(Microsoft.Office.Interop.Outlook.OlDefaultFolders.olFolderTasks)
  • Dim myTaskItems As Object
  • myTaskItems = myTaskFolder.Items
  • Dim myItems As Object
  • myItems = myFolder.Items
  • Dim e As Microsoft.Office.Interop.Outlook.AppointmentItem
  • For Each e In myItems
  • If e.Categories <> String.Empty Then
  • If e.Categories.Contains(category.Name) Then
  • out += "BEGIN:VEVENT" & Chr(10)
  • out += "UID:" & e.EntryID & Chr(10)
  • If e.Categories <> "" Then
  • out += "CATEGORIES:" & NoSpac(e.Categories.Replace(";"c, ","c)) & Chr(10)
  • End If
  • out += "DTSTAMP:" & ToDate69(e.CreationTime.ToUniversalTime) & Chr(10)
  • out += "DTSTART:" & ToDate69(e.Start.ToUniversalTime) & Chr(10)
  • out += "DTEND:" & ToDate69(e.End.ToUniversalTime) & Chr(10)
  • out += "SUMMARY:" & RFC5545_TEXT(e.Subject) & Chr(10)
  • 'out += "DESCRIPTION:" & RFC5545_TEXT(e.Body) & Chr(10)
  • out += "LOCATION:" & RFC5545_TEXT(e.Location) & Chr(10)
  • If e.RecurrenceState = OlRecurrenceState.olApptMaster Then
  • out += ("RECURRENCE-ID:") & ToDate69(e.StartUTC) & Chr(10)
  • out += "RRULE:"
  • Dim f As Microsoft.Office.Interop.Outlook.RecurrencePattern
  • f = e.GetRecurrencePattern()
  • 'Console.WriteLine("VALUES:monthofyear" & f.MonthOfYear & "dayofmonth:" & f.DayOfMonth & "daysofweekmask:" & f.DayOfWeekMask & "interval:" & f.Interval & "instance:" & f.Instance & "type:" & f.RecurrenceType)
  • Select Case f.RecurrenceType
  • Case OlRecurrenceType.olRecursYearNth
  • out += "FREQ=YEARLY;"
  • out += "INTERVAL=" & f.Interval & ";"
  • out += "BYMONTH=" & f.MonthOfYear & ";"
  • out += "BYDAY=" & GetDays(f.DayOfWeekMask) & ";"
  • out += "BYMONTHDAY=" & GetMonthDays(f.Instance) & ";"
  • Case OlRecurrenceType.olRecursMonthNth
  • out += "FREQ=MONTHLY;"
  • out += "INTERVAL=" & f.Interval & ";"
  • out += "BYDAY=" & GetDays(f.DayOfWeekMask) & ";"
  • out += "BYMONTHDAY=" & GetMonthDays(f.Instance) & ";"
  • Case OlRecurrenceType.olRecursYearly
  • out += "FREQ=YEARLY;"
  • out += "INTERVAL=" & f.Interval & ";"
  • out += "BYMONTH=" & f.MonthOfYear & ";"
  • out += "BYMONTHDAY=" & f.DayOfMonth & ";"
  • Case OlRecurrenceType.olRecursMonthly
  • out += "FREQ=MONTHLY;"
  • out += "INTERVAL=" & f.Interval & ";"
  • out += "BYMONTHDAY=" & f.DayOfMonth & ";"
  • Case OlRecurrenceType.olRecursWeekly
  • out += "FREQ=WEEKLY;"
  • out += "INTERVAL=" & f.Interval & ";"
  • out += "BYDAY=" & GetDays(f.DayOfWeekMask) & ";"
  • Case OlRecurrenceType.olRecursDaily
  • out += "FREQ=DAILY;"
  • out += "INTERVAL=" & f.Interval & ";"
  • End Select
  • If f.NoEndDate Then
  • out += "UNTIL=45001231235900Z"
  • Else
  • Dim endDate As Date
  • endDate = f.PatternEndDate.ToUniversalTime
  • out += "UNTIL=" & ToDate69(endDate.ToUniversalTime)
  • End If
  • out += Chr(10)
  • If f.Exceptions.Count > 1 Then
  • out += "EXDATE:"
  • Dim isLast = False
  • Dim enumerator As IEnumerator
  • enumerator = f.Exceptions.GetEnumerator()
  • enumerator.MoveNext()
  • While Not isLast
  • out += ToDate69(enumerator.Current.OriginalDate.ToUniversalTime)
  • If Not enumerator.MoveNext Then
  • isLast = True
  • Else
  • out += ","
  • End If
  • End While
  • out += Chr(10)
  • End If
  • ElseIf e.RecurrenceState = OlRecurrenceState.olApptOccurrence Then
  • 'treat exception cases
  • out += ("RECURRENCE-ID:") & ToDate69(e.StartUTC) & Chr(10)
  • 'Console.WriteLine("OCCURRENCE")
  • End If
  • out += "END:VEVENT" & Chr(10)
  • End If
  • End If
  • Next
  • Dim task As Microsoft.Office.Interop.Outlook.TaskItem
  • For Each task In myTaskItems
  • If task.Categories <> String.Empty Then
  • If task.Categories.Contains(category.Name) Then
  • out += "BEGIN:VTODO" & Chr(10)
  • out += "UID:" & task.EntryID & Chr(10)
  • out += "DTSTAMP:" & ToDate69(task.CreationTime) & Chr(10)
  • If task.Status = OlTaskStatus.olTaskComplete Then
  • out += "COMPLETED:" & ToDate69(task.DateCompleted.ToUniversalTime) & Chr(10)
  • End If
  • If Date.Compare(task.StartDate, New Date(4499, 12, 31)) < 0 Then
  • out += "DTSTART:" & ToDate69(task.StartDate.ToUniversalTime)
  • End If
  • If task.Status = OlTaskStatus.olTaskInProgress Then
  • out += "STATUS:IN-PROGRESS" & Chr(10)
  • ElseIf task.Status = OlTaskStatus.olTaskWaiting Then
  • out += "STATUS:NEEDS-ACTION" & Chr(10)
  • End If
  • out += "SUMMARY:" & task.Subject & Chr(10)
  • If Date.Compare(task.DueDate, New Date(4499, 12, 31)) < 0 Then
  • out += "DUE:" & ToDate69(task.DueDate.ToUniversalTime) & Chr(10)
  • End If
  • out += "CATEGORIES:" & NoSpac(task.Categories.Replace(";"c, ","c)) & Chr(10)
  • out += "END:VTODO" & Chr(10)
  • End If
  • End If
  • Next
  • out += "END:VCALENDAR" & Chr(10)
  • File.WriteAllText("C:\Program1\" & category.Name & ".ics", out, System.Text.Encoding.UTF8)
  • Dim ftp As FTPclient
  • Dim localFile As String = "C:\Program1\" & category.Name & ".ics"
  • Dim remoteFile As String = "www/cal/calendars/" & category.Name & ".ics"
  • Const host As String = "ftp://FTPSITE.COM/"
  • Const username As String = "USERNAME"
  • Const password As String = "<PASSWORD>"
  • ftp = New FTPclient(host, username, password)
  • ftp.Upload(localFile, remoteFile)
  • End Sub
  • Public Function ToDig(ByVal value As Integer) As String
  • If value <= 9 Then
  • Dim a As String
  • a = "0" & value
  • ToDig = a
  • Else
  • ToDig = value.ToString
  • End If
  • Exit Function
  • End Function
  • Public Function NoSpac(ByVal value As String) As String
  • Dim str As String
  • str = ""
  • For Each ch As Char In value.ToCharArray
  • If ch <> " "c Then
  • str += ch
  • End If
  • Next
  • NoSpac = str
  • Exit Function
  • End Function
  • Public Function ToDate69(ByVal d As Date) As String
  • Dim str As String
  • str = d.Year & ToDig(d.Month) & ToDig(d.Day) & ToDig(d.Hour) & ToDig(d.Minute) & "00Z"
  • ToDate69 = str
  • Exit Function
  • End Function
  • Public Function GetDays(ByVal d As Integer) As String
  • Dim out As String
  • out = ""
  • Dim once As Boolean
  • once = False
  • If (d And OlDaysOfWeek.olSunday) Then
  • out += "SU"
  • once = True
  • End If
  • If (d And OlDaysOfWeek.olMonday) Then
  • If (once) Then
  • out += ","
  • End If
  • out += "MO"
  • once = True
  • End If
  • If (d And OlDaysOfWeek.olTuesday) Then
  • If (once) Then
  • out += ","
  • End If
  • out += "TU"
  • once = True
  • End If
  • If (d And OlDaysOfWeek.olWednesday) Then
  • If (once) Then
  • out += ","
  • End If
  • out += "WE"
  • once = True
  • End If
  • If (d And OlDaysOfWeek.olThursday) Then
  • If (once) Then
  • out += ","
  • End If
  • out += "TH"
  • once = True
  • End If
  • If (d And OlDaysOfWeek.olFriday) Then
  • If (once) Then
  • out += ","
  • End If
  • out += "FR"
  • once = True
  • End If
  • If (d And OlDaysOfWeek.olSaturday) Then
  • If (once) Then
  • out += ","
  • End If
  • out += "SA"
  • End If
  • GetDays = out
  • Exit Function
  • End Function
  • Public Function GetMonthDays(ByVal xieme As Integer) As String
  • Select Case xieme
  • Case 1
  • GetMonthDays = "1,2,3,4,5,6,7"
  • Case 2
  • GetMonthDays = "8,9,10,11,12,13,14"
  • Case 3
  • GetMonthDays = "15,16,17,18,19,20,21"
  • Case 4
  • GetMonthDays = "22,23,24,25,26,27,28"
  • Case 5
  • GetMonthDays = "29,30,31"
  • Case Else
  • GetMonthDays = "0"
  • End Select
  • Exit Function
  • End Function
  • Public Function RFC5545_TEXT(ByVal s As String) As String
  • If s <> String.Empty Then
  • s = s.Replace("\", "\\")
  • s = s.Replace(";", "\;")
  • s = s.Replace(",", "\,")
  • s = s.Replace(vbNewLine, "\n")
  • End If
  • RFC5545_TEXT = s
  • Exit Function
  • End Function
  • End Module
Imports Microsoft.Office.Interop.Outlook
Imports System.IO
Imports System.Text
Imports System.Array
Imports CalExporter.FTPclient

Module CalItem
    Sub Main()
        Dim objOL As Object
        Dim s As New OutlookAddIn.GetApplication
        objOL = s.GetApplicationObject()
        Dim MyNameSpace As Microsoft.Office.Interop.Outlook.NameSpace
        MyNameSpace = objOL.GetNameSpace("MAPI")
        Dim cats As Microsoft.Office.Interop.Outlook.Categories
        cats = MyNameSpace.Categories
        If (cats.Count > 1) Then
            For Each cat As Microsoft.Office.Interop.Outlook.Category In cats
                CatOutPut(MyNameSpace, cat)
            Next
        End If
    End Sub
    Sub CatOutPut(ByRef MyNameSpace As Microsoft.Office.Interop.Outlook.NameSpace, ByVal category As Microsoft.Office.Interop.Outlook.Category)
        Dim out As String
        out = "BEGIN:VCALENDAR" & Chr(10)
        out += "PRODID:-//hacksw/handcal//NONSGML v1.0//EN" & Chr(10)
        out += "VERSION:2.0" & Chr(10)
        Dim myFolder As Object
        myFolder = MyNameSpace.GetDefaultFolder(Microsoft.Office.Interop.Outlook.OlDefaultFolders.olFolderCalendar)
        Dim myTaskFolder As Object
        myTaskFolder = MyNameSpace.GetDefaultFolder(Microsoft.Office.Interop.Outlook.OlDefaultFolders.olFolderTasks)
        Dim myTaskItems As Object
        myTaskItems = myTaskFolder.Items
        Dim myItems As Object
        myItems = myFolder.Items
        Dim e As Microsoft.Office.Interop.Outlook.AppointmentItem
        For Each e In myItems
            If e.Categories <> String.Empty Then
                If e.Categories.Contains(category.Name) Then
                    out += "BEGIN:VEVENT" & Chr(10)
                    out += "UID:" & e.EntryID & Chr(10)
                    If e.Categories <> "" Then
                        out += "CATEGORIES:" & NoSpac(e.Categories.Replace(";"c, ","c)) & Chr(10)
                    End If
                    out += "DTSTAMP:" & ToDate69(e.CreationTime.ToUniversalTime) & Chr(10)
                    out += "DTSTART:" & ToDate69(e.Start.ToUniversalTime) & Chr(10)
                    out += "DTEND:" & ToDate69(e.End.ToUniversalTime) & Chr(10)
                    out += "SUMMARY:" & RFC5545_TEXT(e.Subject) & Chr(10)
                    'out += "DESCRIPTION:" & RFC5545_TEXT(e.Body) & Chr(10)
                    out += "LOCATION:" & RFC5545_TEXT(e.Location) & Chr(10)
                    If e.RecurrenceState = OlRecurrenceState.olApptMaster Then
                        out += ("RECURRENCE-ID:") & ToDate69(e.StartUTC) & Chr(10)
                        out += "RRULE:"
                        Dim f As Microsoft.Office.Interop.Outlook.RecurrencePattern
                        f = e.GetRecurrencePattern()
                        'Console.WriteLine("VALUES:monthofyear" & f.MonthOfYear & "dayofmonth:" & f.DayOfMonth & "daysofweekmask:" & f.DayOfWeekMask & "interval:" & f.Interval & "instance:" & f.Instance & "type:" & f.RecurrenceType)
                        Select Case f.RecurrenceType
                            Case OlRecurrenceType.olRecursYearNth
                                out += "FREQ=YEARLY;"
                                out += "INTERVAL=" & f.Interval & ";"
                                out += "BYMONTH=" & f.MonthOfYear & ";"
                                out += "BYDAY=" & GetDays(f.DayOfWeekMask) & ";"
                                out += "BYMONTHDAY=" & GetMonthDays(f.Instance) & ";"
                            Case OlRecurrenceType.olRecursMonthNth
                                out += "FREQ=MONTHLY;"
                                out += "INTERVAL=" & f.Interval & ";"
                                out += "BYDAY=" & GetDays(f.DayOfWeekMask) & ";"
                                out += "BYMONTHDAY=" & GetMonthDays(f.Instance) & ";"
                            Case OlRecurrenceType.olRecursYearly
                                out += "FREQ=YEARLY;"
                                out += "INTERVAL=" & f.Interval & ";"
                                out += "BYMONTH=" & f.MonthOfYear & ";"
                                out += "BYMONTHDAY=" & f.DayOfMonth & ";"
                            Case OlRecurrenceType.olRecursMonthly
                                out += "FREQ=MONTHLY;"
                                out += "INTERVAL=" & f.Interval & ";"
                                out += "BYMONTHDAY=" & f.DayOfMonth & ";"
                            Case OlRecurrenceType.olRecursWeekly
                                out += "FREQ=WEEKLY;"
                                out += "INTERVAL=" & f.Interval & ";"
                                out += "BYDAY=" & GetDays(f.DayOfWeekMask) & ";"
                            Case OlRecurrenceType.olRecursDaily
                                out += "FREQ=DAILY;"
                                out += "INTERVAL=" & f.Interval & ";"
                        End Select
                        If f.NoEndDate Then
                            out += "UNTIL=45001231235900Z"
                        Else
                            Dim endDate As Date
                            endDate = f.PatternEndDate.ToUniversalTime
                            out += "UNTIL=" & ToDate69(endDate.ToUniversalTime)
                        End If
                        out += Chr(10)
                        If f.Exceptions.Count > 1 Then
                            out += "EXDATE:"
                            Dim isLast = False
                            Dim enumerator As IEnumerator
                            enumerator = f.Exceptions.GetEnumerator()
                            enumerator.MoveNext()
                            While Not isLast
                                out += ToDate69(enumerator.Current.OriginalDate.ToUniversalTime)
                                If Not enumerator.MoveNext Then
                                    isLast = True
                                Else
                                    out += ","
                                End If
                            End While
                            out += Chr(10)
                        End If
                    ElseIf e.RecurrenceState = OlRecurrenceState.olApptOccurrence Then
                        'treat exception cases
                        out += ("RECURRENCE-ID:") & ToDate69(e.StartUTC) & Chr(10)
                        'Console.WriteLine("OCCURRENCE")
                    End If

                    out += "END:VEVENT" & Chr(10)
                End If
            End If
        Next
        Dim task As Microsoft.Office.Interop.Outlook.TaskItem
        For Each task In myTaskItems
            If task.Categories <> String.Empty Then
                If task.Categories.Contains(category.Name) Then
                    out += "BEGIN:VTODO" & Chr(10)
                    out += "UID:" & task.EntryID & Chr(10)
                    out += "DTSTAMP:" & ToDate69(task.CreationTime) & Chr(10)
                    If task.Status = OlTaskStatus.olTaskComplete Then
                        out += "COMPLETED:" & ToDate69(task.DateCompleted.ToUniversalTime) & Chr(10)
                    End If
                    If Date.Compare(task.StartDate, New Date(4499, 12, 31)) < 0 Then
                        out += "DTSTART:" & ToDate69(task.StartDate.ToUniversalTime)
                    End If
                    If task.Status = OlTaskStatus.olTaskInProgress Then
                        out += "STATUS:IN-PROGRESS" & Chr(10)
                    ElseIf task.Status = OlTaskStatus.olTaskWaiting Then
                        out += "STATUS:NEEDS-ACTION" & Chr(10)
                    End If
                    out += "SUMMARY:" & task.Subject & Chr(10)
                    If Date.Compare(task.DueDate, New Date(4499, 12, 31)) < 0 Then
                        out += "DUE:" & ToDate69(task.DueDate.ToUniversalTime) & Chr(10)
                    End If
                    out += "CATEGORIES:" & NoSpac(task.Categories.Replace(";"c, ","c)) & Chr(10)
                    out += "END:VTODO" & Chr(10)
                End If
                End If
        Next
        out += "END:VCALENDAR" & Chr(10)
        File.WriteAllText("C:\Program1\" & category.Name & ".ics", out, System.Text.Encoding.UTF8)
        Dim ftp As FTPclient
        Dim localFile As String = "C:\Program1\" & category.Name & ".ics"
        Dim remoteFile As String = "www/cal/calendars/" & category.Name & ".ics"
        Const host As String = "ftp://FTPSITE.COM/"
        Const username As String = "USERNAME"
        Const password As String = "<PASSWORD>"
        ftp = New FTPclient(host, username, password)
        ftp.Upload(localFile, remoteFile)
    End Sub
    Public Function ToDig(ByVal value As Integer) As String
        If value <= 9 Then
            Dim a As String
            a = "0" & value
            ToDig = a
        Else
            ToDig = value.ToString
        End If
        Exit Function
    End Function
    Public Function NoSpac(ByVal value As String) As String
        Dim str As String
        str = ""
        For Each ch As Char In value.ToCharArray
            If ch <> " "c Then
                str += ch
            End If
        Next
        NoSpac = str
        Exit Function
    End Function
    Public Function ToDate69(ByVal d As Date) As String
        Dim str As String
        str = d.Year & ToDig(d.Month) & ToDig(d.Day) & ToDig(d.Hour) & ToDig(d.Minute) & "00Z"
        ToDate69 = str
        Exit Function
    End Function
    Public Function GetDays(ByVal d As Integer) As String
        Dim out As String
        out = ""
        Dim once As Boolean
        once = False
        If (d And OlDaysOfWeek.olSunday) Then
            out += "SU"
            once = True
        End If
        If (d And OlDaysOfWeek.olMonday) Then
            If (once) Then
                out += ","
            End If
            out += "MO"
            once = True
        End If
        If (d And OlDaysOfWeek.olTuesday) Then
            If (once) Then
                out += ","
            End If
            out += "TU"
            once = True
        End If
        If (d And OlDaysOfWeek.olWednesday) Then
            If (once) Then
                out += ","
            End If
            out += "WE"
            once = True
        End If
        If (d And OlDaysOfWeek.olThursday) Then
            If (once) Then
                out += ","
            End If
            out += "TH"
            once = True
        End If
        If (d And OlDaysOfWeek.olFriday) Then
            If (once) Then
                out += ","
            End If
            out += "FR"
            once = True
        End If
        If (d And OlDaysOfWeek.olSaturday) Then
            If (once) Then
                out += ","
            End If
            out += "SA"
        End If
        GetDays = out
        Exit Function
    End Function
    Public Function GetMonthDays(ByVal xieme As Integer) As String
        Select Case xieme
            Case 1
                GetMonthDays = "1,2,3,4,5,6,7"
            Case 2
                GetMonthDays = "8,9,10,11,12,13,14"
            Case 3
                GetMonthDays = "15,16,17,18,19,20,21"
            Case 4
                GetMonthDays = "22,23,24,25,26,27,28"
            Case 5
                GetMonthDays = "29,30,31"
            Case Else
                GetMonthDays = "0"
        End Select
        Exit Function
    End Function
    Public Function RFC5545_TEXT(ByVal s As String) As String
        If s <> String.Empty Then
            s = s.Replace("\", "\\")
            s = s.Replace(";", "\;")
            s = s.Replace(",", "\,")
            s = s.Replace(vbNewLine, "\n")
        End If
        RFC5545_TEXT = s
        Exit Function
    End Function
End Module

 Conclusion

La méthode pour obtenir un "Handle" sur Outlook peut varier selon que vous utilisiez exchange ou non, je conseille cet excellent site : outlookcode.com

Aussi ai-je publié mon calendrier personnel avec ce programme : http://www.xsimo.com/cal

 Fichier Zip

Les Membres Club peuvent télécharger directement un fichier contenu dans le zip sans télécharger le zip en entier !

Télécharger le zip


 Historique

23 mai 2010 10:04:09 :
Je veillerai à changer mes mots de passe !!

 Sources de la même categorie

Source avec une capture Source .NET (Dotnet) LIRE UN VIDÉO DANS UNE INTERFACE par zed107
Source .NET (Dotnet) MODIFICATION DATE DE WINDOWS EN VB.NET ET VBA par us_30
Source avec Zip Source avec une capture Source .NET (Dotnet) ENVOI DE MAIL AVEC PIÈCE JOINTE par EhJoe
Source .NET (Dotnet) AMUSONS NOUS AVEC UN LABEL ^^ par Adn56
Source avec Zip Source avec une capture Source .NET (Dotnet) UN NAVIGATEUR INTERNET EN VB.NET par azrti

 Sources en rapport avec celle ci

Source avec Zip Source avec une capture OUTLOOK ATTACHEMENT SAVER par MoiLafouine
CLASSE D'OBJET DE GÉNÉRATEUR DE MAIL OUTLOOK AVEC MISE EN FO... par 8Tnerolf8
Source avec Zip Source avec une capture Source .NET (Dotnet) CALENDRIER ANNUEL NORME ISO par Prog1001
Source avec Zip Source .NET (Dotnet) FOLDERS ET DOCUMENTS OUTLOOK SOUS FORME DE TREEVIEW ... RECU... par jmn59170
AJOUT D'UN RDV DANS UN "SOUS CALENDRIER D'OUTLOOK" par mpsi

Commentaires et avis

Commentaire de scake le 02/07/2010 18:33:49

Je souhaite pouvoir publier un ics sur mon ftp avec icalendar comme vous le faites.
Je ne parviens pas à faire tourner cette macro sous outlook 2010.
J'ai renseigné le site ftp et le nom et pass dans le fichier CalItem, mais je présume que c'est plus compliqué que cela...

Commentaire de xsimo le 06/07/2010 18:19:14

J'utilise cette macro avec Outlook 2007, j'imagine qu'il y a effectivement un moyen de l'adapter pour la version 2010, vous pourriez consulter le site outlookcode.com pour connaitre le moyen d'obtenir un "handle" sur Outlook 2010 car à mon avis c'est cette partie qui diffère dans le fichier GetApplication.vb

 Ajouter un commentaire


Discussions en rapport avec ce code source dans le forum

Ajouter une categorie dans Outlook avec VBA [ par libop ] Je cherche a rajouter, en VBA, des categories Outlook a celles deja existantes...Comment je fais ? Il existe un objet categories ? outlook calendar [ par mraskin ] Bonjour,je suis entrain de me battre avec VBA pour Outlook !!!Je cherche à filtrer des entrées dans des , sur leur catégorie.L outlook calendar [ par mraskin ] Bonjour,je suis entrain de me battre avec VBA et Outlook !mon but: filtrer par un programe VBA les entrées de calendrier, sur leur catégorie, et rense Je cherche a déclarer un événement dans Outlook. [ par Nitocris ] Il est possible de déclarer dans outlook des événements comme :- a l'ouverture d'une fiche contact - a la fermeture d'un rendez-vous- etc....Ca je sai Objets Outlook en VBA [ par libop ] Je recherche la liste des objets Outlook en VBA, notament tout ce qui concerne le calendrier Outlook.Merci de me donner des infos !! ;-)libop Calendrier Outlook et VBA [ par libop ] Bonjour. je voudrais des infos sur la maniere de recuperer les rendez-vous saisis dans le calendrier d'outlook en vba.(en fait la liste des objets et envoi de données vers le dossier contacts d'Outlook [ par sophmef1 ] salutJe voudrais savoir s'il est possible et sélectionner par le biais d'une requete puis d'envoyer des données provenant d'un datagrid vers le dossie E-M@il [ par Raynald ] À partir de VB6, comment puis-je écrire une adresse e-mail et qu'elle s'exporte dans mon carnet d'adresses Outlook ou Outlook Express?Merci Outlook et Access 2000 [ par taz ] Comment exporter ou importer les informations du calendrier d'Outlook 2000 ans Access 2000 Export de donnée Exchange-Outlook [ par bidulle ] J'ai besoin de récuperer des données contenu dans le carnet d'adresse d'outlook... Comment faire???j'attend avec impatience vos idées car je seche...M


Nos sponsors


Appels d'offres

Sondage...

CalendriCode

Février 2012
LMMJVSD
  12345
6789101112
13141516171819
20212223242526
272829    

Consulter la suite du CalendriCode

Photothèque

 
Développement réalisé par Nicolas SOREL (Nix) avec l'aide de : Cyril DURAND et Emmanuel (EBArtSoft), Merci à Vincent pour ses précieux conseils.
CodeS-SourceS.com© Toute reproduction même partielle est interdite sauf accord écrit du Webmaster
CodeS-SourceS.com© est une marque déposée tous droits réservés

Google Coop CodeS-SourceS Google Coop CodeS-SourceS
Temps d'éxécution de la page : 0,421 sec (3)

Nous contacter | Annoncer sur CodeS-SourceS | Mentions légales