how do I attach a file to the email.
I am using the CDO libary,
I dimmed the following:

dim objSession as MAPI.Session
dim objMessage as MAPI.Message

Create the Session:

Set objSession = CreateObject("Mapi.Session")

log onto session:

objSession.Logon SETTINGS
strUserName = objSession.CurrentUser

created the message and fill in its properties:

Set objMessage = objSession.Outbox.Messages.Add
objMessage.Subject = txtSubject.Text
objMessage.Text = txtMessage.Text
objMessage.Attachments.Add ??????

I don't know how assign and load the file I want into the message.