I am storing resumes in SQL2005 so that I can make use of full text search. The resumes (word and txt docs) are stored as images. I would like to be able to highlight the keywords that are found in the resumes when the full text search is returned. I have managed to do this by returning the resume, putting the content into a byte array and then putting the content of the byte array into a string with enc.GetString(M yByteArray). I can then use regular expressions on the string to highlight the keywords from the search and display the string on my .aspx page. The problem is that I can't strip out all of the formatting codes that come with MS Word and the result on the screen looks pretty bad.
What I should be able to do is take the byte array, convert it to html (maybe with microsoft.offic e.interop.word) and then use regular expressions to highlight the keywords. Can anybody help me with this - I have been struggling for about a week on it. I am using VS2005/VB.Net/ASP.Net 2.0
What I should be able to do is take the byte array, convert it to html (maybe with microsoft.offic e.interop.word) and then use regular expressions to highlight the keywords. Can anybody help me with this - I have been struggling for about a week on it. I am using VS2005/VB.Net/ASP.Net 2.0