Ham
05-22-2006, 10:39 AM
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:
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)
And now i want to let it read form a domain.
Thanks in advance:yes
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:
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)
And now i want to let it read form a domain.
Thanks in advance:yes