Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Dropping Data to a VB.net Program
Does anybody know how to send information to a VB.NET
program. What I want to do is have VBA from excel call a VB.NET program with and the vb.net program can them send e-mail using the smtp server. The information from excel would be the e-mail addresses and then the message. There is an exaple of a vb.net program onthe MSDN web page using web.mail. And I would like to modify it for this use. Dim email As New System.Web.Mail.MailMessage() email.To = "RecipientAddress" email.From = "SenderAddress" email.Body = "MessageText" email.Subject = "SubjectText" email.BodyFormat = Web.Mail.MailFormat.Text System.Web.Mail.SmtpMail.SmtpServer = "SmtpServerName" System.Web.Mail.SmtpMail.Send(email) Brian Elson |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Pivot Table Still Dropping Data | Excel Discussion (Misc queries) | |||
Dropping data labels | Charts and Charting in Excel | |||
prevent display of data series dropping to graph x axis for null d | Charts and Charting in Excel | |||
merging excel program with tdc finance program | Excel Programming | |||
Get data from another program to Excel | Excel Programming |