Welcome to Dream.In.Code
Getting VB Help is Easy!

Join 136,553 VB Programmers for FREE! Get instant access to thousands of VB experts, tutorials, code snippets, and more! There are 1,902 people online right now. Registration is fast and FREE... Join Now!




Problems with list boxes, picture boxes and text boxes

 
Reply to this topicStart new topic

Problems with list boxes, picture boxes and text boxes

eathan580
20 Aug, 2008 - 01:22 PM
Post #1

New D.I.C Head
*

Joined: 14 Aug, 2008
Posts: 5

i,m struggling with creating code

i know how add a string to a list box, but i'm stuck on how to get that string in the listbox to load an image into the picture box and a text file into the text box. both the image and text files have tha same name a the string.

my other problem is once the image and text has been loaded i then want to launch/execute an external file/program from a command button within the program i'm creating.

i'm using VB 2008 Express Edition with SP1

i have got the basic fuctions of the command buttons wotking but i'm stuck with the rest

i was considering binding the listbox, picture box and text box to a dataset but i'm unsure on how to do that.

i,m also stuck on the install button function. i wanted this button to execute an external setup file.

CODE


Public Class Homes

    Private Sub cmdExit_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmdExit.Click

        End

    End Sub

    Private Sub cmdBack_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmdBack.Click

        Me.Visible = False
        MainMenu.Visible = True

    End Sub

    Private Sub cmdHelp_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmdHelp.Click

        Help.Visible = True

    End Sub
End Class



please help

those who can help me will be credited in the program

Jamie

This post has been edited by eathan580: 21 Aug, 2008 - 04:01 AM
User is offlineProfile CardPM
+Quote Post

Jayman
RE: Problems With List Boxes, Picture Boxes And Text Boxes
20 Aug, 2008 - 02:49 PM
Post #2

Student of Life
Group Icon

Joined: 26 Dec, 2005
Posts: 6,947



Thanked: 42 times
Dream Kudos: 500
Expert In: C#, VB.NET, Java

My Contributions
Post the code you have completed so far and we will help you get it working.

Dream.In.Code has a policy by which we prefer to see a good faith effort on your part before providing source code for homework assignments. Please post the code you have written in an effort to resolve the problem, and our members would be happy to provide some guidance. Be sure to include a description of any errors you are encountering as well.

Please post like this:

Thank you for helping us helping you.
User is offlineProfile CardPM
+Quote Post

eathan580
RE: Problems With List Boxes, Picture Boxes And Text Boxes
21 Aug, 2008 - 02:07 AM
Post #3

New D.I.C Head
*

Joined: 14 Aug, 2008
Posts: 5

i'm struggling to create the code that will allow a string clicked on in a listboxe, thatr will then display an image in a picturebox and load a text file to a text box. both the image file and the text file have the same name and they mach the string in the listbox.

i then want to use a command button to launch/execute an external setup file with the same name as the string in the listbox.

how do i sort this out

credits will be given to those who can help.

Jamie
User is offlineProfile CardPM
+Quote Post

Zhalix
RE: Problems With List Boxes, Picture Boxes And Text Boxes
21 Aug, 2008 - 07:40 AM
Post #4

D.I.C Head
**

Joined: 7 May, 2008
Posts: 218



Thanked: 9 times
My Contributions
Please do not create duplicate topics.
User is offlineProfile CardPM
+Quote Post

gabehabe
RE: Problems With List Boxes, Picture Boxes And Text Boxes
21 Aug, 2008 - 08:16 AM
Post #5

Donkey DIC
Group Icon

Joined: 6 Feb, 2008
Posts: 5,539



Thanked: 98 times
Dream Kudos: 2650
Expert In: ruling the world.

My Contributions
Please don't create duplicate topics.

Threads merged.
User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic
Time is now: 12/2/08 11:16PM

Live VB Help!

VB Tutorials

Reference Sheets

VB Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month