Message 1 of 4
new line with vbCrLf is not work?

Not applicable
03-13-2012
12:18 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Dear All,
To write for Single line text
in VB6 when we use vbCrLf it work and come in new line but in .net it is not working
is therre any other way to do same thing.
Dim Str1 As String = " This is Test for First Line" Dim str2 As String = " This is Test for Second Line" Dim Str3 As String = Str1 & vbCrLf & str2 Dim acText As DBText = New DBText() acText.SetDatabaseDefaults() acText.Position = ed.GetPoint("click Point To Insert").Value acText.Height = 1 acText.TextString = Str3.ToString acBlkTblRec.AppendEntity(acText) acTrans.AddNewlyCreatedDBObject(acText, True)
Thanks for help.