Solution For File Name Checking...

I need a solution that will run through all the files in a folder (specified path), and make sure that there names arn't the same as the file I have.

View Replies


ADVERTISEMENT

Checking For End Of File

strSQL = "SELECT SUM(price) AS XX FROM ...."
set objRec = objConn.execute(strSQL)
if objRec.EOF then

A = 0

else

A = objRec("XX")

end if

Response.Write "total : " & A

There is no records return, but output printed "total : <empty>"

I thought the IF statement check for 0 records and assign value "0" to it ? And it should return "total : 0"

The statement that assign value to variables A is wrong ?

View Replies View Related

Checking For File Type

Is there any way to check for .zip or .txt files prior to a file upload starting. The method I have working currently checks immediately before saving but only after the processes has uploaded the file. Can the extension (and file size) be checked as they are selected by browsinf via a form.

I suspect this is not possible but it must be possible to check them before doing anything further.

View Replies View Related

Checking If File Exists WITH AspSmartUpload

I want to upload images from people and save the name of the files in a database so I can later populate from there. The uploading part is working fine, except that when I use SaveAs, if the file exist it rewrites the existing file...

I did do a search in the forums and tried to use a code that memnoch posted but it wont work since the aspsmartupload objetc doesnt support the FileExist Method... the code from Memnoch that i tried to use is the following: Code:

View Replies View Related

Checking The Format Of The Excel File Uploaded

I would like to inquire how would it be possible to use asp to check the format of the excel being uploaded? Like the first row in cloumn A is named Results, column B is named Example and so on.

I've already able to use asp to to extract the data from the excel and insert them into the access ab. Now I would like to know how to be able to check the format of the excel file being uploaded, if it is the way i want then it would proceed to insert the values into the access db, if not the user will be informed that the format of the excel file was not the standard one.

View Replies View Related

Checking The Format Of The Excel File Uploaded

I would like to inquire how would it be possible to use asp to check the format of the excel being uploaded? Like the first row in cloumn A is named Results, column B is named Example and so on...

I've already able to use asp to to extract the data from the excel and insert them into the access ab.

Now I would like to know how to be able to check the format of the excel file being uploaded, if it is the way i want then it would proceed to insert the values into the access db, if not the user will be informed that the format of the excel file was not the standard one.

View Replies View Related

Checking For Errors Accross Website With Include File ?

Is there a general way of placing an 'error_check' include file into
my website, and put the include line onto all 'asp' pages. In the
event that any error occurs on any asp page or with the database,
instead of the user seeing the error on screen, they would be
redirected to a custom error page ?

View Replies View Related

Asp Solution?

1. SELECT VALUES FROM TABLE A WHERE ID=5

2. I create an array x(0,n), and I populate n with the values based on
select above.

What I have... I have x(0,1)
x(0,2)
x(0,3)... and so on.

Result:> I need to have variable called
varx that should consist all the values from x(0,1), x(0,2), x(0,n).

So I need to declare varx = x(0,1) & "," & x(0,2) & etc.

1. question. I don't know how many elements I would have, coz they depends
on "select".

2. Can someone give me example how I can dynamicly create (parse) this
values in single variable, so I can send this values to pageB.asp

View Replies View Related

Need A Solution

After a member registers, he's able to access and download any file
available. We want to avoid the end user being able to distribute an URL
to these files thereby making it simple for other users to download them.
Solution I'm working on:
I have a variety of files (html, pdf, doc, xls, and others) sitting
outside my "wwwroot" folder. I have an ASP script which checks the MIME
type for the given file and now, my problem is, how do I use the
FileSystemObject to grab those files and display them to the user?
Let's suppose the user is requesting demo.html. I use the FSO to open
the demo.html in the folder outside the wwwroot, and then set the mime
type and then what do I do? Response.write? What about binary files
which need to trigger a download action?

View Replies View Related

Forum Solution

my client wants a forum integrated in his website. Ive found some existing forum solutions (snitz, carbon communities etc...). These are great, but my client wants the forum working whereby when a user posts, the post is sent to the clients who then confirms or denies the post. The forum is for a school, hence the very tight regulation of posts.

Does anybody know of an existing forum which allows this functionality (preferably a free forum).

View Replies View Related

Print Solution

I am trying to implement a printing to file solution of a html page on the server. What I have is a form with a IE control that loads the page I want to print to.

