TIP: Click on subject to list as thread! ANSI
echo: visual_basic
to: All
from: Randy Birch
date: 2004-06-25 21:33:00
subject: Re: Attaching A File Usin

No can do. You'll have to use the MAPI control or CDO (if running on an 
exchange-enabled box).

-- 

Randy Birch
MVP Visual Basic
http://vbnet.mvps.org/
Please respond only to the newsgroups so all can benefit.


"plums"  wrote in message 
news:31b96b92.0406250643.206bb9d9{at}posting.google.com...
: Hi
:
: My application creates a file from user entered data.
: I am currently using the Shell Execute API to email the manager of the
: project,
: once the day's file is created.
: I can't seem to find a way to attached the file.
: Below is the code,minus the API declarations, (pretty cut and dry) I'm
: using now:
: Any ideas on how to have that file attached when the email message
: pops up for sending?
:
: Thanks in advance...
:
: Private Sub cmdSend_Click()
:
: Dim sTopic As String
:    Dim sFile As String
:    Dim sParams As Variant
:    Dim sDirectory As Variant
:
:    sTopic = "Open"
:    sFile = "mailto:theboss{at}thecompany.com&subject=The
: File&body=Today's file"
:         sParams = 0&
:         sDirectory = 0&
:         Call RunShellExecute(sTopic, sFile, sParams, sDirectory, _
:         SW_SHOWNORMAL)
:
: End Sub
---
þ RIMEGate(tm)/RGXPost V1.14 at BBSWORLD * Info{at}bbsworld.com

---
 * RIMEGate(tm)V10.2áÿ* RelayNet(tm) NNTP Gateway * MoonDog BBS
 * RgateImp.MoonDog.BBS at 6/25/04 9:33:41 PM
* Origin: MoonDog BBS, Brooklyn,NY, 718 692-2498, 1:278/230 (1:278/230)
SEEN-BY: 633/267 270
@PATH: 278/230 10/345 106/1 2000 633/267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.