Hello all
How can i Read a ini file from the web to a listbox?
the code i use to read a ini from the source file:
And now i want to let it read form a domain.PHP Code:ListBox.SetEnabled("ListBox1", true);
ListBox.DeleteItem("ListBox1", -1);
result = INIFile.GetSectionNames(_SourceFolder .."\\AutoPlay\\Docs\\Menu List.ini");
for i,v in result do
inivalue = INIFile.GetValue("AutoPlay\\Docs\\Menu List.ini", "", v);
ListBox.AddItem("ListBox1", v, inivalue);
end
-- Sets The Focus to ListBox1
Page.SetFocus("ListBox1");
-- Sets Focus to First Item in list box
ListBox.SelectItem("ListBox1", 1)
Thanks in advance![]()

