> i want to show a picture or details in html format
>that doesnt work either. the path is printing in the output not the image
I think you might need to do a little bit of research on what HTML actually is.
1) Without going into the details right here (there's plenty of info and introductory guides on the 'net), HTML is merely a description of how you might want to display something. The actual display is carried out by an application that understands how to interpret and render that description - such as a web browser.
2) jges has shown how to insert an HTML link into your text file - but it is pretty useless as there is no associated text, so no link will appear even if you do display it in a web browser. The HTML tag you actually want is [tt]img[/tt]
3) HTML interpreters are fairly forgiving, so we don't have to re-express the entire outpur in HTML (although we probably should)
So, change your
writer.WriteLine(<a href="C:\Documents and Settings\unikhath\Desktop.sunset.jpeg"></a>)
to
writer.WriteLine(<img src="C:\Documents and Settings\unikhath\Desktop.sunset.jpeg" alt="Text incase" />)
and then load the outoput into a webbrowser ...
BTW - StreamWriter and Threading look rather like VB.NET to me, not VBScript ...