Click here to Skip to main content
15,912,665 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: coloring the XP taskbar Pin
Thomas Stockwell25-Mar-08 8:12
professionalThomas Stockwell25-Mar-08 8:12 
Generalread MAC code Pin
H. Porter12-Mar-08 19:09
H. Porter12-Mar-08 19:09 
GeneralRe: read MAC code Pin
Christian Graus12-Mar-08 20:48
protectorChristian Graus12-Mar-08 20:48 
GeneralRe: read MAC code Pin
Rajesh Anuhya13-Mar-08 0:43
professionalRajesh Anuhya13-Mar-08 0:43 
GeneralVB.NET and OCR Pin
Daniel Lopez12-Mar-08 14:08
Daniel Lopez12-Mar-08 14:08 
GeneralRe: VB.NET and OCR Pin
Christian Graus12-Mar-08 14:58
protectorChristian Graus12-Mar-08 14:58 
Generalgetting filesize from server Pin
XtremeMaC198412-Mar-08 14:01
XtremeMaC198412-Mar-08 14:01 
QuestionCombining Text in a comboBox with different colours Pin
TheFury12-Mar-08 12:24
TheFury12-Mar-08 12:24 
Hello, I am new to VB.Net and require some help?
I am trying to write a program which reads various text files (depending on if a tick box is checked)and combines them in a ComboBox. However I would also like to be able to set the colour from each of the text files? How do I do this?
This is the code I am using to read and combine the text in a comboBox

Dim QNLDef As New System.IO.StreamReader("C:\QNL\QNLDef.txt")
Do Until QNLDef.EndOfStream
Me.ComboBox1.Items.Add(QNLDef.ReadLine)
Loop
QNLDef.Close()

Dim BradyList As New System.IO.StreamReader("C:\QNL\QNLBrady.txt")
Do Until BradyList.EndOfStream
Me.ComboBox1.Items.Add(BradyList.ReadLine)
Loop
BradyList.Close()

Any help would be appreciated.
Thanks, James.
GeneralRe: Combining Text in a comboBox with different colours Pin
Christian Graus12-Mar-08 13:39
protectorChristian Graus12-Mar-08 13:39 
GeneralRe: Combining Text in a comboBox with different colours Pin
TheFury13-Mar-08 2:13
TheFury13-Mar-08 2:13 
GeneralLogin using VB.NET Pin
aspnet2312-Mar-08 11:45
aspnet2312-Mar-08 11:45 
GeneralImage Resizing - Webserver Effect Pin
cbjroms12-Mar-08 9:40
cbjroms12-Mar-08 9:40 
GeneralDLL Problems Pin
parth.p12-Mar-08 8:27
parth.p12-Mar-08 8:27 
GeneralRe: DLL Problems Pin
Nilesh Hapse12-Mar-08 21:17
Nilesh Hapse12-Mar-08 21:17 
QuestionHow to protect from past onto textbox? Pin
phowarso12-Mar-08 6:32
phowarso12-Mar-08 6:32 
AnswerRe: How to protect from past onto textbox? Pin
Xmen Real 12-Mar-08 6:54
professional Xmen Real 12-Mar-08 6:54 
GeneralDataGridView , Expression and Calculation Problem [modified] Pin
fearless stallion12-Mar-08 5:02
fearless stallion12-Mar-08 5:02 
GeneralTime stamp insert into database Pin
Cory Kimble12-Mar-08 4:24
Cory Kimble12-Mar-08 4:24 
GeneralRe: Time stamp insert into database Pin
Parwej Ahamad12-Mar-08 6:25
professionalParwej Ahamad12-Mar-08 6:25 
GeneralRe: Time stamp insert into database [modified] Pin
Cory Kimble12-Mar-08 9:21
Cory Kimble12-Mar-08 9:21 
GeneralRe: Time stamp insert into database Pin
Parwej Ahamad12-Mar-08 17:28
professionalParwej Ahamad12-Mar-08 17:28 
GeneralRe: Time stamp insert into database Pin
Cory Kimble24-Mar-08 4:39
Cory Kimble24-Mar-08 4:39 
GeneralJanus Control GridEx - Performance Issue Pin
manowj12-Mar-08 3:04
manowj12-Mar-08 3:04 
GeneralRe: Janus Control GridEx - Performance Issue Pin
nlarson1112-Mar-08 9:55
nlarson1112-Mar-08 9:55 
GeneralReading text from Middle of the txt file Pin
Syed Ali Raza12-Mar-08 2:16
Syed Ali Raza12-Mar-08 2:16 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.