hi there
look to this code
this code is to get startup application list into Listbox1 , but the problem isPHP Code:tbl_reg = Registry.GetValueNames(HKEY_LOCAL_MACHINE, "SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Run");
for j,k in tbl_reg do
ListBox.AddItem("ListBox1", k, "");
end
when i click on the button the list appear again and again each time i click
i would like to correct this code and make the list appear one time not many times
thank you

Reply With Quote