Thank you for your time and great effort. it does work except that it only opens text files. e.g. if I save the htm file as a text file it will open but as an htm or html file it doesnt open.
when i hit the blank or cancel it will open an index file (web index) saved as a text file and I have also saved an html file as a text file and it will open that. but does not open htm or html files.
not sure if this is any help but maybe you can work something from it.