Basically i have a VB6 project where i have a web browser on my form. I have a listbox and command buttons. What i have so far is when you click one of the command buttons, it opens a text file that is on your desktop. That text file contains links. I already have each lines being stored in #1.

What i need next is for the web browser to open and load each of those links from the list box. If anyone can show or tell me how i can go about doing this, i will greatly appreciate it.


Sprinkles

when u click on the listbox item select the link address using the listindex property of the listbox and pass that to browser control.

ok so i put the link in the ListIndex Property dropdown menu? And after that what do you mean by pass that to my browser control? If you could be a little more specific that would be great.

But thanks for the reply, i appreciate it.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.