473,406 Members | 2,390 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

Rich Text Box Problem

Ok I have a Rich Text Box and I am using a barcode scanner to make entries
to the Rich Text Box and it works, however here is the problem ...

I need to insert an "Enter" between each entry.

This is what I get now:

*123456**234567**345678*...

I need to get:

*123456*
*234567*
*345678*...

In real time as barcodes are read in

I have no Idea how to do this can someone please help.

Thanks in advance.
Nov 21 '05 #1
1 1081
If you receive the entries as a string with embedded * characters, then you
can use String.Replace() as in:

Dim inputStr As String
inputStr = "*123456**234567**345678*"
inputStr = inputStr.Replace ("**", "*" & Environment.NewLine & "*")

HTH?

-Siva

"Jim Campau" <ji********@bausch.com> wrote in message
news:%2****************@tk2msftngp13.phx.gbl...
Ok I have a Rich Text Box and I am using a barcode scanner to make entries
to the Rich Text Box and it works, however here is the problem ...

I need to insert an "Enter" between each entry.

This is what I get now:

*123456**234567**345678*...

I need to get:

*123456*
*234567*
*345678*...

In real time as barcodes are read in

I have no Idea how to do this can someone please help.

Thanks in advance.

Nov 21 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Justin Kennedy | last post by:
Hi, I have a client that wants to format content in Word, paste it into a textarea, and have the html render exactly as it matches the Word doc. I've tried some scripts out there that offer...
2
by: Ben Thomas | last post by:
Hello I am new to programming I am using a Rich Text Box in the Compose Form in a VB.NET email client application similar to Microsoft Outlook that I am trying to develop When I try to paste an...
0
by: raj | last post by:
Hello , I have a problem, rich text bullets are not displayed in Crystal report. Environment : VS .NET 2003 CrystalDecisions.CrystalReports.Engine Version 9.1.5000.0 ( it came with ..NET...
1
by: Peter | last post by:
I have written a small terminal app that reads and writes to the serial port. In particular as the data is read from the serial port it is appended to the rich text box. The problem I am...
4
by: David Davis | last post by:
Woll2Woll has a product for Delphi called Infopower which has a rtf control with a built-in word processor. Does anyone know of a third party control that has the same capabilities. I don't have...
1
by: tomi.trescak | last post by:
Hi I have a problem with storing rich text in MySQL. I store rich text in MySQL (in column with type "text") which i get from Rich Textbox control. When i do reverse processing by trying to...
11
by: karen987 | last post by:
I have a web page which used to work fine until i added a rich text editor. the pages are in ASP and it is a news weblog, with a comments section where people click the headline of a comment and...
4
by: Neil | last post by:
Just found out that the Microsoft Rich Textbox does not support full text justification, since it's based on Version 1.0 of the RichEdit Window Class, and full text justification is only available...
16
by: Neil | last post by:
I posted a few days ago that it seems to me that the Access 2007 rich text feature does not support: a) full text justification; b) programmatic manipulation. I was hoping that someone might...
16
by: MarwaAlSagheer | last post by:
Hi, I have problem with rich text box, sometimes when form open and rich text have Text ... All text was Align to left and let white space (Click Her to show false ImageShack - Image Hosting ::...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
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...
0
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...

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.