Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. Amulet

    deletekey function keeps running

    hi there...namaste. i've solved it out now...my path was wrong, my pointer was wrong too... thanx for your time :) take care. Regards, Amulet
  2. Amulet

    deletekey function keeps running

    hi..i'm a newbie. i used RegDeleteKey to delete a data(from the registry) selected in a listbox. the problem is the delete function keeps running till enumkey function fails. how do i correct this? pleaseee help.. sorry for bad english.
  3. Amulet

    problem writing into registry

    aww.. ok .. what a bummer ... but u've been a great help really :) ...thanxx!! . i'll hope someone would look through my question and sugggest a better solution or correct my errors. Take care.
  4. Amulet

    problem writing into registry

    hi, you're right, the string that i want to input is 00000000, it appears as 00 00 00 00 in the registry. i tried your suggestions and you're right again!! thank you so much for pointing out that error. i've been working on it for almost two weeks now but still couldnt make it work.. thank...
  5. Amulet

    problem writing into registry

    how do i print out a list of strings (retrieve from the registry ) into a list box? appreciate if u could help..thx.
  6. Amulet

    problem writing into registry

    hi.. here's the code. BYTE bHexa[MAXIMUM_ATTR_STRING_LENGTH]; DWORD dwHexLength=0; RegCreateKeyE....); //create key is succesful //write value into registry StrToHelpBarCode, bHexa, &dwHexLength); RegSetValueEx (hReg, "BAR", 0, REG_BINARY, bHexa, dwHexLength)...
  7. Amulet

    problem writing into registry

    1) i'm trying to write into the registry, a set of numbers like this : 00 00 00 00 00 00 00 00 the key was succesfully created, but the numbers appear in the registry as cc cc cc cc cc cc cc cc . why ? please help thank you. 2) i'm trying to retrieve data from the registry and list them out...
  8. Amulet

    how to delete a list of files from the registry by selection

    hi experts, i have a list of products listed on the listbox. when the user select a product and then the button Remove, it will remove the selected product from the registry. this is my code: ********************************************************** #define lpRegKey...
  9. Amulet

    how to print out value into the edit box

    hi there ... here it is. i realized that some barcodes are longer(10bytes) like 00 00 00 00 00 00 00 00 00 00 but some are shorter(8bytes) like 00 00 00 00 00 00 00 00 and there rest of the two bytes appeared to be cc cc in the edit box. how do i terminate the shorter strings or each string...
  10. Amulet

    how to print out value into the edit box

    hi there... i already had the solution for the supplier's name, but unfortunately the numbers(like barcode) are read wrongly(based on the first question). magic numbers/alphabets appears(example: 00 00 00 00 00 00 00 00 cc cc ). some barcodes are correct, but some barcodes appears with the cc or...
  11. Amulet

    how to print out value into the edit box

    dear branyesz, what if i need to display different strings on the edit box? i have listed 13 products on the listbox, when i click on the first product(in the listbox), the product's supplier's name will be displayed on the edit box beside it, and the same thing goes when i click on the second...
  12. Amulet

    how to link the ListBox to the files in the Registry

    Thank you so much Olaf !!! :D
  13. Amulet

    how to print out value into the edit box

    dear branyesz, thanx a lot it's working now!! :D
  14. Amulet

    how to print out value into the edit box

    hi I'm really new with programming. I created this program to retrieve a value from a registry by opening a key, and the display that value into the edit box. The problem is the value(string) is too long (00 00 00 00 00 00 00 00 00 00 ). here's the code: ********open key********* #define...
  15. Amulet

    how to print out value into the edit box

    hi ... i have this value of this length stored in the REG_BINARY in the registry ... it is this long : 00 00 00 00 00 00 00 00 00 00 . i cannot display the whole value into the edit box because it is too long, please give suggestions on how to display the complete value into the edit box...
  16. Amulet

    how to link the ListBox to the files in the Registry

    sorry, this is the complete enquiry: pls reply Dear Olaf, I indexed each element listed. say when u click on an element in the list box, then you click on the button select, it will display a message box indicating the index of that selected element. void CRegistryCardsDlg::OnButtonSelect()...
  17. Amulet

    how to link the ListBox to the files in the Registry

    hi, pls help how do i make the index number call the create key/check for existing key function to retrieve the value from the register
  18. Amulet

    how to link the ListBox to the files in the Registry

    hi there... i am new with programming and now i have to use MFC to create a program for my new job.I have a program that list out the products of the company in the listbox. My task is, everytime i doubleclick on an element in the list, another window listing out the properties of the...

Part and Inventory Search

Back
Top