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

Visual Basic

 
QuestionHELP What are Properties and Control properties? Pin
peachqueenoh11-May-08 15:08
peachqueenoh11-May-08 15:08 
AnswerRe: HELP What are Properties and Control properties? Pin
Christian Graus11-May-08 15:39
protectorChristian Graus11-May-08 15:39 
GeneralRe: HELP What are Properties and Control properties? Pin
peachqueenoh11-May-08 16:07
peachqueenoh11-May-08 16:07 
GeneralRe: HELP What are Properties and Control properties? Pin
Christian Graus11-May-08 16:08
protectorChristian Graus11-May-08 16:08 
AnswerRe: HELP What are Properties and Control properties? Pin
Ray Cassick11-May-08 17:26
Ray Cassick11-May-08 17:26 
QuestionHow to: Display an Image in an Individual Cell of the DataGridView (Visual Basic) Pin
Graham Irons11-May-08 14:34
Graham Irons11-May-08 14:34 
AnswerRe: How to: Display an Image in an Individual Cell of the DataGridView (Visual Basic) Pin
Dave Kreskowiak12-May-08 5:06
mveDave Kreskowiak12-May-08 5:06 
GeneralRe: How to: Display an Image in an Individual Cell of the DataGridView (Visual Basic) Pin
Graham Irons12-May-08 16:04
Graham Irons12-May-08 16:04 
Dave,
Since posting this question, I have resolved how to display an Image in a DataGridViewTextBoxColumn.

Dim imageCell As New DataGridViewImageCell<br />
    Me.DataGridView1.Item(2, 0) = imageCell<br />
    Dim imageMe As New Bitmap("C:\Pictures\Graham.jpg", True)<br />
    imageCell.ImageLayout = DataGridViewImageCellLayout.Stretch<br />
    imageCell.Value = imageMe


That places the Image in Col 2, Row 0 and the other Rows in that Column, all accept Text input.

My problem now is to be able to do this to multiple Cells. In otherwords, reuse the variables, imageCell and imageMe as I won't know how many of these images there are until Runtime.
Any ideas on that issue please?

Regards, Graham

QuestionNamespace Warning Pin
dBrong11-May-08 14:08
dBrong11-May-08 14:08 
AnswerRe: Namespace Warning Pin
Dave Kreskowiak12-May-08 5:04
mveDave Kreskowiak12-May-08 5:04 
QuestionGrouping dates by week...Is it possible? Pin
Mikjall11-May-08 12:59
Mikjall11-May-08 12:59 
AnswerRe: Grouping dates by week...Is it possible? Pin
Christian Graus11-May-08 13:19
protectorChristian Graus11-May-08 13:19 
GeneralRe: Grouping dates by week...Is it possible? Pin
Mikjall11-May-08 15:12
Mikjall11-May-08 15:12 
GeneralRe: Grouping dates by week...Is it possible? Pin
Christian Graus11-May-08 15:46
protectorChristian Graus11-May-08 15:46 
GeneralRe: Grouping dates by week...Is it possible? Pin
Mycroft Holmes11-May-08 15:58
professionalMycroft Holmes11-May-08 15:58 
GeneralRe: Grouping dates by week...Is it possible? Pin
Christian Graus11-May-08 16:09
protectorChristian Graus11-May-08 16:09 
AnswerRe: Grouping dates by week...Is it possible? Pin
Ashfield11-May-08 21:09
Ashfield11-May-08 21:09 
Questionfont problems with vb6 Pin
Haim Nachum11-May-08 9:39
Haim Nachum11-May-08 9:39 
Questiondirect cast event handleing Pin
jacko87311-May-08 9:21
jacko87311-May-08 9:21 
AnswerRe: direct cast event handleing Pin
Christian Graus11-May-08 12:53
protectorChristian Graus11-May-08 12:53 
QuestionWindows Control Library Pin
asha_s11-May-08 4:36
asha_s11-May-08 4:36 
AnswerRe: Windows Control Library Pin
Dave Kreskowiak11-May-08 8:25
mveDave Kreskowiak11-May-08 8:25 
QuestionVB.NET Pin
Socheat.Net10-May-08 21:38
Socheat.Net10-May-08 21:38 
AnswerRe: VB.NET Pin
Mycroft Holmes10-May-08 23:58
professionalMycroft Holmes10-May-08 23:58 
QuestionData type structuring Pin
Chris Copeland10-May-08 5:10
mveChris Copeland10-May-08 5:10 

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.