I am using execWB command for printing. Printer's port is set 'To file'. Everything works fine when I am running that component from a desktop apps. But when I call that component from an asp page nothing is happening. I dont see any dialogs popping up on the screen.
BTW, if I print to a printer works fine either.

View Replies View Related

Easy Solution

I'm hoping for an easy solution to this that I'm not seeing that
someone more experienced will.
All I want to do it mark an option tag as selected....

<%
hourCounter = 1
Do WHILE hourCounter <= 12 %>
<option value="<%=hourCounter%>" <%If hourCounter =
hour(rsCalendarEdit("fld_calendar_DateTime")) Then Response.write "
selected" End If %>><%=hourCounter%></option>
<% hourCounter = hourCounter + 1
Loop
%>

The trouble is if the time is "PM" I have a problem as you can see. Is
there a method or property here I can implement that I'm not seeing?

View Replies View Related

Any Integrated ASP & FTP Solution

I'd like to know if there is any robust FTP solution out there that
integrates well with ASP applications. In particular, it has to allow huge
uploads over 3 gigabytes in size. It must have the ability to resume
incomplete uploads by the users.

View Replies View Related

Charting Solution

What's the best free method of getting attractive looking charts to display data from a DB.For example, in my next project i will need to show the change in someone's weight over time. The different weight in pounds(lbs) will be entered into the database along with the date that the weight was entered.

Whats the best way to show it? I can't install any 3rd party com's on the server.I have seen a website offering a flash based solution. Is this the best way? Ideally i would like a line graph, rather than a bar chart.

View Replies View Related

Dictionary/Solution!

I need an ASP dictionary/glossary script. I saw a bunch of options online for PHP but almost nothing for ASP. I'm not a programmer....but can install working code and connect a database. can anyone recommend a tutorial or even better a finished working piece of code I can implement to create my own dictionary with custom definitions?

View Replies View Related

AdRotator Solution

I am using adRotator to rotate some reminders on my intranet site. I have a
redirect page name redirect.asp that recieves the querystring variable, 'url'
and redirects the user to that page. One of the reminders should be
redirected to a url that contains query strings itself. The url passes in the
string up to the first '&'. What should I do. Here is the code on the page
displaying the ad: Code:

View Replies View Related

Relative Paths Solution

Can anyone help me find a solution to quickly working out relative paths to
a folder in the root of my server...

Although it easy when you go - say - two levels down:

.../includes

it becomes increasingly difficult to ball park the folder when you go deeper
and wider down:

.../.../.../includes

....How do you guys get a quick fix on where the hell the folder or file is
and use that path in asp?

View Replies View Related

Looking For A 'change Password' Solution

I am looking for an asp change password solution. I know there are very
efficient ways of doing it and perhaps you have some samples or ideas.

Basically I would like the user to be able to change their password. Then a
link is mailed to their email address on file and when they click on the
link, they are taken to a place to type in a new password.

View Replies View Related

Submit Button Solution

i have a simple form in a html page.
the form successfully sends data to my database using asp.
currently sending details using
<input type="submit" value="Submit">
which as you know uses the small grey box Submit button.
what i would like instead, is that instead of using this default button to submit..
i could replace that with a roll over image, that is compiled of the 2 files
submit.gif and submit-white.gif
and when it is pressed, the form details are posted, how can this be done

View Replies View Related

Mod_rewrite Or An Alternate Solution

I am in need of something like mod_rewrite or an alternate solution.

I have a client, who's website is all HTML files (200+ files) and was previously password protected by javascript only. Anyway, what I need to do is password protect the site using a better solution, which would be a server side scripting obviously.

I am familiar with apache's mod_rewrite and PHP, which would make this problem easy to solve by simply passing the HTML file to a php file, then after neccessary security checks, pass the requested html back to the browser..

The only problem is that its on an ASP server and I have no knowledge of ASP. I am not even 100% positive what kind of server it is, I just know that .asp files work in it and .php does not.

Anyone know of something like mod_rewrite for ASP or an alternate solution that would work in my situation?

View Replies View Related

Domain Parking Solution In ASP

Anyone have Idea on how to create Domain Parking solution.
I have more than 150 domains which I want to park.
I m expert in ASP . Kindly Reply with an Idea / Logic behind domain parking solution.
I want something like goldkey dot com or Coolgoogle dot com

View Replies View Related

Building Solution Bugs My ASP

i recently started learning ASP and now i am trying to do some on my home computer.

After doing a few things in my ASP.Net application, i click Build -> Build Solution and then it says this in the output window:

