Click here to Skip to main content
15,887,338 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: pointing to the wrong dbase Pin
zaimah15-May-08 15:01
zaimah15-May-08 15:01 
GeneralRe: pointing to the wrong dbase Pin
Christian Graus15-May-08 15:07
protectorChristian Graus15-May-08 15:07 
GeneralRe: pointing to the wrong dbase Pin
zaimah15-May-08 16:00
zaimah15-May-08 16:00 
GeneralRe: pointing to the wrong dbase Pin
Christian Graus15-May-08 16:55
protectorChristian Graus15-May-08 16:55 
AnswerRe: pointing to the wrong dbase Pin
Thomas Stockwell19-May-08 8:08
professionalThomas Stockwell19-May-08 8:08 
QuestionHow to vibrate a gamepad within vb.net thus use of directinput? Pin
JUNEYT15-May-08 9:53
JUNEYT15-May-08 9:53 
AnswerRe: How to vibrate a gamepad within vb.net thus use of directinput? Pin
Vimalsoft(Pty) Ltd16-May-08 1:48
professionalVimalsoft(Pty) Ltd16-May-08 1:48 
QuestionSend image to another form Pin
winsane15-May-08 7:42
winsane15-May-08 7:42 
I am writing a program that shows a listbox with the name of 5 bitmap images to pick from. This program will allow the user to pick one for each 16 pictureboxes on the next form. When the user is done, he will push a button and another form pops up and shows 16 pictureboxes with the images he selected for each.
I have the 16 pictureboxes and a working listbox but due to lack of experience using windows forms in visual basic, I don't know how to take the selection from the listbox and use an if statement to tell the second form what to print inside the box.

For example, it would look something like this:
if form1.listbox1.selection = red car
then form2.picturebox1.image = redcar.png

This doesn't work, obviously, but you see what I am trying to do.
Any ideas?

-Live long and prosper

AnswerRe: Send image to another form Pin
JUNEYT15-May-08 10:29
JUNEYT15-May-08 10:29 
GeneralRe: Send image to another form Pin
winsane16-May-08 8:24
winsane16-May-08 8:24 
AnswerRe: Send image to another form Pin
Christian Graus15-May-08 11:33
protectorChristian Graus15-May-08 11:33 
GeneralRe: Send image to another form Pin
winsane15-May-08 17:38
winsane15-May-08 17:38 
GeneralRe: Send image to another form Pin
Christian Graus15-May-08 19:22
protectorChristian Graus15-May-08 19:22 
QuestionReg:Get Source Path Pin
P.T.R.K15-May-08 4:04
P.T.R.K15-May-08 4:04 
AnswerRe: Reg:Get Source Path Pin
helelark12315-May-08 4:35
helelark12315-May-08 4:35 
QuestionVB.NET with Access Database Pin
PCChuck15-May-08 4:01
PCChuck15-May-08 4:01 
AnswerRe: VB.NET with Access Database Pin
helelark12315-May-08 4:38
helelark12315-May-08 4:38 
GeneralRe: VB.NET with Access Database Pin
PCChuck15-May-08 5:18
PCChuck15-May-08 5:18 
GeneralRe: VB.NET with Access Database Pin
Steven J Jowett15-May-08 6:02
Steven J Jowett15-May-08 6:02 
QuestionDifferentiate form close event Pin
nishkarsh_k15-May-08 2:59
nishkarsh_k15-May-08 2:59 
AnswerRe: Differentiate form close event Pin
Rupesh Kumar Swami15-May-08 3:16
Rupesh Kumar Swami15-May-08 3:16 
GeneralRe: Differentiate form close event Pin
nishkarsh_k15-May-08 3:23
nishkarsh_k15-May-08 3:23 
AnswerRe: Differentiate form close event Pin
helelark12315-May-08 3:29
helelark12315-May-08 3:29 
GeneralRe: Differentiate form close event Pin
nishkarsh_k15-May-08 3:32
nishkarsh_k15-May-08 3:32 
GeneralRe: Differentiate form close event Pin
mr_lasseter15-May-08 4:05
mr_lasseter15-May-08 4:05 

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.