Results 1 to 3 of 3

Thread: [RESOLVED] DeleteSetting error

  1. #1

    Thread Starter
    Interweb adm/o/distrator Paul M's Avatar
    Join Date
    Nov 2006
    Location
    Australia, Melbourne
    Posts
    2,306

    Resolved [RESOLVED] DeleteSetting error

    Code:
    DeleteSetting App.EXEName, "Case Number", "Value"
    With the above code i sometimes get "Invalid Procedure Call or Argument"

    Any ideas what could be wrong?

  2. #2

    Thread Starter
    Interweb adm/o/distrator Paul M's Avatar
    Join Date
    Nov 2006
    Location
    Australia, Melbourne
    Posts
    2,306

    Re: DeleteSetting error

    Never mind i have gone with API just need to write it up properly in the morning But if anyone can give me an insight into why it errors it would be great

  3. #3
    Fanatic Member schoolbusdriver's Avatar
    Join Date
    Jan 2006
    Location
    O'er yonder
    Posts
    1,020

    Re: [RESOLVED] DeleteSetting error

    DeleteSetting gives an error if the subkey doesn't exist.
    Code:
    Invalid ....... Argument
    (Better off with the APIs, particularly SHDeleteKey )

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