Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Help - File Upload using a form.

Status
Not open for further replies.

TP2000

IS-IT--Management
Nov 30, 2002
1
GB
Can anyone complete the script below by including to and from methods to enable users to upload a text(and/or other formats) file through a form.

FilePath = "C:\OfficeMemos\attachment.doc"
FileName = "attachment.doc"
Set myForm = CreateObject("CDONTS.NewMail")
myForm.attachfile FilePath, FileName
myForm.send()

Many thanks in advance
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top