HTML textbox (1 Viewer)

MikeAngelastro

Registered User.
Local time
Today, 13:55
Joined
Mar 3, 2000
Messages
254
Hi,

I am creating an email app in Access 2002. Everything seems to work fine except that when I try to display the body of the of the message. If happens to be in HTML, all of the HTML code is displayed as well. I would like to display the message as a web browser does. What control would I need to use. I tried a plain textbox and a rich textbox but these won't do it.

Any ideas?

Thanks,

Mike
 

spacepro

Registered User.
Local time
Today, 20:55
Joined
Jan 13, 2003
Messages
715
Don't know if this will work or even if it's what you are after but:

Add the microsoft web browser activex control onto your form. Then trigger the following code:

Code:
me.webbrowser0.navigate("C:\template.html")

Basically create a template file or a html file then use code to display that in your form.

Purely a stab in the dark.

Hope this is what you are after.

Andy
 

MikeAngelastro

Registered User.
Local time
Today, 13:55
Joined
Mar 3, 2000
Messages
254
Thanks Spacepro, I'LL give that a try. I was thinking that I would have to copy the field contents to a file and then read it with the web browser control but I didn't want to. I guess that is what I will have to do.

Thanks again,

Mike
 

Users who are viewing this thread

Top Bottom