all groups > inetserver asp general > june 2007
Filter by week: 1 2 3 4 5
Saving page as html values
Posted by Bam at 6/30/2007 6:07:05 PM
Hey gang.
Is there a way, to automatically save a page that is db driven, as a page
that contains html?
i would like a page like
http://tournamentsbyeck.com/past_standings3.asp
to be converted to the html values. i want to do this, so the db doesn't
grow too large.
Is this possible?
... more >>
divide long web page
Posted by LaiLakY at 6/29/2007 11:36:38 PM
Hi all
I want to divide long HTML page (paging) into smaller pages.
I know how to do it if I use recordset but in my project, I dont need
to read from a Database, I'm reading a file system wich is a folder
and list all files insid it
Any idea Plaese
THANKS
... more >>
email Problem
Posted by vinodkus NO[at]SPAM gmail.com at 6/29/2007 10:59:32 PM
Hi I m trying to send an email using an asp program but it gives an
error no doubt it is so simple but it gives an error.
First I write my program
<%
Dim myMail
'Set myMail = Server.CreateObject ("CDONTS.NewMail")
Set myMail = Server.CreateObject ("CDO.Message")
myMail.From = "vinodkus@y... more >>
Can Classic ASP talk to C/C++?
Posted by tanya.wang NO[at]SPAM gmail.com at 6/28/2007 12:53:16 AM
I have a system written in classic asp and a lot of Javascript. Due to
its performance and security issue, we decided to re-write this big
module. I heard that C/C++ has a better support in performance and
security (relatively) but here comes my questions:
1. Can ASP talk to C/C++? Because f... more >>
Problem with Rnd Function
Posted by vinodkus NO[at]SPAM gmail.com at 6/27/2007 11:56:42 PM
When I use Rnd function in asp. It gives the random no but it always
gives the same random number. What is its problem can any body tell
me.
Actually I have to made a program for online examination and question
will be select randomly category wise. It means if any body select G.K
category then... more >>
IF statements gone bad
Posted by oldmankirby NO[at]SPAM gmail.com at 6/27/2007 8:17:20 AM
I have a problem I really can't figure out what I am doing wrong. I
have the following code:
stnum = "0"
inull = "SAM1"
aname = "a"
bname="a"
while Not rs.EOF
if (stnum <> rs("sn") and aname <> rs("fname") and bname <>
rs("lname") and inull = rs("idModule")) then
response.writ... more >>
Updating a record in the table in asp
Posted by Bhavna at 6/27/2007 7:10:59 AM
Hi,
I would like to update the record when user clicks on a button. Update
should be done on person_id. XSL is calling asp to update the record.
For some reason, it's not picking up the correct person id. Below is
the code.
Any help is appreciated.
TIA,
Bhavna
In the xsl page i am pass... more >>
upload pic
Posted by 7alan at 6/26/2007 8:27:09 PM
i manage to store the picture pathname into database... c:\folders
\blablabla....with my primary key A
but how do i retrieve it back with my primary key ?? it is simple to
do in php and .net... but i am stuck in asp script.. pls help....
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Realtiming ajax?
Posted by deostroll at 6/26/2007 5:01:59 PM
Suppose I have an asp page that has a response.write(something) in a
loop that would run for a considerable amount of time. Now, from my
client browser can I trap those server response messages (using ajax)
and print them on the browser?
(The thing is the asp page is still running over at the ... more >>
good open source software
Posted by c676228 at 6/26/2007 3:10:02 PM
hi all,
I am trying to develop a portal for a eCommerce site. I am wondering if
there is any good asp open source software I can start with since the
business requirements are quite generic.
--
Betty... more >>
ASP button to Execute Stored proc in table Adapter
Posted by Datasort at 6/26/2007 10:33:02 AM
Is it possible to add a stored proc to a table adapter and execute the proc
inside an ASP button click event?
I have a table adapter called Claimers and a sp called AddWatch. On the
onclick event I would like to call the table adapter and execute the sp.
Note that the sp does not return re... more >>
How to Get Data from MS Access 2000 into XML file
Posted by at 6/26/2007 9:42:14 AM
Hi all-
Hoping to get some feedback regarding an issue i'm having.
To start with, I honestly do not know very much about XML or ASP, but
in essence what I want to be able to do it take data from one of my
Access 2000 queries and automatically export that to an XML file. then
that XML file i... more >>
Error 800a01a8 object required
Posted by Raj at 6/26/2007 9:33:28 AM
I have developed a component create database, sql login,pwd, create tables
etc.,
The component is working fine with VB
But the same is not working with ASP as I get this error: Error 800a01a8
For creating database, sql login,pwd I am using sa with a valid password.
Please advice.
Th... more >>
Recordset Paging - Not Showing records on next page
Posted by Infused at 6/26/2007 1:42:36 AM
When I use the next button no records show up on the next page...
I've been going over this for half a day and can't figure it out.
Any
help would be greatly appreciated!
<%@ Language=VBScript%>
<%Option Explicit%>
<%Response.Expires=0%>
<!--#include file = "adovbs.inc"-->
<%
Const intPag... more >>
chi-square formula
Posted by Tradeorganizer at 6/26/2007 12:00:00 AM
Hi
i want to use an excel formula in asp , is it possible the formula
chidist in excel gives the value of chi - square distribution over the
degree of frequency.
but when i am using the same forumla in vbscript in .vbs file as well
as in asp its not working saying invalid object or command
... more >>
REMOTE_ADDR?
Posted by someone NO[at]SPAM js.com at 6/25/2007 10:52:12 AM
Hi I have a landing page host in different ISP, and it's point to my site.
How can I track where they're coming in the landing page and pass the info
to my site?
The landing page is just a html page? Please help. Thansk.
... more >>
ASP Vulnerability Scanner
Posted by Cat at 6/25/2007 9:30:32 AM
Hi.
Would you recommend a ASP (IIS) web server vulnerability scanner? If I
install the all the updates from Microsoft, then I don't need
vulnerability scanners? I was on a chat, I installed all the updates,
but the other guy said he found some vulnerability from my web server
and he could attac... more >>
Password protecting files ...
Posted by Raj at 6/25/2007 8:59:50 AM
Hello,
How can I password protect files so that no one can anonymously download it?
I have windows 2003 server with IIS 6.0
Please explain the steps in detail.
Thank you,
Regards,
Raj.
... more >>
<%=1/15%> retuns 6.66666666666667E-02
Posted by at 6/25/2007 4:29:37 AM
yes <%=1/15%> retuns 6.66666666666667E-02
anyone knows why or where i am wrong?
... more >>
Sample ASP script can't instantiate object
Posted by Jon Paal [MSMD] at 6/24/2007 12:23:42 PM
trying to test these old guys on win xp pro sp2
http://support.microsoft.com/kb/249290
Sample ASP script can't instantiate object
--------------------------
[code]
Set objASP2HTM = Server.CreateObject("IISSample.Asp2Htm")
[error]
Server object error 'ASP 0177 : 800401f3'
S... more >>
menus and MasterPages
Posted by PeterW at 6/23/2007 5:55:01 AM
I have 3 master pages. The second has a contents object that contains the
horizontal menu, the third a contents object that contains the vertical menus
and all WebForms use master3 as their Master Page. The content of any
WebForms is below the horizontal menu and right of the left hand menu.
... more >>
Upload file without user interaction in vba
Posted by google.com NO[at]SPAM motix.com at 6/23/2007 5:36:05 AM
Hi there!
I've been digging around looking for a sample on how to upload a file
without user action. I found the following article covering the area:
http://www.motobit.com/tips/detpg_uploadvbaie/
It describes the vba code required to handle a very simple upload
form:
<Form Action=ht... more >>
One person at a time...
Posted by deostroll at 6/22/2007 4:43:57 PM
Is there any way I can write a asp script such that if one user is
using it no other person can access that page until the processing is
complete...?
--deostroll
... more >>
File is not deleted in remote server by FSO
Posted by Orgil at 6/22/2007 3:57:13 AM
Hi all,
I just want to delete a file in a server by FSO.
My code is:
Set objFSOD = Server.CreateObject("Scripting.FileSystemObject")
objFSOD.DeleteFile Server.MapPath(".") + "\Greetings\" + sFileName1,
True
Set objFSOD = Nothing
When I check the code locally, everything is fine.
I have t... more >>
Query Database, Display as hyperlink
Posted by BOBss at 6/20/2007 9:29:56 AM
I am using ASP with VBScript. I want to query an access database username
field, and display the output as a hyperlink on an a webpage.The webpage
will display all records. I then need to be able to select a given
record(hyperlink), and display all of the fields for that record on another
we... more >>
accessing the delivery receipt using CDO.Message
Posted by Sany at 6/20/2007 7:48:58 AM
Helo,
I am using myMail.DSNOptions = 14 n a script that uses CDO.Message to
send an internal mail. Is there a way to access the delivery status in
the same script and report a bad route...below is an example I would
like to achieve. Any help is greatly appreciated.
Example:
Sub sendMai... more >>
File size is incomplete by 20 bytes in a remote server when uploading
Posted by Orgil at 6/19/2007 8:55:52 PM
Hi all,
I'm working on a ASP web site. The site has some pages for uploading
files to its server.
I'm working on my computer as a local server. When pages of the web
become ready, I copy the pages to a remote directory of a remote web
server .
When I upload files to the local server, any file ... more >>
Date.parse
Posted by Ben at 6/19/2007 3:38:09 PM
Hi,
Can anyone explain why this,
Date.parse("Jan 1, 1970")
equals this,
18000000
?
Microsoft's documentation reports this, "
The parse method returns an integer value representing the number of
milliseconds between midnight, January 1, 1970 and the date supplied
in dateVal.
"
... more >>
Email
Posted by Ahmd at 6/19/2007 12:57:08 PM
Pls help
I want send one image and some text inside the image as mail. Pls how
can i do it in asp.
thanks in advance
... more >>
Using For ... Loop to retrieve records....
Posted by David at 6/19/2007 5:20:24 AM
Hi,
I have a form on which a user can select a checkbox against a record.
Each checkbox carries the RecordID of a product.
----------------------------------------------------------------
I am trying to print the following report:-
Details for product 1
--------- Report / page Break ... more >>
ObjectDataSource and custom objects returning list of another obje
Posted by Ghistos at 6/18/2007 10:47:03 AM
Hi all,
I have a class with properties returning int, string, date... and generic
Lists of other classes.
private static string zipcode;
private static string city;
private static double? x;
private static double? y;
private static List<Proprio> pr... more >>
CDO message attach files
Posted by sallysmedly NO[at]SPAM yahoo.com at 6/18/2007 5:45:26 AM
Hi,
I have a page where a user can browse for and attach 2 files to an
email.
The email works fine when I try to send a selected file from the
server, but I have added in some script so that it sends the files the
user has selected, but this part won't work.
Any suggestions would be much... more >>
Dup entries in DB
Posted by Brett_A at 6/18/2007 12:00:00 AM
I have the following contact us submission form.
http://www.remarkableleadershipbook.com/contact.asp
When I submit using Firefox on either my laptop to my desktop, I get
single entries in the db.
When I submit using IE 6 or 7, I get duplicate entries in the db.
I had a friend test on bo... more >>
Back to Basics
Posted by John Peach at 6/18/2007 12:00:00 AM
How to i pass an asp array to a client side vbscript array ?
Thanks
John
... more >>
FREE ASP BLOG
Posted by vunet.us NO[at]SPAM gmail.com at 6/17/2007 2:36:56 PM
Can anyone recommend me a good FREE ASP blog? I've seen some, but I
just want to hear personally from you, ASP experts, and possibly a
link to blog.
... more >>
is a record empty, then .......
Posted by LeentjeĀ® at 6/17/2007 12:00:00 AM
hi,
i'm trying to determine if a record is empty
and when it's not, it has to show that record
to test, I put three X's in the code
the content of rs("opmerking") isn't shown
but the three X's are there
Does someone know why ?
Here is my code:
<%
While not rs.EOF
If not rs.E... more >>
best forum?
Posted by mark r at 6/16/2007 1:29:30 PM
Hi there, ive done a search through aspin and hotscripts looking for a
good forum script... anyone got any recommendations? im looking for
something secure, easy to implement and customizable (some nifty ajax
functionality wouldnt go a miss too if possible)
thanks
mark
www.neue.co.uk
... more >>
HELP: ASP JScript & VBScript interoperability
Posted by Andrew Wan at 6/15/2007 5:42:32 PM
How can VBScript code access JScript code variables in the same ASP page?
<SCRIPT LANGAUGE="VBScript">
Dim a
a = 10
</SCRIPT>
<SCRIPT LANGUAGE="JScript">
Response.Write(a);
</SCRIPT>
Also, is this valid JScript code because ASP hasn't complained.
<SCRIPT LANGUAGE="JScript">
function ... more >>
Slow ASP Pages on IIS6 / Windows 2003
Posted by Akerlund at 6/15/2007 12:22:00 PM
User clicks a link that displays a customer card and financial stats (has a
lot of database calls). Every 5 times the user clicks the same page/link it
takes about 30 seconds (normal response time is <1 second) to display. Then
you can click 4 times with a normal response time and the 5th the ... more >>
HELP: ASP JScript & VBScript interoperability
Posted by andrewwan1980 at 6/15/2007 11:24:24 AM
How can VBScript code access JScript code variables in the same ASP
page?
<SCRIPT LANGAUGE="VBScript">
Dim a
a = 10
</SCRIPT>
<SCRIPT LANGUAGE="JScript">
Response.Write(a);
</SCRIPT>
Also, is this valid JScript code because ASP hasn't complained.
<SCRIPT LANGUAGE="JScript">
functi... more >>
Write from an html form to csv format
Posted by nufanvandal NO[at]SPAM gmail.com at 6/15/2007 8:23:38 AM
Hello,
I created a web form in html, I need to create a server-side script
using ASP and embed it into the html, so that when the user clicks
submit, it sends(saves) the data from text boxes, drop-downs etc, to a
text(.txt) file on the server. It needs to be in csv format so that
they can cre... more >>
synonym for StProc prevents ADO.Parameters to Refresh()
Posted by keyser soze at 6/14/2007 3:30:17 PM
hi
i have a stored proc, pointed by a synonym
i wish to execute it vía:
cmd.commandType= adStoredProc
cmd.commandText= "s_MyStoredProc"
cmd.parameters.refresh ---> to get the collection
the last line, can't retrieve the Parameters[] collection
if i execute the stored proc directly
the ... more >>
ASP Virtual Directory GetFolder Error
Posted by lspoulin NO[at]SPAM gmail.com at 6/14/2007 7:43:45 AM
Hi,
We have a webpage browsing folders within the wwwroot. We need to
access a remote shared directory the same way.
We created a virtual directory in IIS with an alias pointing on this
remote directory. The virtual directory is accessible when we type it
in the address bar of IE but when w... more >>
testing tool
Posted by Raj at 6/14/2007 5:46:03 AM
From: "Raj" <raj@track-mate.net>
Subject: Testing tool for ASP
Date: Thursday, June 14, 2007 5:38 AM
May I have the list of good ASP testing tools available on the market?
Thank you,
Regards,
Raj.
... more >>
vPath cutting off path location name?
Posted by zz12 at 6/13/2007 4:41:08 PM
Hello. We have a SearchResults.asp page that returns a list of asp pages
that are associated with the user's search parameters that they type in in a
search page called something like Search.asp. We noticed that the last line
in the following rs("vpath") value lists the path up until the fir... more >>
error accessing property of an object
Posted by Kevin Blount at 6/13/2007 3:57:55 PM
I'm tyring to access an object created by using a method from a third
party API. The documentation tells me what object should be return,
and the properties of that object, but when I try and access one of
those properties I've shown an error message saying that the Object
doesn't support this p... more >>
BASE64 Encoding and don't want to use session variables
Posted by MrHelpMe at 6/13/2007 10:39:09 AM
Hello again all,
I've finished my whole application and now I don't like the whole
session variables that I am using. I have a form, user fills in info
clicks submit and using CDOSYSMail an email link gets created with an
encoded query string. i.e
http://www.yahoo.ca?#$@%@&#%#$@&^@%# which t... more >>
The file '/Customer/Login.aspx' has not been pre-compiled...
Posted by Mike at 6/13/2007 9:19:00 AM
I have an asp.net 2.0 web application that I have pre-compiled and deployed
to a Windows 2003 server. When I try to access the web application I get the
following message in my browser:
'The file '/Customer/Login.aspx' has not been pre-compiled, and cannot be
requested'.
If I rename the ... more >>
Running App From within ASP script not working
Posted by Allen at 6/13/2007 8:04:26 AM
SO: W2003
Web server: IIS6 & ASP 3.0 (not .NET)
I use this simple script:
<%
RESPONSE.Write "<BR>INIZIO PROCEDURA CONVERSIONE XLS..."
'CREO IL FILE EXCEL
Set objWSH = server.createObject("wscript.shell")
stringaexe = "C:\InetPub\xxxxxx\quanti\download\ConvertXLS.EXE /S
""c:\Inet... more >>
Looping question
Posted by David at 6/13/2007 7:36:28 AM
Hi,
I have an asp page which lists records out in rows
Each record has a checkbox with a value parameter equal to the
RecordID
When the form is run, it goes to a page which I am trying to create 1
report printed after the other.
i.e. if the user selects 3 records on the form, the report is... more >>
|