Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Nigel Coates MAPI Class or Outlook class which should I
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00503064
Message ID:
00503914
Vues:
34
You need to look in the windows temp folder. There is an API call for this.
	lnTempLength=512
	lcTempPath=Space(lnTempLength)
	
	Declare Integer GetTempPath In Win32API Integer, String@
	
	lnReturn=GetTempPath(lnTempLength, @lcTempPath)
	
	If lnReturn<=lnTempLength
		lcTempPath=Left(lcTempPath, lnReturn)
	Else
		lcTempPath=""
	Endif
>Nigel
>
>I really must be missing somthing!!!!!!!!!!!!!!!!!!!!!
>
>lnAttachCount=oOBJ.GetAttachmentCount()
>if lnAttachCount>0
>fixa=oObj.GetAttachmentFile(1)
>endif
>
>According to you fixa should contain the path & file name. It only contains the file name. I can't do anything with it - it assumes the file is on the default path which in this case is G:\Swissglob\mapimail
>
>Please give me 2 lines of code which show me whwre I am going wrong
>
>Colin
Nigel B Coates
NBC Software Services
Dublin, Ireland.
eMail: Nigel.Coates@NBCSoftware.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform