I do not have the Common Dialog Control installed on my computer (and apparently getting it installed requires more from my company than I have time to invest).
I have a form where a user inputs data that is used for a report. A command button will create a report from the data, save it as a .SNP document based on the ID field into a server folder, and e-mail the .SNP as an attachment. All of this works fine.
I also want the ability to include other attachments in the e-mail as well (i.e. picture files that depict the damages the report describes). There are 8 text fields for the user to input the path to as many as 8 attachments (AttPath1, AttPath2, ... , AttPath8), and the file that the path leads to will be attached through .Addattachment. This works fine as well.
i would like for the user to be able to browse for the filename to eliminate typo or other errors. This is where the trouble is.
The first text box is AttPath1, and the command button for the first path is cmdBrowse1.
Can you help me? i've found examples online but they are way over my programming capabilities as far as converting to my particular application.
Thanks!
I have a form where a user inputs data that is used for a report. A command button will create a report from the data, save it as a .SNP document based on the ID field into a server folder, and e-mail the .SNP as an attachment. All of this works fine.
I also want the ability to include other attachments in the e-mail as well (i.e. picture files that depict the damages the report describes). There are 8 text fields for the user to input the path to as many as 8 attachments (AttPath1, AttPath2, ... , AttPath8), and the file that the path leads to will be attached through .Addattachment. This works fine as well.
i would like for the user to be able to browse for the filename to eliminate typo or other errors. This is where the trouble is.
The first text box is AttPath1, and the command button for the first path is cmdBrowse1.
Can you help me? i've found examples online but they are way over my programming capabilities as far as converting to my particular application.
Thanks!