[Webinar] Learn how to a build a cloud-first strategyRegister Now


manipulating combobox

Posted on 2006-03-20
Medium Priority
Last Modified: 2010-04-23

Actually, i need to do a program using VB.NET where when the user clicks the selected items in the combobox, it will display the contets from a text file that is related to the selected item inside the combobox. The display will done in either a textbox or label. I am confused whether to use a database to store the information to be retrieved or just append a path.

For example,

the combo box contains

About LLE
LLE Algorithm
LLE source codes

The user clicks "About LLE", then when he hit the display button, the information about LLE will appear in a label or textbox.

Thanks in advanced.
Question by:raja20
1 Comment
LVL 96

Accepted Solution

Bob Learned earned 80 total points
ID: 16235605
What is the question that you are asking?  How to read text from a file?

Dim reader As New IO.StreamReader(path)
Dim fileText As String = reader.ReadToEnd()


Featured Post

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A while ago, I was working on a Windows Forms application and I needed a special label control with reflection (glass) effect to show some titles in a stylish way. I've always enjoyed working with graphics, but it's never too clever to re-invent …
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an anti-spam), the admin…
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…
Suggested Courses

865 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question