was ist neu ¦  programmier tips ¦  indy artikel ¦  intraweb artikel ¦  informationen ¦  links ¦  interviews
 sonstiges ¦  tutorials ¦  Add&Win Gewinnspiel

Tips (1541)

Dateien (137)
Datenbanken (90)
Drucken (35)
Grafik (114)
IDE (21)
Indy (5)
Internet / LAN (130)
IntraWeb (0)
Mathematik (76)
Multimedia (45)
Oberfläche (107)
Objekte/
ActiveX (51)

OpenTools API (3)
Sonstiges (126)
Strings (83)
System (266)
VCL (242)

Tips sortiert nach
Komponente


Tip suchen

Tip hinzufügen

Add&Win Gewinnspiel

Werbung

50 Visitors Online


 
..den Outlook Kalender als WebSeite speichern?
Autor: Adrian Hämmerli
Homepage: http://www.sdnag.com
[ Tip ausdrucken ]  

Tip Bewertung (10):  
     


{ In Outlook lässt sich ein Kalender als WebSeite speichern. Dazu benötig man
den "Web Publishing Wizard" download im Microsoft Download Center. }

{ In Outlook you can save the calendar as website. For this you need the
"Web Publishing Wizard" available at Microsoft Download Center. }


{ Original VB Script: By Sue Mosher, sue @slipstick.com, with input from Ken Slovak and others
for more Outlook samples, see http://www.slipstick.com/dev/code/index.htm }

{ .... }

uses ComObj;

{ .... }

procedure TForm1.Button1Click(Sender: TObject);
var 
  
Outlook, NameSpace, TopFolder, CalendarFolder, WebPub: OleVariant;
  sTitle: string;
begin
  
Outlook := CreateOleObject('Outlook.Application');
  WebPub  := CreateOleObject('WebPub.cWebPub');

  NameSpace := Outlook.GetNamespace('MAPI');
  TopFolder := NameSpace.Folders[1];
  CalendarFolder := TopFolder.Folders('Kalender');

  WebPub.Create('Kalender von AHA', '', False, '01.05.2003', '01.06.2003',
    True, True, 'C:\Temp');
  {
  WebPub.Create method parameters:
                    'sTitle         - Title displayed at the top of the page
                    'sGraphic       - Path to a graphic file to use for BACKGROUND
                    '                 attribute
                    'bUseGraphic    - True=Use 'sGraphic' param, False=Ignore
                    'dtStartDate    - Start of date range to publish
                    'dtEndDate      - End of date range to publish
                    'bDetails       - Publish appointment details
                    'bShowInBrowser - Display in default browser after publishing
                    'sSiteName      - Local path to store published calendar
  }

  
WebPub  := Unassigned;
  Outlook := Unassigned;
end;

 

Bewerten Sie diesen Tipp:

dürftig
ausgezeichnet


Copyright © by SwissDelphiCenter.ch
All trademarks are the sole property of their respective owners