File Creation Time
I need to find a way to pull the file creation time from a file. I have a webcam FTP a file every 5 min. That pic does not have the time and date. I would like to find out how to pull the creation time from the file.
View RepliesI need to find a way to pull the file creation time from a file. I have a webcam FTP a file every 5 min. That pic does not have the time and date. I would like to find out how to pull the creation time from the file.
View RepliesI have a chunk of code, where based on the user's selections, it goes through a database and selects all of the records from the database and writes them to a text file (the database contains nearly 600,000 records), currently, the file is written and the user would end up having to wait for it to be written, before continuing.
Is there a way that this file could be kind of.... tagged or something, so that the server creates it in the background, instead of while the user waits, so the user can continue doing other things, rather then having to wait for the text file to be created.
The files can be quite large, as they can end up being anywhere from 1 - about 600,000 records with between 4 - 10 fields each. Here is a sample of the code that creates the text file. Code:
This is my souce code to upload multiple file into 1 directory. How can i improve it to make it can upload to 2 different place in the same time when i click the upload button? Code:
View Replies View RelatedI want to make a log file in which only a date and time are written, when a certain page is visited.
Most scripts and tutorials explain only about how to read a file, and how to write a file.. not on how to write a line at the end of a file(or beginning). I tried the following, but this does not work: Code:
I am looking for the best way to capture the time spent on a page and then write that to a txt file sitting on a server when the form is submitted. Right now I capture the time spent using javascript... I know i cannot write to a file using this. I am not looking to learn any in-depth ASP stuff... just looking for a simple solution if at all possible.
View Replies View RelatedI have a standard ASP page that appends to an xml page.
Currently if there is more than one person attempting to append to the same XML file at a time. One user will have the ability to append, and the other user will append nothing.
Is there a way to avoid this from happening? For example. Lets say the user opens up a cached version of the page then append to the actual file. For some reason I remember reading about something like that, but just can't recall.
im new to the rss "movement" and would like to implement it on
one of my companies internal sites. we have a site that allows users to
leave messages for other users based on email address. so for example i can
visit the site and type in my email address and if any messages are waiting
they will be displayed. the page uses a GET to fetch the messages based on
email address so the URL looks like this:
http://mysite.com?emailaddress=my@address.com
since the address is passed in the URL i imagine ill need an rss feed that
does the same kind of thing... can anyone point me in the right direction or
get me started with an example? im ot even sure if this is something that
can be done simply with some ASP object, or if ill have to actually write
out some XML at some point.
I would like to know how to create PDF file using ASP. Can someone help me for the same
View Replies View RelatedThe problem is that I cannot create an object at the Application level
using GLOBAL.ASA.
However, the aftfam object works perfectly well when created on an ASP page
using Server.createobject. It outputs "true556" which is expected.
The problems does not seem to be syntax since the reference to the
AUtils object seems to work just fine.
Is there some magic difference in my VB code that differs depending on how
I create the object?
I'm creating a folder...no problem there:
dim fso
set fso = Server.CreateObject("Scripting.FileSystemObject")
fso.CreateFolder Server.mapPath("pictureskickoff")
but...how do I check if there allready is a folder there with the same name before creating one?
Looking for code that can help me to create excel sheet in client side (java script)
View Replies View Relatedif it is possible to have a web page that can be created into a pdf via a click of a button, similar to the save as pdf option. Is this possible?
View Replies View RelatedIs it possible for an ASP script to create a subdomain or does the hosting server the only privilege in creating one?
View Replies View RelatedI've been developing a dynamic content management system that you can hook up to any database (with minimal changes) and manage any of it's data. Ultimately, I'm looking to compile the scripts then sell them compiled so nobody can take the source code. Anyway, I'm not sure how to go about making a component out of these scripts and if anybody is willing to do this for me, I can either compensate you with money or a free copy of the software. A link to a working version of it can be found at http://adminscreens.libdev.com/?cDB=dsnPredig. Use the demo login (demo/demo).
If nobody knows how to actually compile the scripts, I guess the next best thing would be to point me in a direction of a company or whatever that can get it done for me. I've tried using ASP2DLL and various other articles with little luck. All of the VB code is in a single include file.
i want to increase my session time so that it does not expire till the user closes the site.
i have written in global.asa file the following code:
<SCRIPT LANGUAGE="VBScript" RUNAT="Server">
Sub Session_OnStart
Session.Timeout = -1
End Sub
</script>
but it doesnt work and my sesion still expires.
I have an application I am working on that uses "compiled" asp pages. Once the asp pages are done, they are moved into a VB6 dll to be Response.Written from there. This work great, and results in keeping our code safe at client sites. Currently this works great here and at most client sites. I have one client who is having intermittent problems with this setup Code:
View Replies View Relatedi want to create a page that will accept any rs of data and create a standard excell page. So i can have a bunch of report pages that any number of columns and and number of rows and submit that rs to my xls creation page? I hope i'm explaining this right.
my first question is how do i pass over an entire rs to my xls page? second how do i create a xls creation page that is open ended on the formatting side of it.
Anyone know of a good tool to enable regular (non developers) to build simple forms which when built provide functionality to save the data from the form to a database and email user(s) with the results.
I'm looking for something flexible enough to allow users to build these forms without knowing anything about the underlying database being used.
I am trying to generate ASP code on the fly as I want to be able to control the code from the database and am running a problem.
When I try this (simplified example of what I have but it conveys the problem):
<%
replacetext = "response.write ""blah"""
response.write "<%" & replacetext & "%>"
%>
I get an empty page with <%response.write "blah"%> in the source instead
of what I want: a page that has 'blah' on it.
Is there any trick behind this?
i'm getting a bit cought up with the ASP for a poll creation page i am trying to do.
i am trying to get it so that it will display a varying number of boxes depending on how many options there will be - have it so that it displays the first 2 (the minimum options) and then the other input form elements will be added as needed i'm also having a bit of trouble trying to get the numbers to update with the onchange but that part doesnt feel like its the most challenging - heres what i have so far: Code:
Can ASP VB create dynamic images of text? (ie. an image of a line of text)
If so does anyone have any examples I could take a look at please.
I have 3 fields on a form, date, month, year. I need to add all these values into one full date field but reversed (20051031) - notice UK format.I've just got off the phone to a programmer friend who does not use ASP. He described possible using something like this:
substr(dbsearchdate,1,4 = Request.Form("txtsearchYear"))
substr(dbsearchdate,5,2 = Request.Form("txtsearchMonth"))
substr(dbsearchdate,7,2 = Request.Form("txtsearchDate"))
However this doesn't work.
I would like to know what the comands/syntax is for creating a table with fields in an Access database using ASP? I've done this a few years ago with visual basic, but haven't been able to find anything for ASP on the internet.
View Replies View RelatedI am trying to build a dynamic form based on user input.
Here is the story i want a user to select how many times he/she wants to add a product and then depending on the number selected draw x number of input boxes for product name,price etc.
Then pass this to another page, store in an array and add all this to a database!
how to create tables when the user submits the tablename in a form i know the create command.
but how to execute it in asp when the tablename is stored in a string using the string while creating tables is not happening for me.
also can i use the same way of using the string to add or drop column( drop column only after specifying all values in the column to be null ).
I am developing a automated website creation process for our members. They are being walked through a series of pages that gather input and make template selections etc... The problem I have is when the scripts execute I get permission denied on the section of code that connects to IIS and creates the new site.
The only way around this so far is to set IIS directory security (on the folder that has the scripts) to log in automatically with a domain admin account. I of course do not want that to be the case. Here is the line of code that bombs out.
set objservice = getobject("IIS://venus/w3svc")
The script pages are located on the same server. I have tried using a local admin account (not good either) with no luck.
By the time this line is run the directory has been created the appropriate files copied over and database has been filled with appropriate info. This seems to be my last issue to overcome.
Can anyone point me in the right direction for dealing with a dynamically created table of shopping cart items? Each row (or Item) has a column where the user can change the quantity. Is there an easy way to grab and use these changed values when they hit the form submit button?
Or, do I need to bite the bullet and write code that filters through the form fields named "quantity1," "quantity2," "quantity3," etc... And then determine which one goes with which cart item?
Already have an asp page showing results from an access database table (supplies)
Need to know way select items from this list w/o the need of retyping to another form.
Also would like to be able to insert order_date automatically to another access table (orders).
Is anyone having problems with formatting text using the ASPPDF component? I am having problems when it fills in the pdf form from data entered through a form. For some reason it doesn't allow me to format the text or resize it...
View Replies View RelatedI am trying to create a form where a user has to enter information such as username, password, last name, etc...
My current code is to look at the recordset to find any existing username, and if not found, it will add the new username.
At what part of the page do I validate the password so I can determine if the user enter the password correctly the second time (to determine the password was entered twice correctly)?
Here are my pseudo codes: ....
I have recently been trying to setup a webserver running phpBB and an automatic forum creation script so that visitors to my site could signup for their own free forum hosted on my website.However, I HATE PHP! It just isn't working for me, despite the fact I need to configure PHP, Install several various files, change many many .ini files httpd config files etc.. oh yeah I forgot I needed to run it on Apache on Server 2003.
Anyway, basically I am looking for a way I can remotely host this on Server 2003 with IIS and ANY ASP forum software out there. I am not an experienced ASP programmer so would prefer a ready made script.I am desperate to get this working - I have barely left my computer for three days trying to play around with stupid PHP and now I determined. find / make an ASP Forum Creation Script.
I have the following code (part of a larger asp page) to create the user input form for creating user accounts in AD.
What would be nice is to have the radio control (in red) to be created as the result of interrogating AD to retrieve a list of containers (we have a container per office location) so that only relevant controls are available, and if a new office is opened or they shut one down, the form can stay the same. Is there a way to do this? Code:
if there exists a query to erase/drop tables from an access table (on a asp script) older than X creation date.
View Replies View Related