Re: Attachment Icon position



Yes, CR/LF characters are not any different from other characters.

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool

"GrannyM" <GrannyM@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:3D5429EF-BA81-4507-986B-FA0723B0F174@xxxxxxxxxxxxxxxx
> That makes sense. Thanks! So, if I have 500 characters in my first
> paragraph, then have:
> Chr(13) & Chr(10)
> and then a 2nd paragraph with 250 characters, and I want my icon to fall
> between the 2 paragraphs, I should probably change the last line to
> something
> like:
> chr(13) & chr(10) & "a" & chr(13) & char(10)
> then set my position as 503 to replace the "a" with the icon?
>
> "Dmitry Streblechenko" wrote:
>
>> It is the eposition within the text body. Say, if you specify 261, the
>> character at the position 261 in thee message body will be replaced with
>> the
>> attachment icon.
>> Note that attachment position only applies to the RTF formatted e-mails.
>> Plain text and HTML messages always display attachments separately.
>>
>> Dmitry Streblechenko (MVP)
>> http://www.dimastr.com/
>> OutlookSpy - Outlook, CDO
>> and MAPI Developer Tool
>>
>> "GrannyM" <GrannyM@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
>> news:0DF6EDC3-AEDE-40D5-B2F7-076C6FD3F2A2@xxxxxxxxxxxxxxxx
>> > I'm not very familiar with outlook and I'm having a problem getting my
>> > attachment icons to fall in the correct place in my email. After
>> > adding
>> > the
>> > body text with:
>> > SafeItem.Body = Body$
>> > I add the attachment with:
>> > SafeItem.Attachments.Add attach1$, olByValue, 500, "Notice"
>> > I've not been able to find any documentation on the position parameter
>> > to
>> > help me determine where in the email the attachment icon will be
>> > located.
>> > Could someone please recommend a helpful reference? Current, I put in
>> > a
>> > number, run the macro, change the number, run the macro, etc. until it
>> > finally falls in the correct position. If it ever does.
>> >
>>
>>
>>


.



Relevant Pages

  • Re: Strange Characters When Viewing Outlook Express messages
    ... Messages Received in Outlook Express Have Different Characters in the ... messages in the default encoding format regardless of the actual encoding ... changed something with whatever they use to produce the emails. ...
    (microsoft.public.windowsxp.general)
  • Re: Attachment Icon position
    ... if I have 500 characters in my first ... and then a 2nd paragraph with 250 characters, and I want my icon to fall ... > OutlookSpy - Outlook, CDO ... >> help me determine where in the email the attachment icon will be located. ...
    (microsoft.public.office.developer.outlook.vba)
  • Re: Im sure glad I didnt buy a Mac Mini!
    ... replace them with chinese characters. ... This is not a problem that affects maccies. ... It's only a problem that affects people who use Outlook and who also get ... It's a problem for Windows users who try to deal with UTF-8 charsets. ...
    (comp.sys.mac.advocacy)
  • Re: OE6 failing to deleiver mail to one particular domain
    ... As for the loss of lead characters in my messages. ... "Jim Pickering" wrote in message ... > HTML-based e-mail messages that are sent from Outlook Express may be ... >> We will work to resolve this issue in future versions of the SPAMfighter ...
    (microsoft.public.windows.inetexplorer.ie6_outlookexpress)
  • Re: Unwanted Wrapping of words in MS Word
    ... Other applications such as Outlook Express and Internet Exporer often insert ... These are the characters you remove ... the lines will start wrapping (Wrapping - Am I using the ... > correct terminology ?) ...
    (microsoft.public.word.pagelayout)