Temporary Vcs File

I need to take some info from a SQL Database into an ASP (VBscript) web page, create a temporary vcs file (Outlook vCalender file) and use the SQL data to create the entrys for the appointment, then email it to someone as an attachment. Getting the SQL values is no problem. How do I go about creating, populating & sending the vcs file? its similiar to a txt file. Its plain ASP not ASp.net and I can't install any components onto the server. It has to be kept local.

View Replies


ADVERTISEMENT

Temporary Txt,csv Files?

I've got a web-based "database admin console" that uses ADOX, etc. to query a database and return the tables, columns, etc to a form that I can then use to build SQL statements to run against that database. It's very "generic" - i.e., everything is dymanically created but pretty handy to have

If you send it a "SELECT" statement, it can print out a table on the screen showing your recordset. No big deal. What I'd also like to include is some way for users to get that output in a comma- or tab-delimited text file that they can use however they like. There are two ways I know of to accomplish thi

1) Create a big string as I step through the recordset - (strOutput = strOutput & "'" & objRS(I) & "," .....) and then slap strOutput into a <textarea>. This is probably not desirable because the user would have to copy all the content in that <textarea> and manually paste it into Notepad or whatever

2) Use the FSO. However, my limited experience with the FSO leads me to believe that I'd have to SAVE the resultant file before I can send it to users. I don't want to do that.

Does anyone have any suggestions about how else I can accomplish this? Or, if FSO is the way to go (which I suspect it is), bear in mind that my only exposure to FSO is in the context of .vbs files....are there any special tricks you need to use for ASP

View Replies View Related

Temporary (volatile) Jet DSN

I keep getting this message onmy webiste. I have had to change from a DSN connection to a dsn less connection but i still can't get the site to work.
Link to the error message

Page

Here i sthe code that relates to the error message

Code:

Set objConn = Server.CreateObject("ADODB.Connection")
objConn.ConnectionString = "Driver={Microsoft Access Driver (*.mdb)};" & _
"DBQ=ftp://SimonJohnstone/htdocs/Tpvsite.mdb"
objConn.open

View Replies View Related

Create A Temporary

Is there a way to create an asp program which counts the number of impressions, clicks, leads and sales of a certain ad and post it somewhere else? I have actually reviewed some ad servers one of which is Adxpress by Valuead. It's a good one but it'll really cost some money.

View Replies View Related

Temporary Tables

I have a script that generates varius entities of data, like this

Name__________Value
nameA_________2
nameB_________18
nameC_________4
nameD_________23

I want to 'response.write' these onto the webpage, but I want them to be ordered by the value (largest first). Can I create a temporary table, put the values into it, then call them back using the an SQL command? If so, how do I create 'temporary tables'?

View Replies View Related

Temporary Internet Files

How I can erase all the files from the cache of an ASP page, at the end of a session?
Is it possible?

View Replies View Related

Display A Temporary Page

i am developing a search engine. its like this. i have an asp from which gets the search string. i display a page with a wait symbol for 2 seconds (meta-equiv-refresh=2) and then transfer the control to the same page which would display the search results.
I think even this forum does this type of display. Now my question is how do i start searching for the entered string and stop displaying the wait page only when the search is finished.

i.e i dnt want a wait page to be displayed simply for two seconds and then show the search page. I want to ""show the wait page after the search is started and then stop displaying it and display the search results only after the result is got""

View Replies View Related

The IIS Generate Many Temporary Shortcuts

I use the ASP to genereate the excel file. We use the Excel.Application to create a excel. But we find many excel shortcut or directory shortcut under the C: or D:
How can we resolve it?

View Replies View Related

Generating Temporary URLS

I have a form on my site that users must fill out before downloading a pdf document, however, i would like the form to send them an email with a temorary URL.

which they can click to download from, and which expires after 'x' days. is this an asp thing? or do i have to move to .net to do this?

View Replies View Related

Delete Temporary Files

Is it possible to delete internet temporary files using ASP code? And maybe specify the extension of the files to delete?

View Replies View Related

Insertion In Temporary Table From Query!

i have written a stored procedure. depending upon different parameters, query is prepared as string and executed through exec() function. it returns a certain number of rows. stored procedure also contains a temporary table. the question is this how can i insert the rows returned by the query in to temporary table?

View Replies View Related

Temporary (volatile) Jet DSN For Process 0x508 Thread 0x634 DBC 0x2181024 Jet

I am using ASP + IIS + MS access, when running the following codes:

set Conn=Server.CREATEOBJECT("ADODB.CONNECTION")
conn.open "DRIVER={Microsoft Access Driver
(*.mdb)}; " & Server.MapPath("db.mdb")

The following erorr is show:

General error Unable to open registry key
'Temporary (volatile) Jet DSN for process 0x508 Thread 0x634 DBC 0x2181024 Jet'.

I have shared the MS knowledge base and try to grant the modify Permissions to IUSR_SERVER on the folder that holding the database, and set the script authority in IIS, the error is still exist. If I create a system DNS for that Access file and modify the second code as ...

conn.Open "AKmobile"

Another error is show:

[Microsoft][ODBC Microsoft Access Driver] The Microsoft Jet database engine cannot open the file '(unknown)'. It is already opened exclusively by another user, or you need permission to view its data.

But there is no problem when conencting with MS SQL Server.

View Replies View Related

General Error Unable To Open Registry Key 'Temporary (volatile) Jet

Why d I get this error?

Microsoft OLE DB Provider for ODBC Drivers error '80004005'

[Microsoft][ODBC Microsoft Access Driver]General error Unable to open registry key 'Temporary (volatile) Jet DSN for process 0x18c8 Thread 0x1478 DBC 0x2f56fa4 Jet'.

/wheelofgod/search/cat/showbook.asp, line 102

View Replies View Related

Unable To Open Registry Key 'Temporary (volatile) Jet DSN For Process 0xa60 Thread 0x

Error Type:

Microsoft OLE DB Provider for ODBC Drivers (0x80004005)
[Microsoft][ODBC Microsoft Access Driver]General error Unable to open registry key 'Temporary (volatile) Jet DSN for process 0xa60 Thread 0xb30 DBC 0x1391ec4 Jet'.
/name.asp, line 17

my code:

View Replies View Related

Error :: Temporary (volatile) Jet DSN For Process 0x120c Thread 0x1494 DBC 0x1690024 Jet

All time that I go to make login to enter in admin is appearing this error:

Microsoft OLE DB Provider for ODBC Drivers error '80004005'

[Microsoft][ODBC Microsoft Access Driver]General error Unable to open registry key 'Temporary (volatile) Jet DSN for process 0x120c Thread 0x1494 DBC 0x1690024 Jet'.

/noticias/config.inc, line 6

In line 6 of config I have this: .....

View Replies View Related

Displaying Image From Database Saves Files To Temporary Internet Files

I have a website that we display images we have saved into a SQL Server 2000 database as binary BLOB. This is on a Windows 2003 Server. Just recently (a week ago) this website began to save the images it is displaying on the website as ASP pages in the Temporary Internet Files > IE.Content > Folder.

We have other websites where we use the exact same code and these do not save files on the server when they are displayed.

Here is the code to display the image:
Set rs = objConn.Execute( SQL )
Response.ContentType = "application/octet-stream"
Response.BinaryWrite rs("Product_Image")

SQL is the SQL String to get the image from database

When I add this code:

Response.ContentType = "image/jpeg"

The images still display on the website, but now are saved in the Temporary Internet Files folder as JPG's.

View Replies View Related

Converting An Image File To Hexa, Read Text File

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.

View Replies View Related

File Properties :: Find Out The Width And Height Of An Image File

is there a way, using asp, to find out the width and height of an image file?

View Replies View Related

File System Object - Check If File Is Being Read

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?

View Replies View Related

How To Open A File Dialog And Get The Path Of The Selected File In ASP?

i am having a problem in how to create a Open File dialog to enable user to select a image file that will be stored into database. i just want the file path to be stored in database, not the image.

View Replies View Related

How To Find Excel File Width And File Version

It works if the file in on the server side, how to use the component (DSOleFile) with the file on the client side? Also how can I calculate the width of the file. (Page set up - Landscape or porrait). Code:

View Replies View Related

How To Do Online Streaming Audio File Or Video File?

