473,471 Members | 1,778 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Re: vbCr not showing in emailmessage

1 New Member
Re: previous log "vbCr not showing in emailmessage"
Is there are difference between using:
... vbCrLf ..
and
Imports Microsoft.VisualBasic
..
... ControlChars.vbCrLf or ControlChars.NewLine

Refer to:
http://www.velocityreviews.com/forums/t86846-re-simple-question-about-vbcrlf-is-not-declared.html
As I am using the former it does not render a newline in outlook as said in article I mentioned above "vbCr not showing in emailmessage" on this site.

And I do not particularly want to change to:
Dim oMail As New System.Web.Message
oMail.BodyFormat = System.Web.Mail.MailFormat.Html
oMail.Body = message.Replace(vbCrLf, "<br />") as it will require a business decision to sign off.
Nov 17 '10 #1
0 875

Sign in to post your reply or Sign up for a free account.

Similar topics

4
by: Vishnu | last post by:
I have a strange problem on WindowsXP proffessional with IE6 ,when i try to display a tiff file ,it is not showing ,small red x is comming up. I tried by dowloading latest IE from microsoft but...
2
by: c.anandkumar | last post by:
Hi All - I have some problems getting a small piece of javascript working correctly for Firefox. Here is what I am trying to do - 1. I have a form (like a search form) 2. I have many groups...
4
by: Ronny Sigo | last post by:
Hello all, I have made a form which sends email automaically. Everything works fine except that when my prog sends to a hotmail account all is well, however when I send to another account which...
3
by: Brian Henry | last post by:
Is there anyway to prevent the white box that drops down when you do a combobox dropdown from showing? I am trying to make a custom combobox which requires showing a custom form in its place, but...
1
by: Amber | last post by:
The DataGrid allows you to make columns visible or invisible on demand - even edit and other special columns. This article will show you how it is done. Some developers have reported problems...
4
by: Miguel Dias Moura | last post by:
Hello, when i uploaded my web site to a server i got this message everytime there was a form with authentication of an email address: System.Exception: The FromAddress is not syntactically...
4
by: sundar_s1210 | last post by:
i have the following code in asp using vbscript replace(str,vbcrlf," ") replace(str,vbcr," ") replace(str,vblf," ") where str is any string i want to convert this code in asp.net using...
8
by: Guy | last post by:
Hi, I'm trying to run this code : strFileContentsHTML.Replace(vbLf, "<br>") strFileContentsHTML.Replace(vbCrLf, "<br>") strFileContentsHTML.Replace(vbCr, "<br>") It doesn't replace newline...
7
by: teo | last post by:
Hallo I need to extract a subtext from a text. The subtext must contain a given word. The subtext bounds are: vbCr (return) vbLf (new line) vbCrLf (return+new line)
4
Breezwell
by: Breezwell | last post by:
Greetings everyone, Just a simple question that I am sure can be taken in many directions: Is there any significant benefit to learning VB.NET as opposed to continuing to use VB? Other than...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.