Connecting Tech Pros Worldwide Forums | Help | Site Map

Format the text of a richtextbox with vb6

Newbie
 
Join Date: Dec 2006
Posts: 8
#1: Dec 5 '06
hi,i'm in a big prob!
i'm sending e-mail with the ocx ansmpt,and the body text is a richboxtext.
Now,the point is,the host receive my e-mails but the text of my e-mail is different because it's not formatted like the original i've sent...

for example,i'm sendind:

How are you doing?
i'm fine

and you?

BUT THEY RECEIVE:

how are you doing?i'm fine and you?

The text is contain in a richtextbox....

i'm using:

.bodytext=richtextbox


Could you hel me please??

Moderator
 
Join Date: Oct 2006
Location: Australia
Posts: 7,748
#2: Dec 5 '06

re: Format the text of a richtextbox with vb6


Can you check what line break characters are in your text? You may need to modify them. How did the text get into the richtextbox? Typed by the user?
Newbie
 
Join Date: Dec 2006
Posts: 30
#3: Dec 5 '06

re: Format the text of a richtextbox with vb6


Quote:

Originally Posted by bero81

hi,i'm in a big prob!
i'm sending e-mail with the ocx ansmpt,and the body text is a richboxtext.
Now,the point is,the host receive my e-mails but the text of my e-mail is different because it's not formatted like the original i've sent...

for example,i'm sendind:

How are you doing?
i'm fine

and you?

BUT THEY RECEIVE:

how are you doing?i'm fine and you?

The text is contain in a richtextbox....

i'm using:

.bodytext=richtextbox


Could you hel me please??

Before sending out the email, format your richtextbox text content and add "vbCrLf" necessary. this can for sure appear the same format in which you are sending
Newbie
 
Join Date: Dec 2006
Posts: 8
#4: Dec 6 '06

re: Format the text of a richtextbox with vb6


Quote:

Originally Posted by padhuwork

Before sending out the email, format your richtextbox text content and add "vbCrLf" necessary. this can for sure appear the same format in which you are sending

Could you write it down the code for format the contain of the richtextbox???

Please...help me


Thanks a lot
Reply


Similar Visual Basic 4 / 5 / 6 bytes