I need to do online streaming multimedia file on my web portal, just like those online portal that selling MP3. User need to click on the preview link to stream the audio file to listen before they decide to buy the file or not. How do i link my audio file in my web server to allow it to be stream? Totally lost on this function,

View Replies View Related

File System Search On An Asp File Yields Not Results

This question has to do with MS file search but it is happening only with
..asp pages, so I though someone programming with .asp pages has experienced
the same situation.

I'm trying to find .asp pages with a certain table name (i.e.
"renewalInfo" )

When I ran the search I get no results. I know that I have that string in a
couple of pages. My file system search engine is working fine with other
file types, like Word documents, Excel spreadsheets, etc.

I tried typing the string outside the <% %> tags and when I do the search I
get the file results, so it seems like if the search engine in my file
system was not searching inside the <%%> tags. Code:

View Replies View Related

File Upload - Need To Check File Size

I'm having a problem with the fact that I want to allow image files to be uploaded to a remote web server, as the hosting package the web site is on is IIS6 and has a default file upload size limit of 200kb. As it's a shared hosting package, the default limit cannot be changed for me unfortunately.

Anyway - i need to check the size of the file being uploaded, so i can notify the user and prevent them getting the default Microsoft error message page. The problem is that I can't implement a server side size check which works, using either Request.TotalBytes or load.getFileSize (with "load" being an object of my loader class). It seems that I can't carry out any of these operations when the file size is too large.

View Replies View Related

Executing A Asp File Inside A Executed File

I'm trying to run the server.execute command inside a executed file. It doesn't work. Can anybody tell me why? I've searched all around and haven't found a reason. Could it be because it's not supose to work, or is the syntax diferent then in the first file?
It's something like this:

File 1
...
<%Server.Execute("File2.asp")%>
...

File 2
...
<%Server.Execute("file3.asp")%>
...

File 3
<HTML>
<body>
Hello!
</body>
</HTML>

Is this possible?

View Replies View Related

File System Object - Not Deleting File

I am using the File System Object to create server side cookies and part of
the Function that I am writing deletes a file but I am getting a permissions
denied error on that line of code.

I am using Integrated security only on this site but how do I get the
IUSER_Machinename account to work with Integrated Security?

View Replies View Related

Vbscript Include File In Jscript File

I have an asp page written entirely in jscript with a vbscript used as an include file which one variable on the page must access.

When the page runs, I run into jscript complilation errors when it tries to access the include file (since it is written in vbscript), and I can't figure out how to get the two to work together. How do you get both scripting languages to work on the same page?

View Replies View Related

Store File Path And File Name Seperately

if i got a file path as a variable say for Example:

c:folder1folder2folder3folder4file.txt (The Path could be any long)

how do i just store the Path of the file name and the file name seperately. like :

File Path=c:folder1folder2folder3folder4
File Name=file.txt

View Replies View Related

Upload File To Server And Get File Properties

I would like to add a facility to my web page which allows users to upload basic files (word, excel, text, gif, jpg etc) to the server.

I know there's a facility to do this using HMTL forms, but I don't know how to handle the file on the server side.

What I think I need is an ASP file running some code to manipulate the filesystemobject, allowing me to receive the file and store it in the filesystem on the server. It would be nice to access some of the file properties too (name, type etc).

I've seen a few custom components online which allow you to do this, but I can't depend on installing them. I need to be able to script it myself.

View Replies View Related

Streaming File To User: 'File Could Not Be Opened'

I have a page on our intranet that is supposed to stream an Excel sheet to
the user. I'm using pretty standard code:

View Replies View Related

Converting Text File To Sound File In ASP

Does anyone know of a method of converting text files to sound files (.wav, mp3 etc) which can be accessed from ASP?

I have an ASP-based website that enables users to design choreography for equestrian dressage. The resulting design is held as a series of coded movements in a database and it can then be reproduced as text or as a series of diagrams. I would like to offer the option of an audio version.

View Replies View Related

Set File/User Permission With ASP/VBScript To A File

i would like to add a user and set file permission to a file with ASP.
(No component). is that possible ? do you have a link ? an example ?

View Replies View Related

ASP File Upload - Limit File Types?

I would like to use this code on my website to allow simple file uploads from clients. I would like to restrict the file types they can upload. Code:

View Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved