PC Review


Reply
Thread Tools Rate Thread

Apply consistent font to PostItems

 
 
dxd@ptc.com
Guest
Posts: n/a
 
      9th Mar 2005
I have a custom PostItem form, many users use it to post items to a
public folder. The items are used to create a Newsletter. The
Newsletter is generated by a VB6 program that reads all of the
PostItems and generates an HTML mail.

The problem I have is that people are using a variety of fonts which
looks a mess when then Newsletter is generated.

I don't want to switch to plain text as I want hypelinks, bold, bullets
etc.

But I would like to ensure that everything is Arial 10pt

I am in control of the form and the VB6 program

So potentially I thought I could restrict the font in any of the
following 3 areas :-

- In the form so that only Arial 10 pt can be used when typing the
message body. This doesn't seem like it would be possible

- In the form in response to the Item_Write function to somehow mak
everything Arial 10 pt before writing it. I don't see how this would be
possible as I can't see any way of applying a font to the message body.

- In the VB6 program when I assemble the Newsletter. Again I can't
see how to do this, I know I can get the HTML text, but it would be far
too complicated to try to strip out all of the font tags, because they
appear not just as font tags, but also in style tags, some of the style
elements I want to keep!


Any suggestions?


Thanks

David

 
Reply With Quote
 
 
 
 
Sue Mosher [MVP-Outlook]
Guest
Posts: n/a
 
      2nd May 2005
You've done a good analysis. Bottom line is that there is no simple solution to this issue.

--
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx


<(E-Mail Removed)> wrote in message news:(E-Mail Removed)...
>I have a custom PostItem form, many users use it to post items to a
> public folder. The items are used to create a Newsletter. The
> Newsletter is generated by a VB6 program that reads all of the
> PostItems and generates an HTML mail.
>
> The problem I have is that people are using a variety of fonts which
> looks a mess when then Newsletter is generated.
>
> I don't want to switch to plain text as I want hypelinks, bold, bullets
> etc.
>
> But I would like to ensure that everything is Arial 10pt
>
> I am in control of the form and the VB6 program
>
> So potentially I thought I could restrict the font in any of the
> following 3 areas :-
>
> - In the form so that only Arial 10 pt can be used when typing the
> message body. This doesn't seem like it would be possible
>
> - In the form in response to the Item_Write function to somehow mak
> everything Arial 10 pt before writing it. I don't see how this would be
> possible as I can't see any way of applying a font to the message body.
>
> - In the VB6 program when I assemble the Newsletter. Again I can't
> see how to do this, I know I can get the HTML text, but it would be far
> too complicated to try to strip out all of the font tags, because they
> appear not just as font tags, but also in style tags, some of the style
> elements I want to keep!
>
>
> Any suggestions?
>
>
> Thanks
>
> David
>

 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Word 2003 - Apply Style - Not consistent Paula Microsoft Word Document Management 4 7th Mar 2008 05:26 PM
Re: Keep Font Consistent in slide Kathy Jacobs Microsoft Powerpoint 0 22nd Jan 2007 05:21 AM
Re: Consistent font size using Master Pages? Steve Rindsberg Microsoft Powerpoint 0 16th Jan 2007 10:37 PM
Apply Default Font =?Utf-8?B?Q2hhcmxpZQ==?= Microsoft Outlook Installation 0 2nd Dec 2005 04:15 PM
Can't apply Arabic Font ? =?Utf-8?B?TmFiaWwgQm91aXRpZWg=?= Microsoft Word Document Management 0 15th Dec 2004 12:01 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:45 PM.