Groups | Blog | Home


Archived Months
June 2003
July 2003
August 2003
September 2003
October 2003
November 2003
December 2003
January 2004
February 2004
March 2004
April 2004
May 2004
June 2004
July 2004
August 2004
September 2004
October 2004
November 2004
December 2004
January 2005
February 2005
March 2005
April 2005
May 2005
June 2005
July 2005
August 2005
September 2005
October 2005
November 2005
December 2005
January 2006
February 2006
March 2006
April 2006
May 2006
June 2006
July 2006
August 2006
September 2006
October 2006
November 2006
December 2006
January 2007
February 2007
March 2007
April 2007
May 2007
June 2007
July 2007
August 2007
September 2007
October 2007
November 2007
all groups > inetserver asp general > august 2005 > threads for august 15 - 21, 2005

Filter by week: 1 2 3 4 5

Cannot update or add new record
Posted by Jan G. Thorstensen at 8/21/2005 10:17:26 PM
I am using Windows XP profesional and Access 2000 but are experiencing problems updating or adding new records to my database with asp. I have installed IIS 5.1 on my computer but also on my internet site I am having problems to add a new rec. or update one. The error message is something li...more >>


setting variable in query
Posted by Joey Martin at 8/21/2005 7:59:14 PM
I have a sql query that runs on my asp page. select contactname,contactnumber,contactnumber1,contactemail,address,city,state ,zip,type,sqft,0,bedrooms,baths,lotsize,acreage,garage,comments,price,0, 0,county from table1 where active='Y' I need HASPHOTO to equal 1 if hasphoto <> 0 and HASPHO...more >>

Quotes 2
Posted by scott at 8/21/2005 11:06:04 AM
Below in GOOD CODE, I have a mix of ASP/HTML that works. I'm trying to convert the code into all ASP, but I'm failing in BAD CODE. Can someone help me with these quotes? The single quotes are very hard to master. BAD CODE: sHTML=sHTML & "bgcolor=" & tblcolor & style=""cursor:default;"" ...more >>

Solution needed
Posted by Slim at 8/21/2005 12:00:00 AM
I am building a web site where people can register for a newsletter. when they register they enter a email address into the database so we can send the news letter to them. Now what I want to do is for the owner of the site to be able to email a HTML email to the server (win 2000 with exchange) ...more >>

setting IIS 5.1 to allow upload file 1MB
Posted by Martin at 8/20/2005 7:31:29 PM
Hi, I want to change setting of IIS 5.1 to allow uploading file cca 1 MB or bigger. Where can I do this? Thanks Martin ...more >>

JS Quotes
Posted by scott at 8/20/2005 5:21:06 PM
Can someone help me with quote syntax? The single quotes with javascript function are messing me up. CODE --------- response.write ""<a href=""javascript: VerifyDelete1('del-message.asp?fid=" iActiveForumId1 & "&mode=" & thread & "&tid=" & iId "');">" & "<img src=""images/xsm-delete.gi...more >>

explorer
Posted by explorer won't start at 8/20/2005 2:14:01 PM
When trying to connect to the internet I get a message "Explorer has encountered a problem and needs to close"--it never actually connects. Prior to this problem I had a bunch of spyware despite having Ad-awareSE, pest patrol, norton anti-virus. I deleted some programs from "add/remove prog...more >>

byval and object instance
Posted by WG NO[at]SPAM . at 8/20/2005 9:31:11 AM
Here is an ASP code sample in VBScript: <% Dim x Set x = server.CreateObject("ADODB.RECORDSET") x.CursorType = 1 x.CursorLocation = 3 x.Fields.Append "custtype", adVarNumeric, 80, adFldMayBeNull x.Open x.addnew "custtype", 34 x.Update call dothis(x) ...more >>



communication between 2 HTML pages
Posted by Martin at 8/20/2005 12:00:00 AM
Hi, I want to design 2 HTML pages. The 1. page can open 2. page (page2), and the page2 can change value of a textfield (INPUT) of page1. Is it posible? Thanks Martin ...more >>

can we show the value in source code but hide it in the screen?
Posted by jrefactors NO[at]SPAM hotmail.com at 8/19/2005 10:19:17 AM
I am trying to debug some values in production server. I want to print the value of rRes(10), but I don't want to show it in the screen. I just want to show it in the source code but comment out, so that I can look at the value. Is it possible? Response.Write("rRes(10) = " & rRes(10)) will s...more >>

Schedule ASP script
Posted by Øyvind Isaksen at 8/19/2005 8:40:32 AM
Hello! I'm really confused now, I need to schedule a ASP script on my webserver (win2k3) once a day but nothing works. First I tried to use the AT commant like this: at 07:00 /every:m,t,w,th,f,s,su "www.mysite.com/script.asp" I got status = error as result. Then I tried to make a .vbs ...more >>

