-
Address Book Error
Hello Everyone:
I am having problems with the following code. The problem is in the line that contains “address.save(filename)” the part address.save is underlined. When I backspace over the save, it gives me the options of what can go there and save isnt one of them. I am coping this out of a book. Can someone please tell em what I need to do? This is an address book program and should up date the information entered.
Code:
' create a new address object...
Dim address As New Address()
' copy the values from the form into the address...
PopulateAddressFromForm(address)
' save the address...
Dim filename As String = DataFilename
address.save(filename)
' tell the user...
MsgBox("The address was saved to " & filename)
End Sub
Thanks
Art W.
-
Re: Address Book Error
You might need to backtrack through the previous chapters and look for the code yourself. The code must be there, probably covered under a different concept headline.