You would use the Outlook object model to do that. I have no idea about
Powerbuilder, but in VBA code if oMail is a mail item then this would attach
a file to the item:
Dim oAttach As Outlook.Attachment
Set oAttach = oMail.Attachments.Add("pathToTheFile")
"niladri" <niladri> wrote in message
news:8B8D47FF-CD4C-4429-8433-153FE89541DD@microsoft.com...
> Ken, No.. you did not understand my questtion al all... Let me explain you
> again...
> 1. I am running an application using Powerbuilder.
> 2. From this application I am calling MS Outlook.
> 3. Users then search for a specific file (some .doc, .xls etc) to attach
> with this Outlook.
> I want to create something so that I can attach the file with Outlook
> (instead user to look for it...since I know exactly what file needs to be
> attached...)
> all users are left to do is to put the Recipient address and Send....
> -niladri