response.expires = -1
Posted by Martin at 8/19/2005 8:17:05 AM
Hi, I don't want an ASP page is cache by the browser. I use: "Response.Expires = -1" But each time I call this page again (from my localhost webserver), the old content is shown. Why? What can I do? Thanks Nhan ...more >>

Who can help me with a search script?
Posted by Robert at 8/19/2005 12:44:00 AM
Hello, I'm trying to build a website, with profiles of different people. But if it al more than 1000 people, i want to search for profiles, to keap it easy. BUT I Don't know how to build one.. It goes about this script: <form action="Profielen.asp?ACTION=SEARCHT&txtNickname=...more >>

Upload Image, file to IIS server
Posted by Martin at 8/19/2005 12:00:00 AM
Hi, I search for free script to enable function UPLOAD Images, Files to Webserver, and save in a directory. I have tried a free script, but it doesn't work. (http://www.freeaspupload.net), when I try the example of this page it does, but with my pages it does not. Thanks Martin ...more >>

Using Imagebuttons to submit a form
Posted by Martin at 8/19/2005 12:00:00 AM
Hi, I want to use Imagebuttons () to submit a form, as following: <form ....> <Input name="buttonEdit" type=Image onclick="ActionHandle("2")> <Input name="buttonnew" type=Image onclick="ActionHandle("1")> </form> But when I click a button, the function ActionHandle is not call. I want t...more >>

TRICK: ASP.NET methods with code blocks
Posted by TEN TOD PSA at 8/18/2005 10:54:39 PM
you can trick ASP.NET into letting you declare methods with code blocks (how anybody can survive without this i have no idea - in classic asp i haven't written any html outside of a sub/method in 8 years - ASP.NET seems to be going backwards in some respects) (seems to me using Classic ASP but...more >>

read mail
Posted by jamal at 8/18/2005 7:23:49 PM
Hi guys this is my second time posting this question I am hoping I get an answer this time. I need to access my pop mail account and download my e-mail to a database file which is on the my localmechine. is any one of you try to read mails with asp? in case you might think so; ...more >>

ASP.NET form-based authentication help
Posted by Sword at 8/18/2005 2:38:40 PM
I have an ASP.NET application that using form-based authentication. I have a logon page, the user can enter his user name and password – which stored on a remote SQL server, after click the Logon button, if both are correct, the application will redirect the user to a welcome page. It’s ve...more >>

Dynamic DataGrid
Posted by CanoeGuy at 8/18/2005 12:48:08 PM
I have been trying for the last two weeks to display a dynamic DataGrid. The data that I'm pulling from a SQL Server DB will have whole columns that will be either NULL or 0. I want to display only the fields that have actual data in them and either not display or hide the columns that have ...more >>

Saving Unicode in SQL using ASP
Posted by hilio NO[at]SPAM cambridgesoft.com at 8/18/2005 7:38:11 AM
I have an asp application that should allow the user to enter Unicode characters. The characters appear correctly in the browser. When saved in sql 2000 thought they are converted to question marks etc. When I enter the characters directly in SQL (using enterprise manager), they appear corre...more >>

ServerVariables("URL") return incorrect pagename
Posted by Martin at 8/18/2005 12:00:00 AM
Hi, From Page1.asp, I use "Server.transfer" to "REDIRECT" to another asp page (page2.asp), in page2.asp I use Request.ServerVariables("URL") and Request.ServerVariables("REFERER") to get the lastpage and the actual page, this method (or property) return incorrect values: "Page1.asp" and "" ...more >>

Read current url
Posted by IranMania at 8/17/2005 2:00:56 PM
Is there a way that I can read the current url. I have an asp page currently such as default.asp?x=1&y=2&z=3 Now I want to keep the existing parameters and attach another parameter to it and resend to default.asp As the original parameters are dynamic, and may or may not be generated, the...more >>

Loop round all querystring parameters?
Posted by Mike at 8/17/2005 11:40:45 AM
Is it possible to loop round all querystring parameters in a web page (i.e. access them without hardcoding them)? I want to do this because I have a page that has different querystring variables passed into it depending on the content of the calling page. ...more >>

Unable to find an entry point named EnumerateSecurityPackagesW in
Posted by TRI_CODER at 8/17/2005 10:25:03 AM
I am trying to solve the following exception. The exception occurs when my ASP.NET code behind code attemtps to access a remore site using SSL. Please note that all certificates are valid and the remote site is trusted. Also, my web site uses a custom HTTPModule implemented in a DLL named Secu...more >>

Unable to find an entry point named EnumerateSecurityPackagesW in
Posted by TRI_CODER at 8/17/2005 10:22:03 AM
I am trying to solve the following exception. The exception occurs when my ASP.NET code behind code attemtps to access a remore site using SSL. Please note that all certificates are valid and the remote site is trusted. Also, my web site uses a custom HTTPModule implemented in a DLL named Secu...more >>

How Do I send buffer to Printer ?
Posted by Jay Villa at 8/16/2005 3:07:43 PM
Set objFSO = Server.CreateObject("Scripting.FileSystemObject") Set objTemplateFile = objFSO.OpenTextFile(Server.MapPath("template.txt")) strTemplateText = objTemplateFile.ReadAll objTemplateFile.Close Set objTemplateFile = Nothing strTextToPrint = strTemplateText strTextToPrint = Replace(s...more >>

truncate data from 1 million to 1 dollar using formatCurrency/CCur functions?
Posted by jrefactors NO[at]SPAM hotmail.com at 8/16/2005 2:48:56 PM
I want to ask what are the possiblities to truncate data from 1 million dollars to 1 dollar by using formatCurrency and CCur functions? The ASP page has code <%= formatCurrency(rs(14)) %>, the database rs(14) is 100000000. But when it displays it in the screen, it shows $1.00 with code <%= fo...more >>

kill a session?
Posted by REMOVETHISyabbadoo_2004 NO[at]SPAM hotmail.com at 8/16/2005 12:12:35 PM
w2k server as webadmin i have occasion to kill a user session and couse them to login again. I have the sessionID saved in a file. is there a way to kill the user session without disturbing others? tia ...more >>

what kind of error is this?
Posted by Robert at 8/16/2005 11:43:34 AM
Hello, Is there sombody who can tel me what kind of error this is, and how i can fix it. This is the error: ADODB.Field (0x800A0BCD) Either BOF or EOF is True, or the current record has been deleted. Requested operation requires a current record. Who can help me? ...more >>

Form Templates
Posted by Jay Villa at 8/16/2005 10:27:21 AM
I am planning to implement some templates (around 30 templates). User will select this template from the drop down and click print. When it prints it should populate few fields from the form to template and print. Any suggestions ? Select Template _______________________ [PRINT] -Jay ...more >>

Can a variable declared in one sub procedure be used by another subprocedure?
Posted by steve at 8/16/2005 7:11:37 AM
I have Option Explicit ON by the way. I have declared a variable in one subprocedure which is being used by another subprocedure. But it doesn' seem to work. I am doing something similar to this (but obviously with much more code): <% Option Explicit Call X Call Z Sub X Dim Y Y = "...more >>

ASP to display image rather than text path ??
Posted by david NO[at]SPAM scene-double.co.uk at 8/16/2005 6:17:43 AM
Hi, I have asp pages running from a MySQL database. I have placed a path in the required field (although not quite sure on the correct format). My asp page is just displaying the text path instead of the image. I'm using response.write. The Folder is called : images This folder is withi...more >>

Use IDE of VS .NET to develope ASP
Posted by Martin at 8/16/2005 12:00:00 AM
Hi, Can I use IDE of VS .NET to develope ASP pages (not ASP .NET)? I have tried, but it seems not support this feature??? Thanks Martin ...more >>

Decoding Base64 and Saving to a file - HELP!
Posted by plank NO[at]SPAM plank.com at 8/16/2005 12:00:00 AM
Hey Peeps, Ok here is my situation.. I have a Java applet which allows the user to select files and upload them to the server. The applet converts the file to Base64 and then POSTS the data to an ASP page. The ASP code I have is: <% Base64Chars = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmn...more >>

How to randomly scan for DB updates
Posted by cvillard NO[at]SPAM gmail.com at 8/15/2005 4:52:36 PM
I am building an application with ASP that is used for keeping up to date on pending tasks. I would like to send emails when items have been stagnant, or are going to expire. Does anyone know of or have feedback/ideas on creating something (software, service) to scan the database for items and...more >>

the perfect function
Posted by Roland Hall at 8/15/2005 4:07:22 PM
Can someone please come up with a function that will accomplish this? function bugs(err, code) put user.inDark(err) fixed = code.repair(err) history.go(-1) bugs = fixed end function To call it would probably require something like this: Zap After Preempt Post Each Repair May...more >>

ASP and ASP.net
Posted by Jay Villa at 8/15/2005 11:01:23 AM
I have an existing application in asp. I need to add new functionality can I do using ASP.net ?. Please advice. -Jay ...more >>

CreateRecordset (0x80004005) Error
Posted by khan at 8/15/2005 7:38:13 AM
Error Type: CreateRecordset (0x80004005) Unspecified error /finalsite/SearchResults.asp, line 47 this is my code can any one help plz why I am getting ths error <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"> <title>St. Peter's Search Results P...more >>

how to access Active Directory from ASP
Posted by Donna at 8/15/2005 2:35:00 AM
Hello, I'm working on a ASP web application which need to use Active Directory as authentication method. I wonder if I can get some help from you, things like some sample component in VB or some window APIs i can call from asp pageand how to use it to get the username and password info . Any in...more >>

How to do single sign on function
Posted by ºa¤Ö NO[at]SPAM ¤½¥q at 8/15/2005 12:00:00 AM
i need when a user is logged in, his or her account is locked and no other ppl can login by using these account. ...more >>


DevelopmentNow Blog