Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Nigel Coates MAPI Class or Outlook class which should I
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00503064
Message ID:
00503914
Views:
35
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform