Is it possible to scan a text document to a computer and then programmatically search for text within that document? It doesn't seem likely since the scanned document would be an image but I'm hoping one of the gurus on here might have a solution.
i have a test report of our business system, that report is scanned, i want to get data or pick data from this document and then save it to sql server.
How to use pattern replacement in the RTF?. For example you can add a placeholder like {USER_FIRST_NAME} in the RTF document. When the user clicks the download button, your application can take the information from the database and replace every instance of {USER_FIRST_NAME} with the data from the database....
I“m currently programming a web search application in ASP.Net and having problem with full text searching. My requirements are:
1. Save a byte array from SQL server to word document as a temp file in a server side?
2. How to highlight the string I am currently searching in the Word document and return to the user the sentence with the highlighted string (like on Bing or any other search engines)? Is it possible to fullfill this requirement with full-text search integrated in SQL Server 2008?
How i can make the normal search string to sql server full text search parse, because when we are user enyer search text "how to run windows schedule in C#", in database we have article to to this, but data not returning and sometime is say error in key word and etc.
I want a word search i doing the search like this , but it is giving character wherever there is in the string,if i give two character like ok it is searching for a full string where ever Ok is there select * from table1 where textfield like '%word%' this query would match word but also wordabc how can i make it aware of delimitions
I wanted to a window to pop up when the user clicks on an image. In the pop window, i want to display a text box to search and a button to submit the search. Also on the same pop up, i want to use a radiobutton list to give the option of choosing to search by first name or last name.on searching, i want to display a list of employee names matching the search and give a radio button next to each of them to select the record. On selection, the user will click an OK button below the records. On clicking OK, the pop up window should close and the employee id of the employee selected should be visible in the text box next to the image.Does anyone have an idea of how to do this, because i am not too sure that i have explained it properly.
I am trying to generate a pdf document using the following code which i picked up from one of these forums. It had worked fine when I exported a gridview to pdf.
Now I need to export HTML code to pdf. Can someone suggest how to proceed, possibly using the gridview exporting code below? Any other approach is also welcome.
Code:
Response.ContentType = "application/pdf"; filename = "DocumentName.pdf"; Response.AddHeader("content-disposition", "attachment;filename=" + filename); Response.Cache.SetCacheability(HttpCacheability.NoCache); StringWriter sw = new StringWriter(); HtmlTextWriter hw = new HtmlTextWriter(sw); gridView1.RenderControl(hw); StringReader sr = new StringReader(sw.ToString()); Document pdfDoc = new Document(PageSize.B2, 10f, 10f, 10f, 0f); HTMLWorker htmlparser = new HTMLWorker(pdfDoc); PdfWriter.GetInstance(pdfDoc, Response.OutputStream); string sFinanceReportpath = ConfigurationManager.AppSettings["UploadFinanceReportPath"].ToString(); PdfWriter writer = PdfWriter.GetInstance(pdfDoc, new FileStream(sFinanceReportpath + filename, FileMode.Create)); pdfDoc.Open(); htmlparser.Parse(sr); pdfDoc.Close(); //Response.Write(pdfDoc); //Response.End();
Is there a reliable way to extract text from PDF? The first thought that comes to mind is that PDF may have multiple columns and the extraction mechanism needs to know the logical structure somehow. I understand that some PDF docs are "tagged" but I'd need to support pretty much any PDF document.
In my application,i want to check a condition whether the 'ENTER' key is pressed or not.i want to read data from a text file and insert this data to my database.I have written my code in a button-click event.In the text file, every field is separated by a comma so that each field can be identified.After one record,'ENTER' key is pressed and next record is written in next line.so i want to insert each row in the database until the next line.i suppose i can check this with the ASCII code of "Enter" key.
How can I replace a string/word in a Word Document via ASP.NET? I just need to replace a couple words in the document, so I would like to stay AWAY from 3rd party plugins & interop. I would like to do this by opening the file and replacing the text.The following attempts were made:I created a StreamReader and Writer to read the file but I think that I am reading and writing in the wrong format. I think that Word Documents are stored in binary?? If word documents are binary, how would I read and write the file in binary?
Dim template As String = Request.MapPath("documentName.doc") If File.Exists(template) Then As New StreamReader(template) [code]...
I am using a GenericHandler to print information out as text/plain in the client browser.
Currently when I run the app, the title-bar says something like http://localhost:3014/myApp/ShowReport?id=123456
I do need to modify the actual url. I just want a user-friendly title in the browser tab that is more descriptive of the report they are looking at. So if the user selects to view report TI591, then TI591 will appear in the browser tab.
I have this code on a page with a querystring of filename. I'm trying to download text file with this text: hiuhidgklhg But using this code to download:
Is there a .Net open source library to convert the word dococument to HTML to display inside the webpage.
I know several tools to convert word docs to html files, but my requirements is to convert the doc(either from the file or just extracted text) to HTML on the fly in the ASP.Net application.
I found the converting-a-word-document-into-usable-html-in-php PHP library do the same thing, is there any similar tool in .net?
On Wikipedia you can edit a document and you can see what the different versions of the document looked like: http://en.wikipedia.org/w/index.php?title=ASP.NET&action=historysubmit&diff=342825222&oldid=337869406 Is there something free or some code samples out anywhere that will quickly let me create similar functionality with ASP.NET?
I have Resume .doc or .docx ,Here My requirement is Convert Word files to String (Text) Formate(String []). Without using microsoft.office.interop because s not working in Servers?
We are going to start accepting resumes online but I need to know if the uploaded files will be virus scanned before I park them into the database. I thought this would be a server thing but the server admin and the security guy both said they didn't know. We already have a firewall and antivirus software, I just want to know how things work with native ASP.Net controls and not a product to try.