all groups > inetserver asp general > june 2005 > threads for june 22 - 28, 2005
Filter by week: 1 2 3 4 5
Search two databases with ASP?
Posted by Willem at 6/28/2005 9:06:35 PM
Hi,
I have a newbie question: is it possible to make a search form in asp that
searches in two different databases (access)?
Willem
... more >>
CDO Email Help
Posted by Andrew at 6/28/2005 8:20:02 PM
I have a windows 2000 sv, with exchange 2000 running with IIS as well. I am
tring to send an email with an attachment with CDO.
Set cdoConfig = CreateObject("CDO.Configuration")
with cdoConfig.Fields
.Item(sch & "sendusing") = 2 ' cdoSendUsingPort
.Item(sch & "smt... more >>
SAX and ASP tutorials
Posted by PedroX at 6/28/2005 2:42:28 PM
Can someone point me to any tutorials on how to use SAX 2+ with ASP to
parse XML ? Thanks in advance.
... more >>
date and time
Posted by abcd at 6/28/2005 1:56:24 PM
How can I get date and time on the server. I want to log the date and time
on the server when the ASP page is accessed.
thanks
... more >>
Do I need IIS?
Posted by James at 6/28/2005 12:06:24 PM
If I want to just run basic ASP scripts and set up virtual directories on a
new machine, do I need IIS or is there some other utility I can use to make
this possible? XP Pro...(sans IIS)
Thanks
... more >>
Out Of Memory - What Memory?
Posted by MSUTech at 6/28/2005 7:39:09 AM
Hello All,
I am getting an ASP error.. that tells the server it is OUT OF MEMORY.. then
the server displays a message about the DLLHOST.exe and it waits for an "OK"
from me... after hitting OK... it goes back to working fine.... BUT, while
the notification is up on the screen... the websi... more >>
Im experiencing strange xml transform problems
Posted by frustratedcoder at 6/28/2005 6:33:09 AM
When I call the transformnode on my xml object like this:
response.write xmlobj.transformnode(xsl) I get the actual xsl sent to
the browser.
Here is my code:
<%@LANGUAGE="VBSCRIPT"%>
<%
Dim xmlhttp, xsldoc, xmldoc
set xmlhttp = Server.CreateObject("Microsoft.XMLHTTP")
xmlhttp.ope... more >>
Folder Permissions
Posted by JA at 6/27/2005 10:23:17 PM
Hi,
Does anyone know of an asp script, online somewhere, that I can use to find
out the permissions of a folder? My ISP says these folders have full
permissions, but my programs say "permission denied". I don't know if it is
the programming, or if the folder don't really have the right perm... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Replace HTML
Posted by John Smith at 6/27/2005 8:44:54 PM
Hi,
I'm building a search engine for a site that uses HTML in the content
management. I wanted to return search results but also filter out any HTML
code that might interfere with the search results formatting. Is there an
easy way of doing this or am I left with the option of using replace... more >>
File System Object question
Posted by PedroX at 6/27/2005 2:59:19 PM
I have about 200 documents to which I need to write a header and a footer.
Appending (the footer) is easy, but I cannot figure out how to write to the
very beginning of the file. Any help would be appreciated
... more >>
Req: ASP and AJAX resources
Posted by mark | r at 6/27/2005 12:51:32 PM
anyone know of some good ajax resources working with ASP as most of the
stuff on the net is PHP
thanks
mark
... more >>
Print envelope
Posted by David C at 6/27/2005 12:42:16 PM
We have a classic ASP intranet web site that has been around for a while.
Our customer wants to be able to print an envelope from the contact name and
address table. We have other reports that we display and print from the
HTML generated by our ASP code, but have not been able to find any way... more >>
return recordset of images in specific cells in a table
Posted by David Shorthouse at 6/27/2005 11:58:25 AM
Hello folks,
I have an interesting problem and am looking for some advice. I am
hoping to build an asp whereby records are pulled from SQL Server. These
records will be merely file locations for thumbnail images I hope to display
in a grid. Rather than having a grid be constructed row-t... more >>
OleDbCommand Selecting Variable Data
Posted by Jason Steeves at 6/27/2005 11:51:02 AM
-Dim cmd As OleDbCommand
-cmd = New OleDbCommand("select * from qmsstats where firstname='jason'",
OleDbConnection1)
-OleDbDataAdapter2.SelectCommand = cmd
-DataGrid1.Visible = True
-OleDbDataAdapter2.Fill(DsQmsStats1)
-DataGrid1.DataBind()
In the above example I need to change 'jason' to ... more >>
ASP Tear functionality
Posted by Chris Kennedy at 6/27/2005 11:04:32 AM
Could anyone point me to some code/pointers that would pull down the HTML of
a page as a string, a little like ASPTear?
... more >>
How to find errors in code?
Posted by Scott at 6/27/2005 10:12:49 AM
I'm coding in classic asp and can't figure how to get IE6 to display some
kind of descriptive message about code errors? I have the correct settings
under ADVANCED in IE's options selected.
What bugs me is sometimes IE will report the line number and a message, and
then other times it's the... more >>
'access denied' calling remote DCOM NT service from ASP
Posted by Sergey V at 6/27/2005 12:00:00 AM
Having following problem
1. Client: ASP application with anonymous access to be running as
DOMAIN\my_user on WinXP
2. Server: DCOM NT Service runs on remote host (W2K Server) under the same
account DOMAIN\my_user
security within server is initialized using
hr = CoInitializeSecurity... more >>
Choose a Folder with ASP.Net
Posted by Peter Wallington at 6/27/2005 12:00:00 AM
Hi All,
I want to allow a user to select a windows folder for reading. I have tried
to work it out without success. Can anyone help me out or point me in the
right direction. I am an experienced VB6 programmer but this is my first
ASP.Net project.
TIA,
Peter Wallington.
PS: I would... more >>
Submitting a form
Posted by Griff at 6/27/2005 12:00:00 AM
I've inherited an ASP application that currently builds up a URL with a
series of keys and values (http://url?key=value&key=value&key=value).
Having built this up programmatically, it then does a Response.Redirect
command.
The problem I have is that I need to add a new key and value to thi... more >>
xmlhttpRequest caching problem
Posted by jmt at 6/26/2005 7:06:03 PM
Hi,
We are having a problem with a xmlhttpRequest request returning a cached
version of the request - the code we are using is inserted below.
Has anyone else had this problem before - or have any ideas on what we may
be doing incorrectly.
Thanks
JMT
----------------------------
... more >>
Append XML using ASP
Posted by thomas at 6/26/2005 12:00:00 AM
This should be pretty simple for you guys. I've been trying to append values
to my XML file but I can't get it to work correctly.
index.html passes the values of a form to the new_user.asp file and I want
it to write my members.xml file.
Once the xml file has been written and saved, I coded ... more >>
System DSN Faster Than File DSN!
Posted by Arpan at 6/25/2005 11:29:41 PM
Microsoft, in one of its "Help & Support" pages on ADO, says that a
System DSN is three times faster than a File DSN. I find that a bit odd
for the simple reason that won't it be faster for a script to access a
file to get info about the database source than access the same info
from the registr... more >>
Parameters to Command Object!
Posted by Arpan at 6/25/2005 11:01:17 PM
Microsoft advises not to pass parameters to the Command object in the
Execute statement. Why?
Thanks,
Arpan
... more >>
Assigning a default value to a function-variable
Posted by 0rsted at 6/25/2005 7:16:01 AM
Well, it's quite simple, it's easily done in C, but in ASP (and VB in
general) i haven't been able to see it done...
function setvalues(var1, var2="a", var3="b")
if var2="a" then
response.write("Var2 wasn't defined")
end if
if var3="b" then
response.write("Var3 wasn't defined")
end if
en... more >>
Need to access ASP from a middle-tier
Posted by Mr. Smart at 6/24/2005 9:32:03 PM
I have a middle-tier written using Foxpro. I'd like this tier to coommunicate
(that is pass some variables to ASP). I defined a Session variable somewhere
in my ASP file, e.g. Session("Usercode") = Somevalue. Now somewhere else, I
want to change this value. I tried this:
UserSession = CREATEO... more >>
Displaying Word Documents
Posted by Jason Steeves at 6/24/2005 4:05:02 PM
Can someone please point me in the right direction for displaying word
documents onto a webpage? The word documents will contain
text/tables/pictures. I am new to this and can't quite find what I need.
Thanks,... more >>
how can I get the url?
Posted by middletree at 6/24/2005 3:39:18 PM
How can I grab the URL and place it into an ASP/VBscript variable? I'm
having a hard finding it in the documentation. Probably don't know the
proper term to use.
But if I am brought to a page, and it happens to to have an address of (this
is for an Intranet app):
http://intranet/displaydata... more >>
Outlook Template
Posted by BJMcLaug at 6/24/2005 9:58:29 AM
Is it possible to open a Outlook template from my webpage?
The template is located on the web server.
... more >>
Displaying latest file in a directory
Posted by maxhauser NO[at]SPAM mailcity.com at 6/24/2005 9:56:56 AM
I have quick little page that I need to create but its sounds like the
concept is not so quick.
I have a folder with eight or ten files that can be displayed in a
browser. I need to display the file with the latest creation date. I
imagine there is some kind of ASP function that could like at ... more >>
How can i list ALL open connections
Posted by mark | r at 6/24/2005 9:54:45 AM
is there any ASP script that will display a list of all open connections on
a shared host
im trying to determine if my previous problem with "system resource
exceeded" can be resolved by brute force?
Mark
www.iosilver.co.uk
... more >>
How can i use ASP to show the TOP 5 Record in the database ?
Posted by craymel at 6/24/2005 9:39:19 AM
Hi , can i know how can i make that the page show only TOP 5 record in
the database ?
--
craymel
------------------------------------------------------------------------
Posted via http://www.codecomments.com
------------------------------------------------------------------------
... more >>
ADO recordset paging
Posted by Ing. Branislav Gerzo at 6/24/2005 8:59:37 AM
Hi all,
I was at http://aspfaq.com/show.asp?id=2120, read all techniques.
I choose the fasted one - it is the last "SP ROW COUNT".
SP looks like:
CREATE PROCEDURE SampleCDs_Paging_Rowcount
@pagenum INT = 1,
@perpage INT = 50
AS
The problem is, I want dynamically change SQL sele... more >>
Output in the wrong place
Posted by hcastanho NO[at]SPAM gmail.com at 6/24/2005 8:45:18 AM
Hi all
I'm looping thru an ASP FOR Cycle that populates a table, but when I
output it, the code appears before the HTM tag instead after the body
(very weird to me).
I'm using <script language="vbscript" runat="server"> tag to enclose
the ASP Code. Does it have anything to do?
Here's a cod... more >>
Return recordset from a class.
Posted by terje at 6/24/2005 12:00:00 AM
I have this code:
Class MyClass
Private Sub Class_Initialize()
If IsEmpty(MyRecordset) Then Set MyRecordset =
Server.CreateObject("ADODB.Recordset")
End Sub
Public Function Foo
Set Foo = MyRecordset
End Function
End Class
And I call this class with code like this, usin... more >>
What can cause the value in Application variable to disappear?
Posted by evangeline at 6/23/2005 6:31:01 PM
We have ASP application running on IIS 5.1 and Windows 2000 server. The ASP
application has few Application variables setup in global.asa. Something like
this:
Application.Lock()
Application("fun")="play"
Application.UnLock()
There is no other code in the ASP application to change the valu... more >>
For Loop Through Recordset
Posted by !TG at 6/23/2005 4:00:36 PM
I currently use Do while loop, but I'd rather use a For Loop though I
have never gotten the hang of them.
Would some one please be so kind as to show me how to loop through a
recordset.... more >>
asp errors in log files
Posted by Mark at 6/23/2005 2:29:02 PM
Hi...
I haven't found this explicitly stated in any documentation, but i just
wanted to confirm this with people here. When there's an asp error on a
page, the request has appended to log something of the format
|-|ASP_0xxx|description. It also seems that this is inserted at point of
er... more >>
SELECT queries work, INSERT and UPDATE fail?
Posted by Paul at 6/23/2005 1:41:39 PM
I have run into a strange problem with a site I am working on. My SELECT
queries work fine, but I just tried to add an UPDATE statement and it fails.
A test showed that INSERT fails also. I created a new table just for testing
called "blah" and it had the same results.
My statements:
"UPDA... more >>
Do I need close veriables?
Posted by Lin Ma at 6/23/2005 10:32:37 AM
Hello,
I have a general question. In my asp page, I have DB connection, Recordset,
and some variables like
dim name, conn, rs
set conn = Server.CreateObject("ADODB.Connection")
....
set rs= server.createObject("ADODB.Recordset")
name = rs("username")
I know I need to close the conne... more >>
onload redirect not working on Windows Server 2003
Posted by robertst at 6/23/2005 7:48:03 AM
I have an asp page that looks like the following (simplified):
<HTML>
<HEAD></HEAD>
<BODY onLoad="javascript:document.frmSub.submit();">
<FORM NAME="frmSub" action="http://www.microsoft.com" METHOD="post">
<INPUT TYPE="Hidden" NAME="OrderNumber" VALUE="0">
</FORM>
</BODY>
</HTML>
I am ... more >>
querystring
Posted by Glen at 6/23/2005 3:51:01 AM
Hi,
i am working on ASP.net in c# and
i want to pass " +" in querystring but "+" is converted to space.Is there
any encoding method to show "+" in querystring... ... more >>
Problem attaching script debugger to ASP under IIS6
Posted by Andrew Taranov at 6/23/2005 3:36:07 AM
Hi!
I've got a problem attaching the Script Debugger to ASP
pages under IIS6. Set up everything following IIS6
documentation: turned on ASP debug in IIS Manager; edited
permissions for Machine Debug Manager in the DCOM
configuration, giving Launch and Activate permissions to
Network Ser... more >>
Excel Export Problem
Posted by Renjith at 6/23/2005 2:51:03 AM
Hi
when i export excel , and user selects a path in his machine , the excel is
saved in the Server(IIS) machine. The problem is because it is taking Excel
Object from IIS Server.How to solve it
renjith... more >>
Open 2 pages in 2 frames
Posted by DaveO at 6/23/2005 12:00:00 AM
Hi All
I have an asp page ( CheckUser.asp ) that checks username and password in an
online database as a page is opened. The Users name is then assigned to the
Session("UserName") variable.
If the Check_User.asp page verifies the user as a valid user, it then opens
the required page in a... more >>
Help: System Resource Exceeded
Posted by mark | r at 6/23/2005 12:00:00 AM
Microsoft JET Database Engine error '80004005'
System resource exceeded.
/webutils/include_webstats_weeklycount.asp, line 23
Anyone know what this means and how to fix it.
Mark
... more >>
Display Data in Grid
Posted by Dthmtlgod at 6/22/2005 3:56:31 PM
I am trying to display stats about our errors the users report.
The backend is a SQL database.
The fields I want a count of is just ProblemCat.
I want to see something like this.
JAN FEB MAR APR MAY
JUN
Low 0 0 ... more >>
Repost: Manipulating save button based on readonly attribute
Posted by Jack at 6/22/2005 1:37:06 PM
Hi,
I am trying to use the following code to make the save button invisible in
the asp form when the checkbox is either on or the session variable has a
particular value.
THE CODE IS AS FOLLOWS:
<%If ( cbool(l_IsChecked) = "FALSE" ) or (session("sess_FiscalFirst") <>
"Y") then%>
<input t... more >>
Hebrew Form Post
Posted by Jon at 6/22/2005 12:43:23 PM
Need some help with posting a .asp form with Hebrew form values to an
Access database. When I post it, and do the insert - garbage goes into
the database. I can sucessfully read from the db - prefacing a all my
response.writes with a server.HTMLEncode call. Help!
... more >>
FormatDateTime
Posted by Sune at 6/22/2005 12:33:22 PM
Hi,
Is there any way to define the default date/time format, instead of having
to format every single time you print a date/time?
Thanks
--
Regards,
Sune
... more >>
Manipulating a button based on readonly attribute of a check box
Posted by Jack at 6/22/2005 11:12:04 AM
Hi,
I have a asp page where a checkbox, when clicked will disable all text boxes
associated with the page.
The following is a part of a code for the checkbox with its name and
readonly attributes.
name="chk_Complete" <%= isReadOnly %>
I have to disable(or make sure does not disaplay) a s... more >>
Problems with Windows 2003 Service Pack 1 and IsolatedStorage
Posted by Simon Chester at 6/22/2005 9:38:10 AM
Hello! Can anyone help me with this problem?...
I have developed an ASP.NET (version 1.1) application which I have deployed
to a number of webservers.
The web application works fine on Windows 2000 Server computers. It also
works OK on Windows 2003 Server UNTIL Windows 2003 Service Pack 1 ... more >>
Windows scheduled job
Posted by KK at 6/22/2005 9:37:13 AM
Can a ASP page trigger a windows job?
Any ideas?
KK... more >>
Forms Doubt
Posted by Renjith at 6/22/2005 1:37:05 AM
how to set data to html form textbox from an asp page
... more >>
Forms Doubt
Posted by Renjith at 6/22/2005 12:01:01 AM
Hi
how to set data to html from textbox from an asp page
renjith... more >>
winsock proxy vs proxy in IE
Posted by Yu Chai at 6/22/2005 12:00:00 AM
Hi guys,
I created a ASP page that
1. users can run when WinSock proxy are using (ie's one is unchecked)
2. users can't run when WinSock proxy are using (ie's one is checked)
3. users can't run when WinSock proxy are not using (ie's one is checked)
4. users can't run when WinSock proxy are not ... more >>
authenticateUser
Posted by Andy at 6/22/2005 12:00:00 AM
Hi,
Does anybody know how to use the function authenticateUser in asp?
When I load my asp page, it should pass the logged on user to a variable
called 'vCreator' which should then be shown within a textbox on the screen.
My code for this section is as follows, but for some reason the fiel... more >>
|