ok...now i think that this is very hard (at least for me :0)
i built an app that stores user name and passwords in the registery.
now i manged to get the password value and compare it to an input that the user type.
the problem is to get the user names and compare them to the input of the user.
now how can i compare a table to the input fieldCode:table_reguname = Registry.GetValueNames(HKEY_LOCAL_MACHINE, "Software\\mainapp\\Users") name = Table.Count(table_reguname) table_unamevar = Table.Concat(table_reguname, "::", 1, name)
i tryed with repeat until loop :
loginl is the username input. mybe it looks stupid to those of you that is really good in this but for me it looks normal.Code:table_reguname = Registry.GetValueNames(HKEY_LOCAL_MACHINE, "Software\\mainapp\\Users") name = Table.Count(table_reguname) numLoopCount = 0; table_unamevar = Table.Concat(table_reguname, "::", 1, name) Debug.ShowWindow(true); repeat namefil = Table.Remove(table_unamevar, 1) Debug.Print("Removed Item ="..namefil); numLoopCount = numLoopCount + 1; until (numLoopCount == 20) or (unamevar == loginl);
so...is there a simple and working way to search in the values of :
and compare them to the loginl (user name) input field ?Code:table_reguname = Registry.GetValueNames(HKEY_LOCAL_MACHINE, "Software\\mainapp\\Users")

: