Click here to Skip to main content
15,913,722 members
Home / Discussions / C#
   

C#

 
QuestionSQL SELECT statement problem in TableAdapter configuration wizard C#. Pin
antony_t17-Oct-07 6:30
antony_t17-Oct-07 6:30 
QuestionRe: SQL SELECT statement problem in TableAdapter configuration wizard C#. Pin
TJoe17-Oct-07 7:26
TJoe17-Oct-07 7:26 
Questionsine wave ? Pin
james_dixon_200817-Oct-07 5:52
james_dixon_200817-Oct-07 5:52 
AnswerRe: sine wave ? Pin
Luke_ICS17-Oct-07 6:44
Luke_ICS17-Oct-07 6:44 
AnswerRe: sine wave ? Pin
User 665817-Oct-07 9:03
User 665817-Oct-07 9:03 
AnswerRe: sine wave ? Pin
Ennis Ray Lynch, Jr.17-Oct-07 10:05
Ennis Ray Lynch, Jr.17-Oct-07 10:05 
QuestionExtract Exe's Pin
t4ure4n17-Oct-07 5:28
t4ure4n17-Oct-07 5:28 
AnswerRe: Extract Exe's Pin
Giorgi Dalakishvili17-Oct-07 5:34
mentorGiorgi Dalakishvili17-Oct-07 5:34 
GeneralRe: Extract Exe's Pin
t4ure4n17-Oct-07 22:17
t4ure4n17-Oct-07 22:17 
QuestionValidate NT user in Asp.Net Web page Pin
Elena200617-Oct-07 4:07
Elena200617-Oct-07 4:07 
AnswerRe: Validate NT user in Asp.Net Web page Pin
led mike17-Oct-07 4:35
led mike17-Oct-07 4:35 
AnswerRe: Validate NT user in Asp.Net Web page Pin
Pete O'Hanlon17-Oct-07 4:36
mvePete O'Hanlon17-Oct-07 4:36 
QuestionKiosk Mode Pin
kingletas17-Oct-07 3:54
kingletas17-Oct-07 3:54 
AnswerRe: Kiosk Mode Pin
Luke_ICS17-Oct-07 4:43
Luke_ICS17-Oct-07 4:43 
AnswerRe: Kiosk Mode Pin
TJoe17-Oct-07 6:05
TJoe17-Oct-07 6:05 
GeneralRe: Kiosk Mode Pin
kingletas18-Oct-07 6:32
kingletas18-Oct-07 6:32 
AnswerRe: Kiosk Mode Pin
Dan Neely17-Oct-07 7:12
Dan Neely17-Oct-07 7:12 
GeneralRe: Kiosk Mode Pin
kingletas18-Oct-07 6:35
kingletas18-Oct-07 6:35 
QuestionBubble event in parent control Pin
Tanuja12317-Oct-07 3:38
Tanuja12317-Oct-07 3:38 
QuestionHow do i show a attached image in C# generated outlook email [modified] Pin
willempipi17-Oct-07 3:26
willempipi17-Oct-07 3:26 
Hi,

I made a program that launched a outlook email window and puts a attached file in it:

<br />
private Outlook.Application oApp = new Outlook.Application();<br />
<br />
Outlook.MAPIFolder outBoxfolder = oApp.GetNamespace("MAPI").GetDefaultFolder(Microsoft.Office.Interop.Outlook.OlDefaultFolders.olFolderOutbox);<br />
Outlook.MailItem mItem = (Outlook.MailItem)outBoxfolder.Items.Add(Outlook.OlItemType.olMailItem);<br />
<br />
mItem.Attachments.Add("D:\\test.jpg", Type.Missing, Type.Missing, Type.Missing);<br />
<br />
mItem.To = "";<br />
mItem.BCC = "";<br />
mItem.CC = "";<br />
mItem.Subject = "";<br />
mItem.BodyFormat = Outlook.OlBodyFormat.olFormatHTML;<br />
mItem.HTMLBody = "<img src='test.jpg'>";<br />
mItem.Display(new object());<br />


As you can see i want to display the attached file(image) in my mail, but, it doesn't work. The image is attached and you can see it in the attachments and dubbelclick it so it shows. But you cannot see it in de the body of the mail. The reason is because the imagelink "" in the HTMLBody isn't right, but what is right???

How do i make the link so it shows the image that is located in the attachment on my HTMLBody?

please help me???

greetz Willem



-- modified at 10:24 Wednesday 17th October, 2007
QuestionRe: Still unsolved Pin
willempipi18-Oct-07 3:01
willempipi18-Oct-07 3:01 
QuestionDAL and BLL communication Pin
sarvesh.upadhyay17-Oct-07 3:21
professionalsarvesh.upadhyay17-Oct-07 3:21 
AnswerRe: DAL and BLL communication Pin
il_masacratore17-Oct-07 3:27
il_masacratore17-Oct-07 3:27 
GeneralRe: DAL and BLL communication Pin
sarvesh.upadhyay17-Oct-07 3:36
professionalsarvesh.upadhyay17-Oct-07 3:36 
QuestionWhy the form window is not activated? Pin
Seraph_summer17-Oct-07 3:08
Seraph_summer17-Oct-07 3:08 

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.