Click here to Skip to main content
15,896,437 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Using app.config Pin
Anonymous15-Apr-04 20:30
Anonymous15-Apr-04 20:30 
GeneralRe: Using app.config Pin
Nadroj16-Apr-04 9:37
Nadroj16-Apr-04 9:37 
QuestionSaving Date from picker?? Pin
hounetdev14-Apr-04 8:30
hounetdev14-Apr-04 8:30 
AnswerRe: Saving Date from picker?? Pin
Dave Kreskowiak14-Apr-04 8:55
mveDave Kreskowiak14-Apr-04 8:55 
GeneralClass Pin
trg503014-Apr-04 8:28
trg503014-Apr-04 8:28 
GeneralRe: Class Pin
Dave Kreskowiak14-Apr-04 8:52
mveDave Kreskowiak14-Apr-04 8:52 
GeneralRe: Class Pin
trg503014-Apr-04 12:55
trg503014-Apr-04 12:55 
GeneralRe: Class Pin
Dave Kreskowiak14-Apr-04 13:21
mveDave Kreskowiak14-Apr-04 13:21 
trg5030 wrote:
Public Sub AddDelete()

Dim Add As New frmAdd
ReDim Preserve objInfo(Count)
objInfo(Count) = New CD
With objInfo(Count)
Add.txtArtist.Text = .Artist
Add.txtAlbum.Text = .Album
Add.txtCDID.Text = .CDID
Add.txtCDLocation.Text = .CDLocation
Add.txtReleaseDate.Text = .ReleaseDate
If Add.rbYes.Checked = True Then
.Burned = True
End If
End With
Count = Count + 1
End Sub


Your making a new instance of an frmAdd form here. You then expand an array and add a new (blank) CD object to it. Then, your populating the textbox controls on the form with the information from the newly created CD object, with is all blanks. You then check a checkbox control on the form, which is never displayed by the way, and then increase the counter.

All the assignments to made are moving data (blank data) TO the form, but never FROM the form to the storage class you made!


RageInTheMachine9532
GeneralRe: Class Pin
trg503014-Apr-04 13:51
trg503014-Apr-04 13:51 
GeneralRe: Class Pin
Dave Kreskowiak14-Apr-04 13:57
mveDave Kreskowiak14-Apr-04 13:57 
GeneralRe: Class Pin
trg503014-Apr-04 19:23
trg503014-Apr-04 19:23 
GeneralGetting BIOS Serial Pin
Troyax14-Apr-04 7:07
Troyax14-Apr-04 7:07 
GeneralRe: Getting BIOS Serial Pin
Dave Kreskowiak14-Apr-04 8:50
mveDave Kreskowiak14-Apr-04 8:50 
GeneralWebservices: can't see methods Pin
Medieval Knight14-Apr-04 5:00
sussMedieval Knight14-Apr-04 5:00 
GeneralBinary Files Comparison Pin
mayVB613-Apr-04 22:22
mayVB613-Apr-04 22:22 
GeneralRe: Binary Files Comparison Pin
Dave Kreskowiak14-Apr-04 2:45
mveDave Kreskowiak14-Apr-04 2:45 
GeneralRe: Binary Files Comparison Pin
mayVB614-Apr-04 17:00
mayVB614-Apr-04 17:00 
GeneralAdd-in problem opening word file with write permission Pin
skoizumi2911013-Apr-04 15:03
sussskoizumi2911013-Apr-04 15:03 
GeneralRe: Add-in problem opening word file with write permission Pin
John Kuhn13-Apr-04 15:55
John Kuhn13-Apr-04 15:55 
GeneralRe: Add-in problem opening word file with write permission Pin
skoizumi2911014-Apr-04 15:39
sussskoizumi2911014-Apr-04 15:39 
GeneralRe: Add-in problem opening word file with write permission Pin
John Kuhn14-Apr-04 15:55
John Kuhn14-Apr-04 15:55 
GeneralRe: Add-in problem opening word file with write permission Pin
skoizumi2911015-Apr-04 10:18
sussskoizumi2911015-Apr-04 10:18 
GeneralVB6 Pin
vikasg197713-Apr-04 14:04
vikasg197713-Apr-04 14:04 
GeneralRe: VB6 Pin
John Kuhn13-Apr-04 16:03
John Kuhn13-Apr-04 16:03 
GeneralRe: VB6 Pin
T Manjaly15-Apr-04 12:54
T Manjaly15-Apr-04 12:54 

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.