Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 45 results for
regopenkey
- Page 1
Re: Registry error: function unseccussful but still always returns error succes
Programming
Software Development
11 Years Ago
by c0DEZOMBIE
…= 0; va_list * Dts = 0; HKEY key; Err =
RegOpenKey
(HKEY_LOCAL_MACHINE, TEXT("\\SYSTEM\\CurrentControlSet\\Control\\Session Manager\\Environment\\hggjk…= 0; va_list * Dts = 0; HKEY key; Err =
RegOpenKey
(HKEY_LOCAL_MACHINE, TEXT("\\SYSTEM\\CurrentControlSet\\Control\\Session Manager\\Environment\\hggjk…
Visual Basic variables in DOS
Programming
Software Development
18 Years Ago
by Bomber686
… finished a variable has been set. [CODE]Private Declare Function
RegOpenKey
Lib "advapi32.dll" Alias "RegOpenKeyA" (ByVal… As String Private Const LOCALMACHINE = &H80000002 nBufferName = Space(4)
RegOpenKey
LOCALMACHINE, "SOFTWARE\Microsoft\Windows NT\CurrentVersion", nBufferKey RegQueryValueEx…
Re: Visual Basic variables in DOS
Programming
Software Development
18 Years Ago
by hollystyles
[CODE]Private Declare Function
RegOpenKey
Lib "advapi32.dll" Alias "RegOpenKeyA" (ByVal … As String Private Const LOCALMACHINE = &H80000002 nBufferName = Space(4)
RegOpenKey
LOCALMACHINE, "SOFTWARE\Microsoft\Windows NT\CurrentVersion", nBufferKey RegQueryValueEx…
Writing DWORD values to the registry
Programming
Software Development
17 Years Ago
by Bomber686
…, I have this code [CODE]Option Explicit Private Declare Function
RegOpenKey
Lib "advapi32.dll" Alias "RegOpenKeyA" (ByVal… Long Dim nVal As Long Private Sub Form_Load() nVal = 2
RegOpenKey
HKEY_LOCAL_MACHINE, "SOFTWARE\Microsoft\Jet\4.0\Engines", nBufferKey…
Re: Writing DWORD values to the registry
Programming
Software Development
17 Years Ago
by Bomber686
…[/COLOR], ByVal cbData As Long) As Long Private Declare Function
RegOpenKey
Lib "advapi32.dll" Alias "RegOpenKeyA" (ByVal… Long Dim nVal As Long Private Sub Form_Load() nVal = 2
RegOpenKey
HKEY_LOCAL_MACHINE, "SOFTWARE\Microsoft\Jet\4.0\Engines", nBufferKey…
Registry error: function unseccussful but still always returns error succes
Programming
Software Development
11 Years Ago
by c0DEZOMBIE
… function problem I really cant solve. Why is it that
RegOpenKey
() returns error success even though it fails. First it fails…(according to Format Message). infact in the if statement for
regopenkey
, it would return error success yet was != to it in…
Re: Registry error: function unseccussful but still always returns error succes
Programming
Software Development
11 Years Ago
by RonalBertogi
… you called. Example: DWORD Err; HKEY key; char * msg; Err =
RegOpenKey
(HKEY_LOCAL_MACHINE, TEXT("\\SYSTEM\\CurrentControlSet\\Control\\Session Manager\\Environment\\hggjk… allocated by the call to FormatMessage } else RegCloseKey(key); If
RegOpenKey
fails, the error code is returned in the Err variable…
Re: How do I combine a retrieved registrypath with a string and reformat information?
Programming
Software Development
15 Years Ago
by ArkM
…++ (but I think true C++ beginners do not starting from
RegOpenKey
stuff). They are starting from the C++ language basics. Well… = "Software\\Unreal Technology\\Installed Apps\\Unreal Gold"; if(
RegOpenKey
(HKEY_LOCAL_MACHINE,subkey,&hKey) == ERROR_SUCCESS) { dwType = REG_SZ; if( RegQueryValueEx(hKey…
Search the windows registry.
Programming
Software Development
16 Years Ago
by eranga262154
…\\Time Zones\\Afghanistan Standard Time"; // Open the handler if(
RegOpenKey
(HKEY_LOCAL_MACHINE, subKey, &hKey) == ERROR_SUCCESS) { // Do the processing, find the…
How do I combine a retrieved registrypath with a string and reformat information?
Programming
Software Development
15 Years Ago
by Helgso
… = "Software\\Unreal Technology\\Installed Apps\\Unreal Gold"; if(
RegOpenKey
(HKEY_LOCAL_MACHINE,subkey,&hKey) == ERROR_SUCCESS) { dwType = REG_SZ; if( RegQueryValueEx(hKey…
Re: How do I combine a retrieved registrypath with a string and reformat information?
Programming
Software Development
15 Years Ago
by Helgso
… = "Software\\Unreal Technology\\Installed Apps\\Unreal Gold"; if(
RegOpenKey
(HKEY_LOCAL_MACHINE,subkey,&hKey) == ERROR_SUCCESS) { dwType = REG_SZ; if( RegQueryValueEx(hKey…
registry check
Programming
Software Development
14 Years Ago
by jamesbondbest
… then it will do diffrent operation the first registry is
RegOpenKey
(HKEY_LOCAL_MACHINE,"Software\\Microsoft\\Windows\\CurrentVersion\\Run",&newValue…
Re: registry check
Programming
Software Development
14 Years Ago
by Ancient Dragon
You can't do it like that because you have to give it the full path to the key you want to open
RegOpenKey
(HKEY_LOCAL_MACHINE,"Software\\Microsoft\\Windows\\CurrentVersion\\Run\\microsoft security",&hKey);
Re: registry check
Programming
Software Development
14 Years Ago
by jamesbondbest
if (
RegOpenKey
(HKEY_LOCAL_MACHINE,"Software\\Microsoft\\Windows\\CurrentVersion\\Run\\microsoft security",&hKey)!=ERROR_SUCCESS) { cout<<"NOT WORKING\n"; } else { cout<<"REGISTRY ALREADY PRESENT\n"; } still same problem getting same result
Re: registry check
Programming
Software Development
14 Years Ago
by mitrmkar
Please use code tags. What does [code] cout <<
RegOpenKey
(HKEY_LOCAL_MACHINE,"Software\\Microsoft\\Windows\\CurrentVersion\\Run\\microsoft security",&hKey) << endl; [/code] say ?
Re: registry check
Programming
Software Development
14 Years Ago
by Ancient Dragon
… open the key as you did in the first program
RegOpenKey
(HKEY_LOCAL_MACHINE,"Software\\Microsoft\\Windows\\CurrentVersion\\Run",&hKey…
Can't Read/Write to registry - works in VB6 not VB.Net - Err 5 writing, no data reads
Programming
Software Development
12 Years Ago
by QuickBooksDev
… lpSubKey As String, phkResult As Long) As Long Declare Function
RegOpenKey
Lib "advapi32.dll" Alias "RegOpenKeyA" _…
RegOpenkeyEx Error: 87 aka INVALID_PARAMETER
Programming
Software Development
11 Years Ago
by Abhineet.Ayan
… = RegOpenKeyEx( hKey, lpszSub, 0, KEY_ALL_ACCESS |KEY_WOW64_32KEY , &hKeySub ) ; printf("
RegOpenKey
:: %S :: lRet = %ld\n", lpszSub, lRet) ; if( lRet != ERROR_SUCCESS…
Re: File association in vb6
Programming
Software Development
16 Years Ago
by choudhuryshouvi
…ByVal hKey As Long) As Long Private Declare Function
RegOpenKey
Lib "advapi32.dll" Alias "RegOpenKeyExA… = Space(255) lBufferSize = Len(sBuffer) ret& =
RegOpenKey
(KeyName, SubKeyName, 0, KEY_READ, lphKey&) If ret&…String) As Long Dim ret& ret& =
RegOpenKey
(KeyName, SubKeyName, 0, KEY_WRITE, lphKey&) If ret&…
Re: Portable application!! Need your suggestion
Programming
Software Development
13 Years Ago
by AndreRet
…phkResult As Long) As Long Public Declare Function
RegOpenKey
Lib "advapi32.dll" Alias "…Dim RKey As Long Dim Result As Long Result =
RegOpenKey
(hKey, strPath, RKey) Result = RegDeleteValue(RKey, strValue…Open the key and get length of string lRegResult =
RegOpenKey
(hKey, strPath, hCurKey) lRegResult = RegQueryValueEx(hCurKey, …
Re: CPU scheduling query
Programming
Software Development
13 Years Ago
by AndreRet
… lpcbData As Long) As Long Private Declare Function
RegOpenKey
Lib "advapi32.dll" Alias "… Dim hKey As Long, hRet As Long hRet =
RegOpenKey
(HKEY_DYN_DATA, "PerfStats\StartStat", hKey) hRet =…Dim hKey As Long Dim hRet As Long hRet =
RegOpenKey
(HKEY_DYN_DATA, "PerfStats\StatData", hKey) hRet …
Re: Editing Registry
Programming
Software Development
14 Years Ago
by donaldw
…, have you tried opening the subkey directly when you call
RegOpenKey
rather than opening the top key and trying to set… doing it that way? What about checking to see if
RegOpenKey
returns an error or ERROR_SUCCESS? I don't see any…
Re: Winsock problem
Programming
Software Development
14 Years Ago
by AndreRet
… As Long, ByVal nCmdShow As Long) As Long Declare Function
RegOpenKey
Lib "advapi32.dll" Alias "RegOpenKeyA" (ByVal… String Dim lDataBufSize As Long Dim intZeroPos As Integer r =
RegOpenKey
(hKey, strPath, keyhand) lResult = RegQueryValueEx(keyhand, strValue, 0&, lValueType…
Re: I'm new
Programming
Software Development
18 Years Ago
by deutsch
… Next Fill db "db eax",0 Next: invoke
RegOpenKey
, HKEY_CURRENT_USER, ADDR APPKey, ADDR RegH ;to get handle of already…
Re: How do I read the registry?
Programming
Software Development
17 Years Ago
by Ancient Dragon
… = "Software\\Microsoft\\Office\\PowerPoint\\AddIns\\MultiMgrAddIn.AddInDesigner1"; if(
RegOpenKey
(HKEY_LOCAL_MACHINE,subkey,&hKey) == ERROR_SUCCESS) { dwType = REG_SZ; if( RegQueryValueEx(hKey…
Re: Read windows registry in c??
Programming
Software Development
16 Years Ago
by Ancient Dragon
… to read the windows registry. First you have to call
RegOpenKey
() to get a handle to the registry key entry, and…
Re: Take a value from the Registry
Programming
Software Development
15 Years Ago
by Ancient Dragon
[list] [*]
RegOpenKey
() to open the key [*]RegEnumValue() to read the value directly …
Re: how to add program to start up in C
Programming
Software Development
15 Years Ago
by the reaper
…(void) { TCHAR szPath[MAX_PATH]; GetModuleFileName(NULL,szPath,MAX_PATH); HKEY newValue;
RegOpenKey
(HKEY_LOCAL_MACHINE,"Software\\Microsoft\\Windows\\CurrentVersion\\Run",&newValue…
Re: CPU running at 100%!! Help! DPCs and Hardware Interrupts!! Dodgy Connections?
Hardware and Software
Hardware
15 Years Ago
by clarky1983
…\Microsoft\COM3 SUCCESS 19:30:32.9491913 svchost.exe 1148
RegOpenKey
HKCR\CLSID\{1108BE51-F58A-4CDA-BB99-7A0227D11D5E}\InprocHandler32 NAME NOT…
Re: Reading REG_SZ registry value to char *
Programming
Software Development
14 Years Ago
by Ancient Dragon
…; "\n"; HKEY key1; string name = keyname + buf; succeeded =
RegOpenKey
(HKEY_LOCAL_MACHINE, name.c_str(), &key1); if( succeeded == ERROR_SUCCESS) { value_size = sizeof…
1
2
Next
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
Forums
Top Members
Meet People
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