all groups > inetserver asp general > april 2007 > threads for april 22 - 28, 2007
Filter by week: 1 2 3 4 5
CDONTS & Unable to bind to the destination server in DNS
Posted by Sin Precedente at 4/27/2007 3:30:09 PM
I have a win2k server with multiple domains on it many of which have a
generic contact us page with a form that when submitted calls an .asp
page that utilizes CDONTS. These pages have worked extremely well in
the past until a couple days ago when all of a sudden every time that
page is called ... more >>
DB Record As Comma Delimited String
Posted by rn5a NO[at]SPAM rediffmail.com at 4/27/2007 8:19:27 AM
A MS_Access DB table has 3 columns - ID, UID & Location. ID is an
AutoNumber column, UID is a foreign key (the primary key UID column
resides in another table). Each UID can have multiple entries under
the Location column something like this:
---------------------------
UID Location
----... more >>
How Can I Run Scripts to Get Client Info?
Posted by vunet.us NO[at]SPAM gmail.com at 4/27/2007 7:39:24 AM
Hi,
My web application needs to retrieve some client's info, such as MAC
address, IP, OS, etc.
Java Applet does it well (with one time security warning). But if Java
is not installed, I am unable to run applet.
So, I need to find the equivalent in, perhaps, VBScript.
The question is: how can I... more >>
Hide code in a pure ASP application
Posted by Gianp at 4/27/2007 7:24:01 AM
Hi at all.
I have an old pure ASP application.
Is possible to build a old ASP application in order to give to final user an
application that hide its code?
If not, how i do to reach this goal?
Tanks,
Gianp. ... more >>
Multiple Select List
Posted by rn5a NO[at]SPAM rediffmail.com at 4/26/2007 6:15:43 PM
A Form has 2 select lists. The 1st one whose size is 5 (meaning 5
options are shown at any given time) allows multiple selection whereas
the 2nd one allows only 1 option to be selected at a time.
When an option is selected in the 2nd select list, the ASP page posts
itself. Assume that the 1st ... more >>
Concatenating Data Items
Posted by OutdoorGuy at 4/26/2007 2:38:37 PM
Greetings,
I have the following code in an .aspx web page and am receiving the
error: "Compiler Error Message: CS1026: ) expected". I can't see where
it is expecting an extra parenthesis. The line of code it fails on is
the following:
<asp:Label id=lblName runat="server" Text='<%#
DataBi... more >>
Regular Expression help
Posted by Rob at 4/26/2007 12:26:19 PM
Hi,
I need to convert our word documents to html for our website. I've used
MS Word's "Save as HTML" feature and ran "Microsoft Office HTML Filtrer
2.0" to clean up the code but I am stuck with a lot of additional code
and I want to write a script that will do a custom cleanup.
The Word docum... more >>
best timing for clean the session variables
Posted by c676228 at 4/26/2007 11:24:01 AM
Hi all,
I usually clean the session when the result page is presented to the user.
At this time, say an email confirmation was sent to the user and a pdf file
they can becdownloaded from the result page.
But if the user click the refresh or back button etc. for some reasons, they
pdf file is... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
asp datatypes converted to JSON
Posted by michal at 4/26/2007 9:30:49 AM
hi guys,
i thought you might be interested in a nice JSON class which converts
ASP datatypes (basic datatypes, dictionaries, recordsets, ...) into
JSON so that javascript can easily understand it ...
you'll find the demonstration and the download here
http://fabiankoehler.de/wdb/2007/04/26/gene... more >>
Return an Array that contains only the diffrent items from 2 arrays
Posted by Erv at 4/26/2007 8:42:18 AM
<%
' Return item that are NOT duplicated in either array
function ShowDiff(array1, array2)
dim d, item, thekeys, build_arr
' Build Array - a command that will be Execute
build_arr = "anArray = ARRAY("
' Loop through the first array, add to output
for x = lbound(array1) to ubound(arra... more >>
asp time function
Posted by munusoni NO[at]SPAM yahoo.com at 4/26/2007 8:21:55 AM
hi,
i wanna know is ther any function in ASP that i can use to masure the
time like stop watch or something.As if i want whenever client opens
my page it will show to him for 20min.If anybody knows any function
that i can use please tell me.
... more >>
Update and Delete
Posted by Brett_A at 4/26/2007 6:07:33 AM
Any reason why this code doesn't work? It doesn't generate any errors
but it doesn't update the data.
<%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%>
<%
on error resume next
'request variables
report_id = Request.querystring ("report_id")
ad_id = Request.querystring ("ad_id")
report_count = ... more >>
Simple if...else asp/html question
Posted by Lawrence at 4/26/2007 4:11:45 AM
Hi
I have only begun to look into ASP due to an assignments requirements
(I usually code in PHP), one feature in PHP is to be able to do an
if...else statement, where if a certain statement is true then a chunk
of HTML can be outputted...
Basically I want to be able to do this in ASP to use... more >>
Javascript question
Posted by Man-wai Chang at 4/26/2007 12:00:00 AM
I have a form formABC that has a textbox plus a button. On clicking the
button, window.open() a popup window for user to select a value. The
value will then be passed back to formABC's textbox.
Now I want formABC to submit itself *AFTER* the textbox got a value. How
could I do it?
--
... more >>
Execute program and redirect
Posted by Christian Schmelzer at 4/26/2007 12:00:00 AM
Hello,
I'm not very familar with ASP, normally I'm using PHP.
I am looking for a small script which:
- executes a program on the server with given request parameters
- waits until the program finishes
- sends a http redirect header
I know how to do it with PHP but the server supports ASP... more >>
unable to load msvcm80.dll webservice
Posted by Smart Software at 4/26/2007 12:00:00 AM
I have a webservice and iis webserver
if i open de asmx file i get errors saying Unable to load DLL 'msvcm80d.dll'
i added the modules to the path directories and the directorie containing my
webservice.dll file
still get the same error.
any help would be appreiated.
N. Karademir
... more >>
Forgotten Password script
Posted by Andrew Murray at 4/26/2007 12:00:00 AM
I'm a novice at coding and cannot get the script below to work I'm
receiving an Error 500 in the web browser when trying to run this script.
The site is www.murraywebs.com and the link is 'Retrieve Password' under the
logon form. the idea is to submit an email address and the password is
e... more >>
gzip and binarysend
Posted by .nLL at 4/25/2007 5:25:53 PM
hi. i have recently enabled gzip compression on my server and it works
fine. but i have noticed something wierd.
To protect my self from hotlinking i use a simple code to send my
download with binarysend method. here is the code for an image
download.
Set objStream = Server.CreateObject("AD... more >>
atomic transaction
Posted by c676228 at 4/25/2007 5:18:02 PM
Hi all,
In asp.net, there is an object sqltransaction we can use to garantee the
data will be written to database either completely or none will be written
into database.
I am not sure if there is a similar thing I can use in classical asp.
Can you provide some info?
Thanks
--
Betty... more >>
post xml data back to external resouces in B2B solution
Posted by c676228 at 4/25/2007 5:14:03 PM
Hi all,
When an external resouce programmatically post the XML document as content
of http post request, and at server-side, I can read the XML data from http
request's
body. Just like this example provided by Steven Chen:
#Happy Days Are Here Again: Posting XML to the Server
http://m... more >>
Create Rss feed from data in database
Posted by Billy Barth at 4/25/2007 4:10:52 PM
I would like to create a RSS feed from my Access Database.
I have an Access table for news which has the article title, date, and
story in it. What I would like to do is pull the data from there into an
xml file to create the RSS feed, so when users upload a news story it
automatically update... more >>
share session data between asp and asp.net
Posted by Nayana Thara at 4/25/2007 4:23:10 AM
We have a web site where we have asp and asp.net.
how can we share session data b/w the two environments.
... more >>
share session data between asp and asp.net
Posted by Nayana Thara at 4/25/2007 4:22:57 AM
We have a web site where we have asp and asp.net.
how can we share session data b/w the two environments.
... more >>
Data mining?
Posted by Tom at 4/25/2007 1:31:53 AM
Hi all,
I wonder if anyone can give me some help here.
I have permission from a colleage to use some data from his website,
now I need to take the data and intermingle some of the information
with data from my database. I only have access to the HTML of the
external site, there's no XML fee... more >>
Tool for converting Access Queries & Forms to ASP for Web ?
Posted by MyEmailList NO[at]SPAM gmail.com at 4/24/2007 1:32:47 PM
We have an Access data base with severl tables, queries and forms.
We want to put it on the web.
Is there a tool that will convert the Access queries and forms to ASP?
Sorta like "splitting" the database... but instead of an Access Front
End... have an ASP front end?
Thanks for any help... more >>
using recordset object through session object
Posted by munusoni NO[at]SPAM yahoo.com at 4/24/2007 6:06:35 AM
Hi everyone,
i am using ASP 3.0 to create web pages for a college project and i am
having problems in using recordset object through session object to
pass data to all web pages.Anyone tell me how to make recordset and
connection objects sessional.please i have a project to finish.
thanks in ad... more >>
asp file upload question
Posted by will.smothers NO[at]SPAM gmail.com at 4/24/2007 4:51:53 AM
All,
I have two Windows Server 2003 boxes running IIS 6.0 webservers that
host our proxy pac file. These two servers are behind a network load-
balancer and house our corporation's Proxy PAC file. I am working on
developing an ASP-based file upload solution for our Proxy team so
that when they ... more >>
Recordset paging headache .....
Posted by David at 4/24/2007 2:52:11 AM
Hi,
I have always wanted to get the following working, but have never yet
mastered it :-(
I have an asp page which displays a list of records depending on what
was selected via another form.
I want to have these results broken down, displaying only 10 records,
with links underneath to dis... more >>
error handling - rolling back changes
Posted by brendan.wong NO[at]SPAM gmail.com at 4/23/2007 9:49:42 PM
hello. i'm trying to incorporate error handling into my application,
but i've run into a dilemma.
i've already performed 10 successful INSERTS, but on the 11th INSERT,
the application fails for some reason (say for example, i tried to
perform an INSERT into a table that doesn't exist). logic... more >>
ASP Double click in buttons designed in dream weaver
Posted by Erik Adas at 4/23/2007 2:52:03 PM
Somebody can help me with the next problem.
In an application with ASP pages and SQL Server 2000, there are buttons
developed with dream weaver, in customer instalations those buttons work with
double click and open the respective page, in our instalations, the same
application, the same bu... more >>
Dynamically Creating repeating tables with ASP and CSS
Posted by marijuanated NO[at]SPAM gmail.com at 4/23/2007 8:39:02 AM
Hi All,
I am generating a series of tables in CSS. The tables should repeat
themselves for a number of times governed by a counter that is
calculated at runtime by the ASP code. The problem is that I have used
top margins to position the tables in the ASP page.
So the tables when repeated s... more >>
asp page that query Exchange ldap attributes (Error 70 with External account)
Posted by ouistyty NO[at]SPAM gmail.com at 4/23/2007 7:59:11 AM
Hi We have a simple asp page that query LDAP attribrute.
Everithing is working fine using a native domain account. but when
using an external account we have an error 70, acces denie.
Here's some basic info on our structure.
- Domain/Forest A with Exchange
- Domain/Forest B with external ... more >>
AJAX
Posted by vinodkus NO[at]SPAM gmail.com at 4/23/2007 12:53:50 AM
hello Friend
I dont know more about AJAX. Just I wan to know if I want to use AJAX.
What I have require to install it. Can i use it with ASP?
... more >>
Dim inside Select case executes in any case?
Posted by aa at 4/23/2007 12:00:00 AM
Code like this
=======================
Select case q
Case "a"
Dim arr(5)
Case "b"
Dim arr(2)
end select
=====================
returns an error saying variable arr redefined.
Should it be like that or an I using Select incorrectly? Perhaps... more >>
inserting a footer at a regular inteval
Posted by aa at 4/23/2007 12:00:00 AM
If I have a set of documents on a letterhead with a header and footer and I
want them in HTML look as they look on the paper - i.e. if a document is
longer then one printed page, the footer and then the header are inserted -
how do I do it in ASP?
I.e. is there a way to monitor page length d... more >>
VB ASP and SQL
Posted by Joe at 4/22/2007 1:28:55 PM
Hi,
I am converting a VB .ASP using an Access Databese program to a
VB .ASP using a SQL database, I am almost done There is one problem,
I have a field which is a ntext (memo field in Access) that won't
display in a HTML table:
"<td><font size="2"><%=MRMTitle%></font></td>"
It will... more >>
|