I used web browser control in my application and in my application there's one treeview, encrypted HTMLs. When i click on a topic in my tree, it calls .exe (say abc.exe) file which is encrypted version of my abc.htm and decrypts immediately and abc.htm file is shown in web browser but real problem comes when i click on an internal link in webbrowser control itself which leads to xyz.htm. what i really want to do is to click on internal link which goes to xyz.htm and automatically detect the link and convert that into xyz.exe which gets decrypted and shown in the control. I've put this event in download complete but when xyz.htm is not found in the directory, can not find server.htm gets executed, though i've done a little bit with this by chasing locationurl which is (res://........) and a lot with the file name at last but if spaces are there, it puts %20 and looks for x%20yz.htm or something.
If you've suggestion how to trap internal link, do reply.
