Hey there guys, I've created an installer program in .Net 2.0 before finding out that the units to be installed wont have .Net on them yet, so I'm having to re-work it all in VB6.
Well my question is about datasets and/or recordsets. In .Net I could get the value from a column/row by
That's flipping easy for me to do a loop based upon the file.
But with VB6, how would I get the equivalent?
I'm using csv files with 3 fields: an Index field of single digits for demoing purposes (possibly up to 4 digits) - equivalent to the row (Column titled "Index"); a application display name similar to "Microsoft Excel" (Column titled "DisplayName"); and a path field which would show full path to the msi similar to "f:\Microsoft\Microsoft Excel.msi" (Column title "Path").
My ultimate goal in the VB6 version is similar to the functionality of the .net version. Dynamically create and name the controls based on the index
in the csv file ("ckbox" & row#), put the display name as the caption/text of the control, and after the user decides what needs to be pressed go directly to that row and return the path to the file selected. I've got the controls to create and be removed down fine, and using .movenext to apply the caption/text to the controls. But need a way to quickly go to a row and field.
Any ideas will be fantastic! Thanks for all of your help!
FYI: I'm used to using ADO and am currently using this to read the file, but I'm open to other ideas as well.
Well my question is about datasets and/or recordsets. In .Net I could get the value from a column/row by
Code:
Dim cr As String = datatable.Rows(R).Item(C).ToString()
But with VB6, how would I get the equivalent?
I'm using csv files with 3 fields: an Index field of single digits for demoing purposes (possibly up to 4 digits) - equivalent to the row (Column titled "Index"); a application display name similar to "Microsoft Excel" (Column titled "DisplayName"); and a path field which would show full path to the msi similar to "f:\Microsoft\Microsoft Excel.msi" (Column title "Path").
My ultimate goal in the VB6 version is similar to the functionality of the .net version. Dynamically create and name the controls based on the index
in the csv file ("ckbox" & row#), put the display name as the caption/text of the control, and after the user decides what needs to be pressed go directly to that row and return the path to the file selected. I've got the controls to create and be removed down fine, and using .movenext to apply the caption/text to the controls. But need a way to quickly go to a row and field.
Any ideas will be fantastic! Thanks for all of your help!
FYI: I'm used to using ADO and am currently using this to read the file, but I'm open to other ideas as well.