manipulating combobox

Posted on 2006-03-20
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

    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

    Enabling OSINT in Activity Based Intelligence

    Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

    Join & Write a Comment

    Well, all of us have seen the multiple EXCEL.EXE's in task manager that won't die even if you call the .close, .dispose methods. Try this method to kill any excels in memory. You can copy the kill function to create a check function and replace the …
    Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
    Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…
    In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor ( If you're interested in additional methods for monitoring bandwidt…

    746 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

    Need Help in Real-Time?

    Connect with top rated Experts

    15 Experts available now in Live!

    Get 1:1 Help Now