Quote Originally Posted by jmcilhinney View Post
If you have a TextChanged event handler that loads the Text of the RTB as the DocumentText of the WB then what do you need the second line of your original code for at all? All you need to do is set the Text of the RTB and the TextChanged event will be raised. The code already in the event handler will take care of the rest.
The thing is that the other function enables the user to open a project, the script looks for an existing index.html page
and then loads them automaticaly in the RTB and the WBrowser.

But I found a way around. I created a boolean var and set it to false. then added a btn to enable the textChanged event which sets the var to true.
The user now has to enable the the Textchange, it's not exactly what I wanted but should suffice for now.
Thanks,
Mike