473,396 Members | 1,866 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,396 software developers and data experts.

change color of certain text of textbox

i m trying to devlop hindi typing software in vb 6
but how can i change color of text to red color if user typed wrong alphabet or press wrong key
Sep 23 '15 #1
1 1260
VB 6 is deprecated and may not use the right features,
But, try
Expand|Select|Wrap|Line Numbers
  1. Console.ForegroundColor = ConsoleColor.(Colour)
  2.  
Change the (Colour) to the Colour you want
Oct 9 '15 #2

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

Similar topics

1
by: Christofer Bustad | last post by:
Hi! Could someone give a clue of how I can set the color of text (LTEXT and RTEXT) in dialogs created using an .rc-file? Any help is very appreciated! Christofer
2
by: Xiphias | last post by:
Hi, Im trying to change the color of a text box on a report that im printing from a form. On the form I got a check box that has to tricker the color of that textbox on the printed report....
1
by: Serdge Kooleman | last post by:
Hi! i have a windows app, DataGrid on it... when i clicked at cell, it's appear small edit box in it. how to change foregraund and background color of this text? (by default it is blue...
2
by: XxLicherxX | last post by:
Hello, I have a console application that I am writing in VB.net. Is it possible to change the color of the console text from white to something else? I know I could call an external .bat file,...
0
by: write2jagdeep | last post by:
i Want to change color of text item when got focus in forms builber d2k and revert that color when lost focus. Pls anser it urgently.
1
by: coolheadash | last post by:
Hi all, I have a folder named "folder" having multiple files inside different nested folders. Many files under it have a certain text that i am looking for. Before this line, I have to add a line...
3
by: crjunk | last post by:
Hi Everyone, I have a web form that I would like to enhance. What I'd like to do is this: A user adds/edits the text in a textbox. I want the adjoining label to change color. Example: User...
1
by: rrrkkk | last post by:
Hello Actually I am working on php I have created a insertion form in which I need when entering a value into bill amt text box then it should be compare with exp value if it is not equal...
3
by: Kan09 | last post by:
Dear all, I have the following problem. We have a vba prcocedure that automatically send an e-mail. I need to insert into the body of this e-mail a text that that has a red font. Please...
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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.