Import msg files in Outlook

Import msg files in Outlook

Postby MarcoBoschi » Sun Apr 12, 2009 5:29 pm

I Have a lot of msg files created simply with a lot of "copy and paste" from Outlook folder to explorer folder.
Mi intention is to import into another outlook in another PC.
Massive "copy and paste" in the opposite direction to create folder in new PC is not secure.
For instance a folder containing 1312 files with msg extension I found only 1245 message.
Sometimes appears an alert dialog who tell me that that file is in use from another applications and so on.
My questions is
Is it possible to use a program like this
#include "fivewin.ch"
FUNCION MAIN()
LOCAL oOutlook , i
LOCAL aDir := DIRECTORY("*.MSG")
oOutlook := CreateObject("Outlook.Application")

FOR i := 1 TO LEN(aDir)
:shock: oOutlook:SomeFunctionToImportmsg( aDir[i,1] ) :lol:
NEXT i
oOutlook:Quit()
RETURN NIL

Thanks in advance
Marco
User avatar
MarcoBoschi
 
Posts: 1065
Joined: Thu Nov 17, 2005 11:08 am
Location: Padova - Italy

Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 66 guests