Results 1 to 2 of 2

Thread: Address Book Error

  1. #1

    Thread Starter
    Hyperactive Member Art W.'s Avatar
    Join Date
    Apr 2002
    Location
    In My Own Little World, But that’s OK because they know me there!
    Posts
    271

    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.
    SLEEP: A Totally Inadequate Substation For Caffeine!

  2. #2
    Addicted Member garyjohn_2000's Avatar
    Join Date
    Apr 2005
    Location
    Timbaland
    Posts
    243

    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.


    Anyone who has never made a mistake has never tried anything new. - Einstein
    Peace!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width