Extracting Data From A Document
Not a problem with my code, but something I would like to add, (ASP
VBScript) at the moment I have a form where a user uploads their details
including a document (Doc, PDF, TXT, Docx) The document is uploaded to a
folder on the server with the address being stored in the database and I'm
tracking the user id through sessions.
What I would like to do after the upload is redirect to a blank page, where
some script extracts the data from the document and inserts it into another
field on the database associated with the user id, I think this may be called
parsing, but I'm at a complete loss, I don't suppose you guys have any ideas
on this do you.
View Replies
ADVERTISEMENT
in my project, i want a label which shows the current value of all shares in the market whenever the user login to the application.how can i do that.how could i dynamically extract data from the shares website.
View Replies
View Related
Basically I want to be able to take the tempreature, pressure and wind and be able to use them as variables in calculating performance automatically for an aircraft. I've tried using the pull string method but can't work out how to seperate the variables.
View Replies
View Related
I have a website where people can add job vacancies to our database. In the admin section I can delete these vacancies but have trouble with selecting certain dates from the database.
For example if I wanted to delete all the jobs from the database for the 18/12/2003 I would select the date then all the jobs will appear on the screen and I can delete them. But if I select a date such as 06/12/2003 or 11/12/2003 it doesnt display anything from the database when I know there are a couple of hundred in there for those dates.
View Replies
View Related
Is it possible to extract data from SQL server to MS Excel ? Say if I have 2 tables (Membership and Profile) and extract some certain datas from those 2 tables; MemberID, Member Name, Birthday, Interest; could it be possible to extract them automatically everyday at 1 AM without me doing it manually?
Perhaps its possible to do it with Stored Procedure? or some other means?
View Replies
View Related
I am trying to add a feature to our inventory that will pass the current URL to a second site so that I can return to the original site later through a redirect. Basically, it is intended to work like this - you do a search, and are taken to a page where you can view the records.
You click on a record to view it and/or update it, and then you are returned to the original search results. I am having some trouble, and am hoping that someone can help me out.
I am placing the values that I want to keep (original URL, search terms, sort order, page number) into a string, and then using Server.URLEncode to encode it: Code:
View Replies
View Related
Since most todays' applications are Online (ASP using COM apps/server back-end), sometimes client-browsers need to download data into their PC.
Scenario: A client-browser (IE, ONLINE.ASP) is doing transaction online.... say Invoicing via an ASP page, then it disconnected (DSL connection failure). At this stage, the user will have to do "manual" writing of item sold and when the connection returns... the user will use the browser again.
Question: Can I download data from the Server to the client-browser using a simple click of "Submit" button? Say I would like to download only itemBarcode, itemDesc and itemPrice from the client.... so that anytime the DSL connection fails, the user will execute instead OFFINE.ASP that uses client side programs.
Option: Is there any other option that I could do to have an "offline" transaction processing?
View Replies
View Related
We have a variety of work related forms (overtime sheets etc) that people currently download via our intranet.
What I'd like to do is have a page with a drop down box getting staff names and then tick box's as to which documents you want and it will put the employees name and number on the form and print etc ....
The bit I'm a bit a bit lost on is how would I export my employee name and number from a form to a an area on a word document.
I've exported data to an excell spreadsheet before but never a word document.
View Replies
View Related
I'm extracting data from word document (maybe table) and save the data into database using ASP. Do I need to create a template or bookmark for data entry?
View Replies
View Related
I have gotta a page in which a user can upload his profile (saved in word format). Is there any way that this profile can be stored into the database and not in the web directory. I tried using Scripting.Dictionary.
View Replies
View Related
I have an XML file that contains nodes and I'm having no problem extracting the information using ASP. However I can't seem to get the ID number from the deliverrequest node from the example below.
<!DOCTYPE xiamSMS SYSTEM "Message.dtd">
<xiam>
<deliverRequest id="10234690"> ''' Need to retrieve this number using
ASP
<to>test</to>
<from>number</from>
<content type="text">Test 2</content>
</deliverRequest>
</xiam>
View Replies
View Related
Is there an ASP way of extracting the height and width of a swf file so that
I can specify these dims when adding the whole OBJECT code to the web page?
View Replies
View Related
What string function(s) would I use to extract just the filename from an URL?
For example, if I have http://www.yourdomain.com/some_directory/some_file.asp, how do I extract just the "some_file.asp"?
View Replies
View Related
Is it possible to extract the first paragraph in a mysql text field? my code line to display all text:
<%=replace(Recordset.Fields.Item("article").Value, vbcrlf, "<p>")%>
I want to separate the 1st paragraph (article lead) from the others (article), without having one table for 1st paragraph and a second one for the rest of the text.
View Replies
View Related
I need a help in extracting files, thru ASP. Is that possible to extract files from .tar, .gzip and zip files thru ASP.
View Replies
View Related
i want to extract the number 38 from the URL below, using ASP what is the solution?
then store it as a variable.
http://pcol-webtest/default.asp?nc=4098&id=38
View Replies
View Related
is asp code able to do the extraction of text from PDF File without using a third party software?
View Replies
View Related
we have a site, that has a link to a online PC cart that we are registered with. Trouble is, when the user goes to the other site, we obviously no longer have our interface wrapped around the page.
We can do this with an iframe, but it wont vertically stretch the content (a scroll bar appears). Is there any way in ASP, to call a url, and say, insert that url into a <td></td> on our page?
View Replies
View Related
we have a database with a lot of products in it. and for some reason one fo the feilds is set up like "<img src="images/something/image.jpg" />". they should be set up without the html but because of the way they are set up theres no way i can use them outside of the root directory.
I need a way to just pull the first 10 characters off the string. which would be the <img src=" part, and then pull off the last 4 characters " />. so that i am just left with images/something/image.jpg.
I can sort of get the first part to work by using Mid(string,10)
but how can i remove the last 4 characters?
in php the function would do the ending characters if you made it a negative number. but Mid(Mid(string,10),-4) doesnt seem to work.
View Replies
View Related
Is there a way of processing an ASP page and placing the resulting HTML
source code into a TEXTAREA on another page?
I have a page that will be generated dynamically from database content.
However, I want a form on another page to have access to the compiled source
code for use in an electronic newsletter.
Manually I would load the dynamic page, view the source and copy it out. I
would then paste it into my form field on the relevant page.
View Replies
View Related
Is there a way of extracting only part of an entry retrieved from a SQL database. For instance, if I have an article of 4000 characters can I extract only the first line of the article and them put a link to the full article after the extracted text.
It is something I have been trying to master and will help me display my retrieved recordset data better.
View Replies
View Related
I'd like to do the above, ideally in javascript but i'm aware of the security restrictions with accessing the DOM of a file not hosted on the same server - however i'm not looking to manipluate anything on the remote site, or handle any events (such as keylogging!). All i want is to have a piece of text on the remote site dupicated on my own site.
I'm happy to receive the html as a whole and split it up to get what i want, but i'm beginning to think the way forward is doing it server-side with asp.
Anyone know the best way to do this?
OR am i just being silly and there is a way to copy the contents of a remote page into my own page in javascript, split it up and only display what i need.
(btw im quite happy with the splitting up bit, no help needed there - i just need the blasted text in the first place!)
View Replies
View Related
I have a bunch of html stored in a session variable. It's just a long string of html. I want to parse it to extract certain things out of it. I'm assuming I would use the Left, Mid and Right functions. But don't know exactly how to do it. Plus I need to find the information in the session variable too.
View Replies
View Related
I have an access database and am currenlty using classic asp for most of my coding and am trying to extract sentences from the memo field that contain specific strings, in this case "<b>"
The memo fields contain a lot of data so filtering becomes an issue, so i just want to be able to only display the sentences within the memo field i.e. between "." and "." OR beginning of record and "." OR "." and end of record that contain the string "<b>"
View Replies
View Related
How would I read a component of a date value in a field written in the format: "1/20/2006 1:45:37 PM".
For example, say I want to extract only the year component during a record read. "SELECT * where "the year in the submit_date field is '2006'"?
View Replies
View Related
First of all, yes we are still using classic ASP, lol. I have a XSL
document that is reading in info from a XML file. I have to display
serveral server side dates on the page. Is there anyway to use ASP
code inside a XSL document.
I have tried the following.
<![CDATA[ <%=Date()%]]>
This does not work. In the view source the < and get changed to
&ls; and >. Is this possible? Is there any other way to read a
server side date from this xsl page? If not I will have to re design
the hole page.
View Replies
View Related
Is it possible to query the database using an ASP doc, then write the data to an XML document? The XML document is then going to pass the data as variables into a flash mx file, but the issue right now is just how to write to XML from an asp doc
View Replies
View Related
Is it possible to get the current document name (file name only) in ASP? When I load a document, i.e. /a/b/default.asp, I would like to be able to get the name of the document I'm currently loading (default.asp) to do some processing before displaying the contents.
View Replies
View Related
I want to do a Ms Word document in a ASP page. I can do it, With the code lines:
/////
Response.ContentType = "application/msword"
Response.AddHeader "content-disposition", "inline; filename=OrderFax.doc"
////
With these lines all document content show like a Word document.
But i can not change the MARGINS of this Word document.And Default
left/right margins are very bigs.
I try it, change the <body> attributes and with styles, but this don't work,
the margins are always the same.
How can i modify the margins of word document? I should do this with another method?
Can I modify PC client settings to change the defaults margins of word document create througt the web?
View Replies
View Related
I'm currently working on an application that has to open word documents (word forms) and read and write data from/to it. But, unfortunately, the web server hasn't Word installed (my ISP...). Is there any other way to do that?
I'm currently investigating about working with rtf documents, but the syntax is turning me crazy!!! Any idea/dll/other way to do that?
View Replies
View Related
I am writing a little ASP script that reads the URL and generates a navigable breadcrumb trail from it. It is highly dependant on the filename and folders being named appropriately and consistently.
However, what would be prefereable is for the file that you are currently reading to be generated in the breadcrumb base on the document <title> instead of the actual file name.
Is it possible in ASP to read a <title> attribute?
Naturally, the ASP script would be in the <body> of the document and as such the <title> would already have been written to the client.
View Replies
View Related
I am working on an asp page, where I need to set the title to a variable. I have tried
Code:
<% document.title = variableName %>
I even tried
Code:
<% response.write "<title> " & variableName & " </title>" %>
That doesn't work either. I need to set the title to a variable on a dymanic ASP page
View Replies
View Related
I've been looking (unsuccessfully) for a tutorial on creating Word documents from ASP. I know it can be done and have been able to find some references to various aspects of this, but nothing that spells out the process from beginning to end.
What I'm trying to accomplish is being able to generate a paper document using some information that is contained in an Access database. I have a ASP script that will generate the same info on the screen, but nothing that will put it on paper in a clean, professional format.
View Replies
View Related