Click here to Skip to main content
15,888,325 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionSend email VB 2008 and outlook 2003 Pin
Member 22887045-May-09 1:52
Member 22887045-May-09 1:52 
AnswerRe: Send email VB 2008 and outlook 2003 Pin
Mycroft Holmes5-May-09 17:26
professionalMycroft Holmes5-May-09 17:26 
GeneralRe: Send email VB 2008 and outlook 2003 Pin
Member 22887046-May-09 1:41
Member 22887046-May-09 1:41 
GeneralRe: Send email VB 2008 and outlook 2003 Pin
Dave Kreskowiak6-May-09 2:16
mveDave Kreskowiak6-May-09 2:16 
AnswerRe: Send email VB 2008 and outlook 2003 Pin
Lexter33335-May-09 20:49
Lexter33335-May-09 20:49 
GeneralRe: Send email VB 2008 and outlook 2003 Pin
Member 22887046-May-09 1:47
Member 22887046-May-09 1:47 
AnswerRe: Send email VB 2008 and outlook 2003 Pin
Samir Ibrahim7-May-09 7:24
Samir Ibrahim7-May-09 7:24 
GeneralRe: Send email VB 2008 and outlook 2003 Pin
Member 22887048-May-09 1:29
Member 22887048-May-09 1:29 
I have now switch to office 2007 and adding these lines worked perfectly:

' Add an attachment
Dim sSource As String = "C:\somefile.extension"
Dim sBodyLen As String = oMsg.Body.Length
Dim sDisplayName As String = ""
Dim oAttachs As Outlook.Attachments = oMsg.Attachments
Dim oAttach As Outlook.Attachment

oAttach = oAttachs.Add(sSource, , , sDisplayName)
oMsg.Send()
Questionround shapes Pin
TheMrProgrammer5-May-09 1:45
TheMrProgrammer5-May-09 1:45 
AnswerRe: round shapes Pin
Anubhava Dimri5-May-09 2:45
Anubhava Dimri5-May-09 2:45 
AnswerRe: round shapes Pin
Dave Kreskowiak5-May-09 5:39
mveDave Kreskowiak5-May-09 5:39 
Question.dbf files Pin
vijay24824-May-09 23:03
vijay24824-May-09 23:03 
Answer[Message Deleted] Pin
Dinesh Vitharana4-May-09 23:31
Dinesh Vitharana4-May-09 23:31 
GeneralRe: .dbf files Pin
Dinesh Vitharana4-May-09 23:47
Dinesh Vitharana4-May-09 23:47 
GeneralRe: [Message Deleted] Pin
vijay24825-May-09 0:01
vijay24825-May-09 0:01 
AnswerRe: .dbf files Pin
Samir Ibrahim4-May-09 23:55
Samir Ibrahim4-May-09 23:55 
AnswerRe: .dbf files Pin
Rajesh Anuhya5-May-09 0:36
professionalRajesh Anuhya5-May-09 0:36 
GeneralRe: .dbf files[SOLVED] Pin
vijay24826-May-09 10:51
vijay24826-May-09 10:51 
Questionproblem with assignment Pin
blackstar14614-May-09 23:02
blackstar14614-May-09 23:02 
AnswerRe: problem with assignment Pin
Christian Graus4-May-09 23:11
protectorChristian Graus4-May-09 23:11 
AnswerRe: problem with assignment Pin
Dinesh Vitharana4-May-09 23:19
Dinesh Vitharana4-May-09 23:19 
GeneralRe: problem with assignment Pin
Christian Graus5-May-09 12:17
protectorChristian Graus5-May-09 12:17 
GeneralRe: problem with assignment Pin
_Damian S_5-May-09 15:05
professional_Damian S_5-May-09 15:05 
QuestionAn existing connection was forcibly closed by the remote host? [modified] Pin
AliAmjad4-May-09 18:43
AliAmjad4-May-09 18:43 
AnswerRe: An existing connection was forcibly closed by the remote host? Pin
Dinesh Vitharana4-May-09 23:06
Dinesh Vitharana4-May-09 23:06 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.