I need a simple function that takes a richtextbox and maximum position on line as input and performs the following action: On every line of the richtextbox, a check is made to see if a colon is present, and if so the text up to and including the colon on that line is made bold. The remaining text on the line is left alone. If a colon is not found within X number of chars, the function skips the line and moves to next. Once the first colon is found on a line, remaining colons are ignored. Example... DATE: 11/22/2005 NAME: Mike Smith DATA: This is a test sentance that can be any length. The words DATE:, NAME: and DATA: would be all bold once the function finishes. I need this function in a hurry. Should be easy an experienced coder; my version is a pile of spagetti and I don't want to think about it anymore tonight = (
## Deliverables
1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.
2) Deliverables must be in ready-to-run condition, as follows (depending on the nature of the deliverables):
a) For web sites or other server-side deliverables intended to only ever exist in one place in the Buyer's environment--Deliverables must be installed by the Seller in ready-to-run condition in the Buyer's environment.
b) For all others including desktop software or software the buyer intends to distribute: A software installation package that will install the software in ready-to-run condition on the platform(s) specified in this bid request.
3) All deliverables will be considered "work made for hire" under U.S. Copyright law. Buyer will receive exclusive and complete copyrights to all work purchased. (No GPL, GNU, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site per the coder's Seller Legal Agreement).
## Platform
WinXP Visual Basic 6.0