Note that there are some explanatory texts on larger screens.

plurals
  1. POSignature needs to be in RTF instead of HTML. Passing in from VB6 to Outlook
    primarykey
    data
    text
    <p>I was passing a string of HTML formatted text for a signature in VB6 to Outlook but on certain very old computers with very old versions of outlook it was running into a problem where hypens would start a new line, or if I used the tag to fix it then word wrap would be totally turned off.</p> <p>I want to try to use RTF instead hoping that this will fix the problem. However I still have that signature that is in HTML and I need to pass it in as a string into Outlook using Rich Text formatting. I can't find any good resources on this or if it is even possible, whenever I try they show up with the escape commands and everything.</p> <p>My current HTML string:</p> <pre><code>string = vbCrLf &amp; vbCrLf &amp; "&lt;B&gt;&lt;FONT face=Arial color=#365f91 size=2&gt;" &amp; _ strName &amp; "&lt;/FONT&gt;" &amp; _ "&lt;FONT face=Arial size=2&gt;&lt;BR&gt;" &amp; _ "&lt;I&gt;" &amp; strPosition &amp; "&lt;/I&gt;" &amp; _ "&lt;/FONT&gt;&lt;/B&gt;&lt;BR/&gt;&lt;B&gt;&lt;FONT face=Arial size=2&gt;" &amp; _ strAddress1 &amp; "&lt;/FONT&gt;&lt;/B&gt;&lt;BR/&gt;&lt;FONT face=Arial size=1&gt;" &amp; _ strAddress2 &amp; "&lt;BR&gt;" &amp; strCity &amp; ", " &amp; _ strProvince &amp; ", " &amp; strPostalCode &amp; _ "&lt;BR&gt;" &amp; strCountry &amp; "&lt;BR&gt;Office: " &amp; strPhone &amp; _ "&lt;BR&gt;" &amp; strEmail &amp; "&lt;BR&gt;www.website.com&lt;BR&gt;" &amp; _ "&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;" &amp; _ "&lt;I&gt;&lt;FONT face=Arial size=2&gt;" &amp; strImageCaption &amp; "&lt;/FONT&gt;" &amp; _ "&lt;BR/&gt;&lt;BR/&gt;&lt;BR/&gt;&lt;/I&gt;&lt;FONT face=Arial size=1&gt;" &amp; strDisclaimer &amp; _ "&lt;/FONT&gt;&lt;/P&gt;" </code></pre> <p>Anyone able to help me pass this in as rtf or know of anyway I could do this? Will be very appreciated!</p> <p>EDIT: Alternatively if anyone knows how to fix the issue with word-wrap/line-breaking hyphens I would love that too.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload