Reverse Date Creation

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.

View Replies


ADVERTISEMENT

Drop Tables By Creation Date

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

Reverse Engineer ASP

We have a mission critical ebusiness application residing in about a hundred ASP files. The design exists in the mind of the one person that wrote it. The code is lightly commented at best. It is largely VBS, with some XML and HTML (of course).

I need to document the design such that another programmer could come on board quickly if the need arises. Is there a tool that would ease this task? UML would be perfect, but if I could lift the basic structure, and data flows with a reverse engineering tool that would allow me to edit the results, it would help.

Are there tools that would assist with this? If not, I will use VISIO or Visual UML 4 to document the system as I dissect it file by file.

View Replies View Related

Reverse HTMLEncode

how to reverse server.htmlencode()? is there a built-in function im missing here?

View Replies View Related

Reverse For Loop Syntax

Today, I am braindead... I can't seem to find this in Google, and I
don't remember where I used this code before (so I can't steal it from
myself). Anyway, all I want to do is:

for i = 0 to 20 step -1
response.write "<br>" & i
next

For some reason, that doesn't work. It shows nothing. I know I am
missing something very simple, but, as I said, today, I am braindead.

--
Adrienne Boswell at work
Administrator nextBlock.com
http://atlas.nextblock.com/files/
Please respond to the group so others can share

View Replies View Related

Loop Through Dates In Reverse

Is there an elegant way to reverse the order that the dates appear here?

[script]
<%
for i = 1 to 12
response.write monthname(i)
next
%>
[/script]

View Replies View Related

Reverse Print Of Database

I have this piece of code that works fine, but i am needing the code to display the parts in the database from new to old, new on top old on the bottom. Right now it prints old to new. Here is the code, anyone want to help on getting this code to work the way i need it to??? Code:

View Replies View Related

WGET And Reverse Proxy

We have this portal that accesses content from various places on the web. The portal is SSL secured, so any content that is outside the portal and nonsecure is going to cause an nonsecure error prompt in every page within the portal site.

So, we obviously want to get away from these annoying messages. To do it, we've considered a reverse proxy, and even a tool like WGET... but, WGET can't fetch a complex URL... and reverse proxys seem like they might be a serious pain to set up along side our tomcat server

View Replies View Related

Table Sorting Seems To Reverse On Different Pages

I have a page that lists items from an Access database into a table. Clicking the column headings will sort by that heading, and clicking the same heading a second time will reverse the sort.

The problem I am having is that the sorting order seems to reverse itself as you navigate through multiple pages of records. For example, if there are 10 records being displayed per page, the first page would display in ascending order, while the second page would sort it in descending order. Code:

View Replies View Related

Reverse Engineering Password Encryption

I am trying to re-work the login interface of an e-commerce system that we use but I need some help reverse engineering the user password encryption, it is a fairly basic HEX encryption of some sort. Here is what I have so far (and some sample PW)

View Replies View Related

ASP RSS Creation

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.

View Replies View Related

PDF Creation

I would like to know how to create PDF file using ASP. Can someone help me for the same

View Replies View Related

Object Creation

The 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?

View Replies View Related

Folder Creation

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?

View Replies View Related

Excel Creation

Looking for code that can help me to create excel sheet in client side (java script)

View Replies View Related

Automate Pdf Creation

if 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 Related

Subdomain Creation

Is it possible for an ASP script to create a subdomain or does the hosting server the only privilege in creating one?

View Replies View Related

Component Creation

I'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.

View Replies View Related

Object Creation Error

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 Related

Generic Xls Creation Page?

i 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.

View Replies View Related

Question On Form Creation

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.

View Replies View Related

Dynamic Creation Of ASP Code

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?

View Replies View Related

Poll Interface Creation

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:

View Replies View Related

Dynamic Image Creation

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.

View Replies View Related

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 Replies View Related

Access Table Creation

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 Related

Form Creation Using Loop

I 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!

View Replies View Related

Table Creation, Name Specified By User

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 ).

View Replies View Related

WSH / Automated Site Creation

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.

View Replies View Related

Dynamic Input Box Creation And Usage

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?

View Replies View Related

Access Data Retrieval And Creation

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).

View Replies View Related

PDF Creation :: Format The Text Or Resize It

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 Related

Password Creation/validation For New Account

I 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: ....

View Replies View Related







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