Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 14 results for
regdeletekey
- Page 1
need help with option box
Programming
Software Development
14 Years Ago
by DeadlyMan
… lpSubKey As String, phkResult As Long) As Long Declare Function
RegDeleteKey
Lib "advapi32.dll" Alias "RegDeleteKeyA" (ByVal… As String) Call ParseKey(Keyname, MainKeyHandle) If MainKeyHandle Then rtn =
RegDeleteKey
(MainKeyHandle, Keyname) 'delete the key End If End Function Function…
RegOpenkeyEx Error: 87 aka INVALID_PARAMETER
Programming
Software Development
11 Years Ago
by Abhineet.Ayan
…am implementing a recursive registry delete using RegOpenKeyEx,
RegDeleteKey
and RegEnumKey. **Problem::** Though the code works … } if( hKeySub != NULL ) { RegCloseKey(hKeySub) ; hKeySub = NULL ; } lRet =
RegDeleteKey
( hKey, lpszSub ) ; printf("RegDelKey:: %S :: lRet = %ld\n"…
Re: File association in vb6
Programming
Software Development
16 Years Ago
by choudhuryshouvi
… As String, lpcbData As Long) As Long Private Declare Function
RegDeleteKey
Lib "advapi32.dll" Alias "RegDeleteKeyA" (ByVal…, KEY_WRITE, lphKey&) If ret& = ERROR_SUCCESS Then ret& =
RegDeleteKey
(lphKey&, "") 'delete the key ret& = RegCloseKey…
Re: Registry Access
Programming
Software Development
15 Years Ago
by abbajee
…Long, ByVal lpValueName As String) _ As Long Declare Function
RegDeleteKey
Lib "advapi32.dll" _ Alias "RegDeleteKeyA&…, sSubKey, 0, KEY_CREATE_SUB_KEY, lHandle) If lResult = ERROR_SUCCESS Then lResult =
RegDeleteKey
(lHandle, sKeyName) End If If lResult = ERROR_SUCCESS Or lResult = ERROR_FILE_NOT_FOUND…
Re: Portable application!! Need your suggestion
Programming
Software Development
13 Years Ago
by AndreRet
… String, ByVal cbData As Long) As Long Public Declare Function
RegDeleteKey
Lib "advapi32.dll" Alias "RegDeleteKeyA" (ByVal… Long, ByVal strKey As String) Dim r As Long r =
RegDeleteKey
(hKey, strKey) End Function Public Function GetSettingString(hKey As Long…
Re: To delete a folder from registry
Programming
Software Development
16 Years Ago
by Ancient Dragon
[URL="http://msdn2.microsoft.com/en-us/library/ms724845(VS.85).aspx"]
RegDeleteKey
()[/URL]
Re: To delete a folder from registry
Programming
Software Development
16 Years Ago
by harishankarb
[QUOTE=Ancient Dragon;554368][URL="http://msdn2.microsoft.com/en-us/library/ms724845(VS.85).aspx"]
RegDeleteKey
()[/URL][/QUOTE] what do u mean by that mr dragon
Re: Deleting a subkey from the registry
Programming
Software Development
15 Years Ago
by djMot
… programatically? If so... [CODE] 'Delete Key declaration Private Declare Function
RegDeleteKey
Lib "advapi32.dll" Alias "RegDeleteKeyA" (ByVal…
Re: Have a question....
Programming
Software Development
14 Years Ago
by vb5prgrmr
…, you can use the following API's RegCreateKey or RegCreateKeyEx
RegDeleteKey
RegQueryValue or RegQueryValueEx Good Luck
Re: How to delete the registry entry of vb project
Programming
Software Development
14 Years Ago
by vb5prgrmr
RegDeleteValue and
RegDeleteKey
API's are what you are looking for. Good Luck
Re: Get ClsID, ProgID, TlbID of a DLL file
Programming
Software Development
13 Years Ago
by AndreRet
…, lpData As Any, lpcbData As Long) As Long ' Declare Function
RegDeleteKey
Lib "advapi32.dll" Alias "RegDeleteKeyA" _…
Re: Win32 registry functions failing
Programming
Software Development
13 Years Ago
by caut_baia
… (Key_,Buff,0,KEY_ALL_ACCESS,&tmpKey)==ERROR_SUCCESS) { DeleteKey (tmpKey); } } else {
RegDeleteKey
(Key_,Buff); DeleteKey (Root); } } //------------------------------------------------------------------------------------ HKEY RegistryEntry::OpenKey (const HKEY&…
Re: RegOpenkeyEx Error: 87 aka INVALID_PARAMETER
Programming
Software Development
11 Years Ago
by triumphost
Question for you.. Are you sure the following is correct? if( lRet != ERROR_SUCCESS ) { if( lRet == ERROR_FILE_NOT_FOUND ) { bRet = FALSE ; break ; } else { bRet = FALSE ; //Are…
Re: RegOpenkeyEx Error: 87 aka INVALID_PARAMETER
Programming
Software Development
11 Years Ago
by Abhineet.Ayan
Thanks for trying. That if-else condition is My Bad. And again, RegOpenKeyEx is returning the INVALID_PARAMETER ERROR. My first problem is atleast opening the key.
Search
Search
Forum Categories
Hardware/Software
Programming
Digital Media
Community Center
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Meet People
Forums
Top Members
Community Functions
DaniWeb Premium
Newsletter Archive
Markdown Syntax
Community Rules
Developer APIs
Connect API
Forum API Docs
Tools
SEO Backlink Checker
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2024 DaniWeb® LLC