Preparing resources....
Updating references....
Performing main complation....

and then it stays bugged at that section. Then i can go back in build and cancel the building process...

Anyone know what might cause this, my computer is fairly recent and i did re-install Visual Studio .NET to try and fix this problem without any success... I also tried making other applications and it does the same thing...

View Replies View Related

Client Timeouts. Need A Solution

we have a page, that posts some search results to the server.

however it takes a while to execute and return to the client.

we added a server.timeout = 120 to the asp script. but it still timesout

is there a "USER FRIENDLY" way to redirect the client to another page, pending execution of the server results ???

View Replies View Related

ASP On Linux Solution Needed

For ASP on linux, what would the best solution be? Any particular programs suggested?
Right now, running CentOS. We have jsp and ASPX .

View Replies View Related

CLASS DOES NOT EXIST With IIS 5.1 SOLUTION!

Look for wspwsp.dll in windowssystem32 and add IWAM_"computername" (ie IWAM_MYCOMPUTER if MYCOMPUTER is he name of your computer) account with read and write permissions.

The support person who helped me with this issue told me they will create a knowledge base article for it!

View Replies View Related

Content Management Solution

I have a certain Internet project to develop,and I'm Interested in advices Regarding good development tools available in terms of getting Maximum job done in minimum time and minimum investment in buying third party development software.

In general,the project is to turn a static HTML website to a dynamic ASP pages Enabling the site owner a friendly interface to change its contents.In addition it a required to have the possibility to change the Website into a "members only" website allowing A registration process and an automatic or manual billing.

i was thinking that the use of some Content Management Solution is the most
suitable for this case.I would like to hear your opinions on the subject + references,
links,Recommendations for the easiest, cost effective ways to implement that
sort of project.

View Replies View Related

Online Form Solution

I manage one of our company's intranet sites. We're using RoboInfo software. I basically just publish documentation for our users. I want to add online forms to my pages so they can be filled in and I can receive in my inbox. I am looking at the best solution. I did have a basic html form online using POST, but the user gets those annoying popup warnings (one from IE, one from Outlook).

I wanted to create a php form, but my IT department says they can't install php on the server. Now I'm looking at an ASP form, which should work on the server. I've found scripts here that seem simple enough to set up. Do I need to know the smpt and port # to get an ASP form working? Anyway I can determine the smpt without contacting IT (they probably wouldn't tell me!). Any other solutions I can look at in creating online forms?

View Replies View Related

Sample Enterprise Web Solution

I'm looking for a sample ASP.NET enterprise web solution. There are many issues and questions I have about how a large web site is constructed with multiple developers.
How global settings and constants are managed. How global navigation and other global page settings are implemented, etc., etc.

Is there a complete sample "REAL" ASP.NET web site project created in VS.NET/C# available anywhere for me to download and learn from?

View Replies View Related

Database Editing Solution

I have a roster of people from a db showing up in a frame containing ans asp page. In order for the client to edit a record on the roster, I have an edit page opening up in a javascript pop-up.

I know how to edit the db but what I don't know is how to 'bind' the text boxes in the pop up to the correct record in the db (based on which record they selected to edit). Here is how it looks:

John Smith 12 123 Main Street Your Town State edit this

the 'edit this' is a link that opens the pop-up. How can I get the correct record to show up in the pop up?

View Replies View Related

Portable Database Solution

I'm thinking of developing a relatively small news system for my website, but I'm wondering if there is a nice free file-contained database solution. Access would be great except for the screwy licensing.

I don't like these server-based databases because I'd like to just plop the DB in a dir somewhere and have the system portable.

View Replies View Related

Is There Another Solution Instead Of (IF ElseIF Statement)

i tried both code,but i get the same error each time..& when i try the code for one SELECT statement or INSERT statement it works, i think then that i've no problems in my DB field types.. so is there another solutionplz trace both code) Code:

View Replies View Related

Mass Emails, Non-listserv Solution

My client does not want to use a listserv. He wants to send 5000+ emails,
once everyday to our members. Our hosting company has agreed to this.

What are my options here?
I know I can write a basic looping SQL script, but that would take
forever....

What about an "email queue" through SQL? But I cannot install any components
on the web server, so what options are there?

View Replies View Related

Open Source ECommerce Solution

We all know about osCommerce, which is an open source ecommerce solution written in PHP. Is there an open source project out there just like osCommerce for ASP.NET?

View Replies View Related







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