Declare Function RegDeleteKey& Lib "advapi32.dll" Alias "RegDeletekeyA" (ByVal _
hkey As Long, ByVal lpsubkey As String)
then under a cmd button i have
Private Sub Command2_Click()
RegDeleteKey "SubHKEY_LOCAL_MACHINE\SOFTWARE\Dell Computer\Dell Picture Studio2\ff"
End Sub
i get an error that says argument not optional
what am i doing wrong