Click here to Skip to main content
14,978,864 members
Home / Discussions / Windows Forms
   

Windows Forms

 
AnswerRe: Windows security management Pin
Dave Kreskowiak22-May-12 2:08
mveDave Kreskowiak22-May-12 2:08 
Questionabout setup Pin
Rahul GS13-May-12 19:46
MemberRahul GS13-May-12 19:46 
AnswerRe: about setup Pin
Dave Kreskowiak14-May-12 2:08
mveDave Kreskowiak14-May-12 2:08 
AnswerRe: about setup Pin
Abhinav S21-May-12 19:57
MemberAbhinav S21-May-12 19:57 
QuestionData backup system code in vb.6.0 Pin
Nelson Dsilva9-May-12 1:07
MemberNelson Dsilva9-May-12 1:07 
AnswerRe: Data backup system code in vb.6.0 Pin
Dave Kreskowiak9-May-12 6:45
mveDave Kreskowiak9-May-12 6:45 
QuestionMoving Data from one form to another Pin
Squalllllll8-May-12 7:15
MemberSqualllllll8-May-12 7:15 
AnswerRe: Moving Data from one form to another Pin
JohnPayton8-May-12 13:48
MemberJohnPayton8-May-12 13:48 
I would suggest using any type of loop (Do While, For Next etc), what ever you like to get the data from the DataGridView column.

Just get the number of rows you wish to copy then loop through the rows, either storing the data returned into the ListBox or populating an Array, which can then be used to fill the ListBox. Note in the example below data is returned from the first column.

Dim pInt As Integer
Dim pIntItems As Integer
Dim pStrValue as String (or what ever the value type of the column is)
pIntItems = DataGridView.RowCount
For pInt = 0 To pIntItems - 1
pStrValue = DataGridView.Rows(pInt).Cells(0).Value
"Now either store this value to an array or make a function call to start populating the ListBox with the value."
Next

Hope this helps
GeneralRe: Moving Data from one form to another Pin
Suhas S kulkarni13-May-12 18:39
MemberSuhas S kulkarni13-May-12 18:39 
QuestionProperties for Button on selection by "TAB", clicked & when app loses focus Pin
All Time Programming1-May-12 3:22
MemberAll Time Programming1-May-12 3:22 
AnswerRe: Properties for Button on selection by "TAB", clicked & when app loses focus Pin
Dave Kreskowiak1-May-12 4:15
mveDave Kreskowiak1-May-12 4:15 
AnswerRe: Properties for Button on selection by "TAB", clicked & when app loses focus Pin
All Time Programming3-May-12 20:38
MemberAll Time Programming3-May-12 20:38 
Questionhow do i create a report builder in a window form? Pin
neodeaths28-Apr-12 4:12
Memberneodeaths28-Apr-12 4:12 
AnswerRe: how do i create a report builder in a window form? Pin
Dave Kreskowiak1-May-12 4:16
mveDave Kreskowiak1-May-12 4:16 
AnswerRe: how do i create a report builder in a window form? Pin
Apocalypse Now11-May-12 17:50
MemberApocalypse Now11-May-12 17:50 
QuestionIdeas for windows form Pin
frostcox20-Apr-12 23:09
Memberfrostcox20-Apr-12 23:09 
AnswerRe: Ideas for windows form Pin
Eddy Vluggen20-Apr-12 23:51
professionalEddy Vluggen20-Apr-12 23:51 
GeneralRe: Ideas for windows form Pin
frostcox21-Apr-12 0:03
Memberfrostcox21-Apr-12 0:03 
AnswerRe: Ideas for windows form Pin
Abhinav S21-Apr-12 0:11
MemberAbhinav S21-Apr-12 0:11 
GeneralRe: Ideas for windows form Pin
frostcox21-Apr-12 0:20
Memberfrostcox21-Apr-12 0:20 
GeneralRe: Ideas for windows form Pin
Benaiah Mischenko24-Apr-12 23:09
MemberBenaiah Mischenko24-Apr-12 23:09 
GeneralRe: Ideas for windows form Pin
frostcox25-Apr-12 8:31
Memberfrostcox25-Apr-12 8:31 
Questionhow to disabling the oracle trigger from vb.net Pin
bluesathish17-Apr-12 23:35
Memberbluesathish17-Apr-12 23:35 
AnswerRe: how to disabling the oracle trigger from vb.net Pin
Eddy Vluggen18-Apr-12 0:21
professionalEddy Vluggen18-Apr-12 0:21 
GeneralRe: how to disabling the oracle trigger from vb.net Pin
bluesathish18-Apr-12 0:28
Memberbluesathish18-Apr-12 0:28 

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.