Accesing Office Document Properties With ASP
Does anyone know of a way to access the document properties of an office
document using ASP? I need to be able to read things like the Title,
Author, and Comments fields and pull that information into a web page.
View Replies
ADVERTISEMENT
I have been searching the boards trying to find an answer to this
question and no luck. I am using a query similar to this:
Select count(col1) from table1
I was having a hard time accessing the count information. After
reading for a while the following SQL examples were given to correct
this issue. Code:
View Replies
View Related
i want to asign a value to the Text property in a textbox inside a
FormView when i am adding a new record ¿how can i do that? i want to use a
ComboBox to select a value and this value goes to the textbox ¿any
suggestions?
View Replies
View Related
I want access to excel macros from aspnet proyect. But it not run because in Excel Security options don't have checked "Trust access to visual basic project" for aspnet user.
Can I login in my PC with aspnet user for open excel and active this options? Do you know another way for get it? I need test if existe a macro with a specific name.
View Replies
View Related
How can I access the ID of the Submit button in the following example. (This form POST to itself). I use these 2 submit buttons to navigate from page to page in a recordset.
Response.Write "<FORM NAME=FrmPickProd METHOD=POST ACTION=PickProd.asp>"
Response.Write "<INPUT ID=0 TYPE=submit NAME=NextPage VALUE=" &
sPreceding & ">"
Response.Write "<INPUT ID=1 TYPE=submit NAME=NextPage VALUE=" &
sFollowing & ">"
View Replies
View Related
I want to read the MS Word and XLS documents with ASP code for searching. Is
there are any solution for me or any reference?
View Replies
View Related
Using OWC version 2000 I am trying to input a recordset
into an OWC Spreadsheet. I can pass the variables and
create the SQL fine in the ASP page, but I need to pass
the SQL to a vbscript function outside of the <% asp code %[color=blue]
>. Is there any way to call the function? ASP doens't seem[/color]
to recognize the function.
View Replies
View Related
Im creating an Excel file using ASP
Versions : Office 97
The formattting is not working properly in Excel 97, but the same works fine
in Office XP & 2000
Is there any additional code has to be added in my code to get a formatted
output in Excel 97 version?
View Replies
View Related
Does anyone now were I can get a script for an out of office page for an intranet. A very basic one would do, something that displays when they leave and other basic details,for a company of about 40. All staff would be using it.
View Replies
View Related
I am wondering if it is possible to get more information on files then just
name, date, size etc..
Specific, I want to know what dimension (x and y pixels) an images has.
Can this be done by ASP. Do I need a component? Are there free components
out there?
View Replies
View Related
Is there a way in asp to retrieve part of the URL and use it
say the url was
http://localhost/site/craig
is there anyway of retrieving the word craig so to use it in the page
This is because i could have other addresses that are for example
http://localhost/site/Jon
where i need to retrieve the word jon
View Replies
View Related
How to retrieve "Last modified" & "FileName" from all files in a specific folder (called MyDocs) and display on the ASP page?
eg. (in MyDocs folder)
- MikesWork.doc
- MyResume.xls
- HouseExpenses.xls
Situation
Let's assume that i just modified MyResume.xls file and save it today(10/30/2003) on my computer, then i upload it into the internet. On my asp page, i want to show all files Filename (Last Modified) in MyDocs folder.
eg.
Your Documents
1. MikesWork.doc (last modified 10/24/2003)
2. MyResume.xls (last modified 10/30/2003)
3. HouseExpenses.xls (last modified 9/15/2003)
I know it has to do with fso or something close to it... but totally have no idea (zero) of its logic or how it works. Please help me by giving me with full example.
View Replies
View Related
Can anyone help with the following:
I wrote an ASP script with allows me to select an MS Access database
from a folder, and it shows the tables in this database. If I click a
table, the fields are displayed. And then I have a button to create a
HTML form to suit this table.
My problem is, fields that are essential.I would like to mark
appropriate form fields as 'essential' . Is there any way I can get the
attributes of a field, so I know if it will accept null values?
View Replies
View Related
Is there any way to list all the properties that an object has? For example if I do a CDO.Message object and call it NewMail. Is there anyway I can find the properties of that the object supports. IE NewMail.From, NewMail.To etc
View Replies
View Related
I want to ask are there any other ways to get the file properties such as file name, path, date created... other than using 1. FileSystemObject or 2. file upload with encType="multipart/form-data".
For FileSystemObject, I can get it work in my local computer but not on the server(coz the server are not mapped to the network drive).
And for case 2, although I can use HTTP_CONTENT_TYPE to retrieve form values but I think I cannot use request.form("aa").count or request.form("aa").item(i) to get select option values.
View Replies
View Related
I ve probably a very simple question but i really can't find an answer. I d like to know in an ASP page what is the URL of the page, the full URL invoked by the client to get the page. I looked in the server object but i did not find.
View Replies
View Related
I am in need of knowledge about how to control the properties. By properties, I mean font, hyperlink, and color information. I'd like the spreadsheet to have the same data as the HTML page it's getting the data from, but in a different format.
I have been searching in several places, including the Excel Help files, but cannot find any info on how to do this. I'm not asking anyone to tell me how to do this; just looking for where to find out how to do this.
View Replies
View Related
According to Access my ADO connection has a value of 16 for the Transaction DDL property. Does anyone know what this equates to? I've found this page -
http://msdn.microsoft.com/library/default.asp?
url=/library/en-us/adosql/adoprg04_83jt.asp
But it doesn't tell me which constant this relates too, and I haven't been able to find an answer at Google either.
View Replies
View Related
I have to allow users to download files after checking users validity and I
cannot give full URL of file to download e.g www.myserver.com/mydoc.doc
I have seen ASP code some where in MSDN where users has to enter URL like
www.myserver.com/mydoc.asp and this will download the doc file.
View Replies
View Related
I'm trying to use Activer Server Pages (ASP) to display a graph based on user's selection criteria. To achieve this, I would like to use Office Web Components (OWC 9 or 10), a Microsoft ActiveX component. My questions are:
* Can you use it with NT operating systems or Must it be in Windows 2000/XP?
* Do anyone has experience in using it? and if yes, Are they easy and reliable to use?
* Are there any other free components out there?
View Replies
View Related
any decent resources for using the Office Chart components? I've had a look around the MSDN but it's not very comprehensive and doesn't actually have any reference guides. Most resources say to refer to the help file that comes with the package but I can't find any versions of this.
View Replies
View Related
some good detailed documentation (with examples) on programing OWC (Spreadsheet, Pivot Table and Chart controls) using ASP 3.0?
View Replies
View Related
I am using OWC to resize images on the fly, it works a treat only issue is poor quality images with lots of artifact due to high compression.
I have searched the web high and low for a list of parameters but I cant find any useful information on the object.
I was hoping someone has used it before and can tell me where I can get the right info on export quality using the .ExportPicture command. Code:
View Replies
View Related
i am getting this error message when i validate my page and it is
Error: formobj has no properties
Source File: /sellgiftnum.asp?
Line: 55
and line 55 is this one
var obj = formobj.elements[fieldRequired[i]];
Can someone tell me whats wrong with it .....
View Replies
View Related
I've uploaded an image to the server and was wondering if there is any possible way to get the dimensions of the image through ASP.
dim iWidth, iHeight, iType
sub ImgDimension(img)
dim myImg, fs
Set fs= CreateObject("Scripting.FileSystemObject")
if not fs.fileExists(img) then exit sub
set myImg = loadpicture(img)
iWidth = round(myImg.width / 26.4583)
iHeight = round(myImg.height / 26.4583)
but I keep getting problems with the loadpicture.
View Replies
View Related
Is it possible to grab the title of the page and echo it somewhere in your asp document? Does ASP have a premade variable to grab this?
View Replies
View Related
How can I retrieve the default value and allowzerolength property of all the fields in my table? I'm using ADO.
View Replies
View Related
Is it possible to set a cell property in Excel from an ASP page. We have numerical data that is taken from a database and then displayed in Excel. I would like ideally all the data to be set at 2 decimal places, is there anyway of setting this from the ASP page?
View Replies
View Related
Is it possible to connect and asp page to the Microsoft Office Thesaurus? I would like to be able to pass a word to it and get back all of the synonyms as either a string, array, or collection.
View Replies
View Related
I have found a Help and Support for How To Use Server-Side Charting to Generate Charts Dynamically in MSDN;
http://support.microsoft.com/default...b;en-us;244049
I have generated Bar, Line and Pie charts using the MSOWC.DLL and its fantastic.
The ONLY problem I have encountered is when generating Pie charts it shows the quntities of each piece inside the Pie chart and its very hard to read. But in Excel it shows outside the Pie chart. So, I want to find out a solution for this.
View Replies
View Related
Are there any asp scripts that I can use to allow people to view my powerpoint, excel, and word files over the internet without having to download then? The must run from the server.
View Replies
View Related
I am facing some problems with generating the word documents usin ASP pages. This is the automated process and it is breaking often Since Microsoft is not providing any support for this issue, I though using WordPerfect 12 for the automated document generation would hel me a lot. Is there any possibility of facing the same problem with wor
perfect too?
View Replies
View Related
How easy is it to access the metadata from office files and PDF's? That is, Author, Title, Keywords, Comments etc...
I want to be able to scan a directory and provide links with descriptions (ie Comments field) for each file within. I can use automation to open and read the office files, but I imagine this would produce too big a load on the webserver. Is there a simple and slick way of doing this?
View Replies
View Related