Hi All
I am not used to working in vb.net as of yet so this will seem like a real newbie question.
i am trying to link an array to six images that are in my program i assumed that the below code would would work as i cannot see another way in the list of objects that appers on pressing the period.
but to my bitter dissapointment it did not work it just left my image boxes transparent. can any body help me out on this issue
cheers
Card_1.Image.FromFile("..\Card Decks\Dark Pack\" & number_choose(0) & ".jpg")
Card_2.Image.FromFile("..\Card Decks\Dark Pack\" & number_choose(2) & ".jpg")
Card_3.Image.FromFile("..\Card Decks\Dark Pack\" & number_choose(7) & ".jpg")
Card_4.Image.FromFile("..\Card Decks\Dark Pack\" & number_choose(4) & ".jpg")
Card_5.Image.FromFile("..\Card Decks\Dark Pack\" & number_choose(1) & ".jpg")
Card_6.Image.FromFile("..\Card Decks\Dark Pack\" & number_choose(8) & ".jpg")
I am not used to working in vb.net as of yet so this will seem like a real newbie question.
i am trying to link an array to six images that are in my program i assumed that the below code would would work as i cannot see another way in the list of objects that appers on pressing the period.
but to my bitter dissapointment it did not work it just left my image boxes transparent. can any body help me out on this issue
cheers
Card_1.Image.FromFile("..\Card Decks\Dark Pack\" & number_choose(0) & ".jpg")
Card_2.Image.FromFile("..\Card Decks\Dark Pack\" & number_choose(2) & ".jpg")
Card_3.Image.FromFile("..\Card Decks\Dark Pack\" & number_choose(7) & ".jpg")
Card_4.Image.FromFile("..\Card Decks\Dark Pack\" & number_choose(4) & ".jpg")
Card_5.Image.FromFile("..\Card Decks\Dark Pack\" & number_choose(1) & ".jpg")
Card_6.Image.FromFile("..\Card Decks\Dark Pack\" & number_choose(8) & ".jpg")