Read The Content Of Db[ms-sql] Field N Save It As A File
is it possible to read the content of a db[ms sql] field and save the content as a file[e.g: .bmp]
View Repliesis it possible to read the content of a db[ms sql] field and save the content as a file[e.g: .bmp]
View Repliesthere are few sites i have seen which give their registered users option to use their address book from yahoo or hotmail etc.i am wondering how they do that? how this can be done .
View Replies View RelatedHow can use ASP to read in the ms-word document files the content, then copy
the content to access?
I attempt ("word.application") have opened with CreateObject to word
document only. Can I use "Find" function to search ms-word content in ASP?
I have an Access 2000 db with a memo field.Into the memo field I put text with bold attributes, URL etc etc
What I need to to is converting the rich text contained into the memo
field in plain text.That's because I truncate the string text but if, when I truncate it
there's a rich tag the code following the truncated string is corrupted.Don't know if it's clear enough.
Just to summarize:
1) memo field cointaining rich text
2) I need to transform it in plain text
From my system, it allow product has multi-category, so I need to save
all category names which one product belong to into one field on a
database,
and record saved like " nameA|nameB|nameC " - seperate by "|".
question 1:
the second time when i update the record for same product name, how to
have a record
like "nameA|nameB"
After multi-category name saved, then, i would like to generate a
navigate name with the link like
home > nameB > name of product
question2:
so how can i retrieved only one name from category field.
I want to save db records of dates in an array something like the below(I know it's wrong, i'm just trying to describe what I want)... Code:
View Replies View RelatedTrying to update 2 fields. my database is read only..
Microsoft JET Database Engine error '80040e09'
Cannot update. Database or object is read-only.
/sendd.asp, line 16
this is line 16: rsAddComments.AddNew
is this something to do with my server directory permissions?
code .....
I created a web page from Excel2000, using "Save as web page..."...Publish
function. then, I moved htm file to my IIS web server. Then I added a form control, and submit button.
How can get the data on the excel file using ASP from server side?
For example, the value of Cell(1,2), Cell(2,3)....
I have an asp page, which displays graphical images.I am using Flipper graph in my application.
There is a link in the asp page "Click to view Image file",On clicking on this link,The graphical image need to be stored(Preferably in the server machine) and has to be opened in a new browser window.
To explain in detail. On clicking of that link"Click to view Image file" a function is called which does the following
1)Save the image file(.gif file) on the server machine
Graph.ImagetoGif("Location to be saved",100,200);
2) Opens the image on a new browser window.
window.open('from location from where the image is to be retreived',100,some more properties) So i need the image file to be saved in the server and retreived from the server.
i'm converting an image file to hexa..then the hexa is saved to a text file..
can any one help me how to read the content text of a text file?...
im doing it this way because i don't want to save hexa in my database, because it makes the database slower to open up.
I have code that loops through a directory reading files..
now the problem is that files are constantly being uploaded and I only want the file system object to read those that are finished being uploaded.
How can I check the properties of the file to see if it's in middle of being written before i read the file?
how to make a box come out and let the user select which directory the user want to save the file to?
View Replies View RelatedI'm trying to do this:
Set fso = CreateObject("Scripting.FileSystemObject")
Set file = fso.CreateTextFile("C:Program FilesTestUploads
es.xml", true)
file.WriteLine(res.xml)
file.Close()
but in IE I only can see progress (in status) bar which never ends and never save anything to the disk. Why?
I have an ASP page where an applicant would keyin his details. Nothing but his resume on line. My problem is that we have a large text wherein the candidate will paste his entire resume for reference. Once he submits it, while viewing if we copy and paste the text to word, the alignment is not there at all.
Could anyone suggest some option to attach the resume and store it in the database and then downloading the resume as it is. Could anyone help me out on this as soon as possible.
i am building some web page with template engine and i run on one problem: i want to import a content of some file and then use it in asp script so the solutions are this:
1: Create file system object and use ReadAll to read the content but there is a problem because it dosent render the importet file i get just the asp code
2: Create XML object and load the file into the xml but here is another problem this proccess takes quite a lot of time so it will be very slow for the web site especially that i want to import more the one file...
3: Create file system object and user ReadAll to read the content and then use eval(reasponseString) to execute this code... but i dont belive to much in this solution i dont know why but it seems to me it's not right.....
How to bring the file content into Textarea box
View Replies View RelatedCan someone please (i dont even know where to start on this as i am completely incapable of file or image functions at the moment) help me do this:
i want to write a script that will copy an image from an internet page, then save it in a folder with the speficied filename. The url link is like this :
http://ipaddressort/BufferingImage?ImageAdr=123456.
The image is captured by the webcam, of course I can view it in the browser by typing the url, but I want to save it without any popup window or right click, I want to do it in the script.
How the heck would I go about saving an object to file? Put would be perfect, and can basically save everything except objects - how do I save an object if I can't use put?
View Replies View RelatedIs it possible for asp/scripts to create and save it in an image format(gif, jpg)? Say a script that creates an arrow picture.
View Replies View RelatedI want to loop through a recordset and save each records contents as text files and then zip all the text files and promt user to download the zip --- can this be done?? Does anyone have any code?
View Replies View RelatedIs it possible to write asp file which create some text file and then save
in local drive automatically without human interaction?
possible or not auto save file as .html in client pc when this page onload...
View Replies View RelatedI am creating csv file by doing following. So when asp page get load this code run and it create csv file and store in specified location.
How can i open this store file in same window after it get created. I have a name and location of file "whichfn" how can i open into excel format. Code:
After a user make the search, it returns 100 rows of record on the display page. I want to give an option for the user to save the records as Excel spreadsheet. Like a small icon on the corner, it prompts to save if click.Can anyone teach me how to do it? or have a simple tutorial or code that i can see?
View Replies View Relatedi want to write an application in ASP,in this i want to generate an excel file,in which all records will save in that excel file as per i ve given the query after saving records in excel file ,immediately i should get save as dialog box so that i will save that file on my local drive.i don't want to save that file on web, whenever file gets created & records saved,it will show me save as dialog box.
View Replies View Relatedi have a very simple online store/shop which is still in development, once payment has been accepted the contents of the shopping cart is written to a database what i want to do is also write this info to a text or html file so i can then send it via email using cdosys i have all ready tried to do this using .creatmhtmlbody() but this will not work due to the way i am using session variables.
the main program i am using is Dreamweaver, i am using access as the database this is all running/testing on a windows server 2003 the code is in JScript (before you all start shouting at me i know i should have used VB script and SQL but too late for me now) but either way i am just asking for roughly how to do this, even if it can be done.
the client uses its machine and browse the path D:filesabc.xls . now if we want to upload the file, server find that path on its own machine and cant find that file. how i can overcome this problem. i m using FileSystemObject for copying file. i also try to save the file using stream but no success. same problem.
View Replies View RelatedI have a small search engine that searches for strings, anyways I want to save each search query that users are searching for in a text file (".txt"). I tried this one as an example: Code:
<%
dim fs, f
set fs=Server.CreateObject("Scripting.FileSystemObject")
set f=fs.CreateTextFile("c: est.txt",true)
f.WriteLine("Hello World!")
f.Close
set f=nothing
set fs=nothing
%>
But when I ran it, It gave me an error "Permission denid".. so whats the problem with it.
I wrote a code that allow to open a Word document, and save it. Before it worked perfectly... but after changing the Server, it doesn't work anymore! Code:
View Replies View RelatedIs there any way to save the ASP file before it's parsed? I want to take a look at some example ASP files.
View Replies View RelatedI am trying to create a search engine to allow to do a keyword search on a file content.
The files are in Word, TXT, and PDF.How can I implement this?
I have tried a lot, every time my attempts end up with restarting my computer to have the IIS running again.
View Replies View RelatedI am using certain text attachments in my ASP project.I am storing in seperate folder and making use of this in my project. i just want to know, whether i can save this entire content of this file as a particular field in a database table. how.Whether it can be convert as a datastream and then stored.
View Replies View Related