Generally, you should try to enclose attribute values in quotes. Is the image going to be hard coded on this line? If so you are performing an unnecessary concatenation.
Response.Write("<a href=""javascript
:changeImage('C:\matilda01.jpg')" ">MyImage</a>")
Note the two double quotes. That escapes the " character in
VB.Net.
-Peter