hi every one
i have 1 listbox with 2 item on it and 1 combobox also with 2 item on it
when i choose 1 item from the listbox and 1 item from a combobox and i press
the button a web site will open
and i am using this code :
can you corect it from me pleasePHP Code:selectedsite = ListBox.GetSelected("site");
selectedservice = ComboBox.GetSelected("service");
address = "";
if (selectedsite == 1) then
if (selectedservice == 1) then
File.OpenURL("http://www.google.co.uk", SW_SHOWNORMAL);
elseif (selectedservice == 2) then
File.OpenURL("http://www.yahoo.co.uk", SW_SHOWNORMAL);
elseif (selectedservice == 3) then
File.OpenURL("http://www.altavista.com", SW_SHOWNORMAL);
elseif (selectedservice == 4) then
File.OpenURL("http://www.yahoo.fr", SW_SHOWNORMAL);
end
end
or the project is attached with this post with no code

Reply With Quote