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 > july 2006

Filter by week: 1 2 3 4 5

loop only deletes first pass
Posted by Jon Paal at 7/31/2006 3:12:09 PM
why is this code only deleting on the first pass when there is more than one item in the array? checking the array shows all items are present, lower and upper bounds are correct if the array holds only one item it always works ============================================== Set oConn ...more >>


back button doesn't remember new value
Posted by rharmonster NO[at]SPAM gmail.com at 7/31/2006 12:31:50 PM
I have an asp page that builds a calendar made up of images for each day. When a user selects a day, javascript changes the day selected and the next 2 days' images to a "booked" image. I place the day's value into a hidden form variable, so that when the user bounces around different months (...more >>

IIS group access
Posted by HankC at 7/31/2006 10:15:53 AM
I have a asp app that I wish to limit execution access to a universal security group during beta test... I've tried restricting permissions using ntfs, the virtual directory and the net.config file (which I assume will not work as this is not a vb.net app). So far, access is still univers...more >>

5 Standard Protocols of ASP??
Posted by rmturner23 NO[at]SPAM hotmail.com at 7/31/2006 5:45:37 AM
Can someone please tell me what the 5 standard protocols of ASP are? ...more >>

Error in this statement-->sqlSELsite = "SELECT Name FROM tblbwday WHERE B'day ="& date() &""
Posted by divya at 7/31/2006 4:29:34 AM
Hi, I have a table tblbwday with 2 fields Name and Birthday.I have written this script for displaying evryday names of the people on that day. <% set objConn =server.createobject("ADODB.connection") objConn.open "DSN=Photo" Dim sqlSELsite,ObjRSSel sqlSELsite = "SELECT Name FROM tblbwday W...more >>

Tie a file an IP address
Posted by creamy at 7/31/2006 2:17:55 AM
Please i would like to know if it is possible to restict a file to an IP address. i.e: It would only open on a system based on its IP address. Thanks. ...more >>

ASP Different Results In Firefox And IE !
Posted by lovely_angel_for_you NO[at]SPAM yahoo.com at 7/30/2006 6:31:02 PM
Hi, I have following code, picking an ID and saving it to Cookies. <% ItemID = Request("prod") Response.Cookies("THREES")(ItemID) = Request("prod") Set rdset=objConn.Execute("SELECT ID, Name, Large, Description FROM shop_products WHERE ID=" & ItemID) %> In IE it works fine a...more >>

Is this how session and application variables work?
Posted by Victor at 7/30/2006 6:26:20 PM
I've got two domain names sharing the same IP address that use ASP VBScript If I set a session variable with domain 1, it is only available for domain 1 - this is correct? If I set an application variable with domain 1, the app variable is sharing across all domains using that IP address - t...more >>



I thought <> works on strings? no?
Posted by mike at 7/28/2006 10:27:14 PM
I've got some code like this: gametype_id = Request.Form("gametype_id") response.write "<br>gametype_id from form>" & gametype_id & "<" response.write "<br>gametype_id from database>" & rs_state("gametype_id") & "<" if gametype_id = "" then gametype_id = rs_state("gametype_id"...more >>

how to insert datetime into database using ASP?
Posted by Bon at 7/28/2006 9:07:03 AM
Dear all How can I convert a datetime in Short Date format to General Date format and then insert into SQL database? I get a date from a field using Request("in_date"), which is in Short Date format. Afterwards, I need to convert it into General Date and then insert the date into database....more >>

New record every week?
Posted by Jen at 7/28/2006 12:00:00 AM
Is it possible (how) to display a new record every week (or day) from a recordset? ...more >>

Destroying a Session
Posted by le0 at 7/28/2006 12:00:00 AM
Hello Guys, I have this problem on my page. Im doing my "Logoff" portion, everytime I click "Logoff" then click the Back button in my browser the previous page still appears. Heres my code <% If Request.QueryString("login")= "logout" Then Application.Contents.RemoveAll() ...more >>

Dictionary object
Posted by Betina Andersen at 7/28/2006 12:00:00 AM
I have a dictionary object, then I create a new dictionary object and sets it equal to my original, then I pass the new dictionary object to a function that changes some of my values - but then my original dictionary also gets changed and that was not the intention, can someone explain to me w...more >>

ASP Excel worksheet
Posted by magix at 7/27/2006 11:54:08 PM
Hi, If I have following code to read the excel file, how do I validate the worksheets name ? In code below, if the filename doesn't contains "SomeName" worksheet, I will need to prompt error. set oConn = server.createobject("adodb.connection") oConn.Provider = "Microsoft....more >>

'object required' error using FileSystemObject
Posted by google NO[at]SPAM westernwares.com at 7/27/2006 9:14:47 PM
I am trying to use the following ASP code to examine the file names in a folder: Dim fso, f, fl, s, fs Set fso = CreateObject("Scripting.FileSystemObject") Set f = fso.GetFolder("C:\Inetpub\wwwroot\MySite\subfolder") Set fs = f.Files For Each fl in fs s = fl.Name 'Object Required error o...more >>

migrating an app to asp
Posted by CS at 7/27/2006 6:48:01 PM
We have a huge fat client database enabled application. It is a MDI app with a very rich graphic interface and hundreds of different screens and dialog windows. There is a lot of client side processing, validation, file manipulation even interaction with 3rd party apps (i.e Microsoft Office). ...more >>

ASP page that calls ActiveX object fails under x64 IIS 6
Posted by m.piceni NO[at]SPAM newsgroup.nospam at 7/27/2006 5:36:11 PM
Hi, I'm porting a Web site from 32 bit IIS 6 to x64 IIS 6 (Windows Server 2003 x64 R2) and I'm having trouble using an ActiveX object inside an ASP page (old ASP, not ASP.NET). The CreateObject call fails under x64 IIS, while is working fine under x86 IIS. I found out that the problem may ...more >>

CodePage=65001, breakpoints not right
Posted by eric.goforth NO[at]SPAM gmail.com at 7/27/2006 12:57:47 PM
Hello, I went from <%@ Language=VBScript %> to <%@ Language=VBScript CodePage=65001 %> at the top of all my .asp files and now when I debug my app in Visual Interdev or in VS.NET 2005 the breakpoints don't look right. I set a break point on line 10 it will show up on line 9 in the IDE. Whe...more >>

Call a javascript function from ASP page
Posted by Mark at 7/27/2006 12:06:33 PM
I've searched a bunch of groups, and they say this can be done, but for some reason, I can't get it to work. Here's my ASP page: <% @ Language=VBScript %> <Script language=javascript> function cont(strTitle){ if("undefined"!=typeof strTitle){ window.opener.lo...more >>

Cannot Update Error
Posted by K at 7/27/2006 12:00:00 AM
Having some peoblems with a small ASP app. Page 1 displays a list of items. Click an item and move to page 2 where full details of that item are displayed. Page 1 works fine, but page 2 always displays the following error: Microsoft OLE DB Provider for ODBC Drivers (0x80004005) [Microso...more >>

hyperlinking
Posted by NB at 7/27/2006 12:00:00 AM
I know this is not supposed to come here, but I need a help. How do I put different hyperlinks on one jpg file? Just like a map, each state would have a different link.... thaanks NB ...more >>

PDFs in ASP
Posted by Lee Taylor at 7/26/2006 7:43:09 PM
Hi, I am looking at expanding some search engine code of mine to include PDFs. Therefore I need some mechanism to extract the text from a PDF file which I can break down into individual words so I can index them. Does anyone have any code or examples that will allow me to pull out the t...more >>

ASP - Terminating objects in memory
Posted by Lauren the Ravishing at 7/26/2006 2:47:30 PM
Hi, In ASP, is it absolutely necessary to set an object to Nothing after being used? set myObj = server.createObject("myDLL.myClass") call myObj.useClass set myObj = Nothing <--- can I omit this? I'm dealing with a large number of files with nested includes. There are many places wher...more >>

Adding Pictures
Posted by UKCB Channel Moderator at 7/26/2006 12:02:16 PM
Hi All I'm new to ASP and a few querys I have created my database in Access with the following fields StockCode (Text Box, Primary Key) Item (Memo) Price (currency) Picture (memo) OnOffer (Yes/No) and I know that access table cannot have a picture in it, only a access form using OLE...more >>

Image server control - where am I going wrong?
Posted by John Austin at 7/26/2006 10:03:01 AM
I thought I would experiment for the first time with an Image standard control in VS 2005. I pressed create web site, I copied a jpg into the App_Data folder, added an image control to Default.aspx and set the ImageUrl to the jpg ( ~/App_Data/Picture.jpg ). The picture appears in the designer,...more >>

Display Large Images
Posted by cnote at 7/26/2006 9:01:01 AM
I am trying to upload large images ( around 4 mb) from the server to show on the client. Currently I'm using an http handler to do it and breaking it into chunks sending it 1 mb at a time. Sometimes I'm getting errors, like the page won't load. Any solutions on how this is done right? Than...more >>

HOWTO Post to a URL from Server Side ASP script.
Posted by ATS at 7/26/2006 7:11:02 AM
HOWTO Post to a URL from Server Side ASP script. Please help, I'm trying to make a simple ASP page post to a URL on a seperate web site, and then get the returned HTML into a string which on service side script I can then parse. Is there any object built into IIS or Microsoft I could use ...more >>

Record set out of string space
Posted by ckseng11 NO[at]SPAM gmail.com at 7/25/2006 11:51:59 PM
Hi everyone, I had a problem that happen once only but i do not want it to repeat again. It happen when i retrieve data from my database. The process can't complete and show error 14, Out of string space. I suspect the recordset object had reach it limit that why it generate that error message ...more >>

Visual Interdev 6.0
Posted by QZ at 7/25/2006 2:35:02 PM
I installed Visual Studio 6.0. When I tried to open Visual Interdev, I got the error message "Your trial version has expired, please uninstall this trial version of 'Visual InterDev 6.0; and install the retail product", but I do installed the retail version. How do I fixed this problem? Tha...more >>

Real quick question
Posted by Franck at 7/25/2006 1:49:11 PM
Im looking since the begining of the week about saving the enter(vbcrlf) from the html <textarea> to my MySql database, it save everything but it just loose everything when saving ot the database, do i need a special component to be able to save the enter and tabs etc.. Im sure i was able to do ...more >>

Need Help. - Can't find my error
Posted by Gaby at 7/25/2006 11:33:26 AM
Hi guys, I have this ASP code that is a little long to post so but you can download it off of http://whatthedeuce.net/Form.asp I cant find out what my error is. I know it is not in my Access because I have tested my query and it works fine. but whenever i try to submit from the page the im...more >>

database
Posted by James Jones at 7/25/2006 9:36:36 AM
just wondering which is best and most secure....... Access database..... or=20 MySQL database?=20 just wondering.......thanks in advanced...more >>

Is there a better way then iframe?
Posted by Brian D at 7/25/2006 9:05:58 AM
There has got to be a better way to do this instead of using the iframe tag. I am looking for a solution that doesn't reload the entire page. There will much more than the select tag on the initial page. When it is in production, getimage.asp will have a DB lookup to determine the file name a...more >>

[OT] <div> <span>
Posted by Rob Meade at 7/25/2006 12:00:00 AM
Hi all, Apologies for the OT-ness of the post, I've only got access to Microsoft groups via Outlook at work and SiteServer.Css looks like its dead.... I'm trying to get two columns within a <div> tag - I seem to be having no end of problems doing so - this all comes from dropping (finally)...more >>

ADO connections do they clean up by themselves?
Posted by Janette at 7/25/2006 12:00:00 AM
Hi, Can anyone tell me, if you were to open a connection to a database at the top of each ASP page in a website, for example like this <% dim dbconn set dbconn=server.createobject("ADODB.connection") dbconn.ConnectionString= "File name=c:\databaseconnection.udl" on error resume next d...more >>

website search engine
Posted by Brian Quigley at 7/24/2006 10:33:10 PM
Hi, i have a website built in asp and access (to be upscaled to SQL server). i need to put in a website search engine. Anyone got any ideas on an easy to integrate commercial one ? my worry is that the pages will work with the search engine. The pages are formed as follows.... <include h...more >>

upload images to new subfolder
Posted by Jon Paal at 7/24/2006 3:14:15 PM
after submitting a form, I create and new subfolder and attempt to save images into that folder, two steps both as part of the form processing. works fine on my local machine .. fails on webhost. seems that I can only upload images to a folder which already exists instead of the new one just...more >>

Using "" in Code
Posted by Mike at 7/24/2006 11:32:00 AM
I am querying a few fields in a DB table to get To, From, Subj, Message, SMTP Server and Port Number info to use CDO to send a preformatted message based on what is in this table. All works well except on line. MyMail.Fields("http://schemas.microsoft.com/cdo/configuration/smtpserver") = (rs...more >>

Create Secure Account Activation
Posted by Eric at 7/24/2006 9:53:01 AM
I'm looking for some best practices when it comes time to allowing a user to create an account for our web app. For example, a potential customer of ours would fill out an application and then an email would be sent w/further instructions on how to activate and login to their account. Wh...more >>

How to Accessing a Web Service Through a Proxy Server?
Posted by mizi at 7/23/2006 3:50:20 AM
Hi. I'm using web hosting services of a company. I try to connect to a remote SQL Server from the hosting account. But they told me I must use a "proxy aware" code to connect to the SQL server through their proxy server. How can I do this? I searched the Internet and can only find a webproxy ...more >>

Cookies
Posted by James Jones at 7/22/2006 4:57:12 PM
Is it possible to make a cookie NEVER expire? or not? ...more >>

timeout expired
Posted by Simon Wigzell at 7/21/2006 4:19:08 PM
Occassionaly I get the following error, always when storing a record: Microsoft OLE DB Provider for ODBC Drivers error '80040e31' [Microsoft][ODBC SQL Server Driver]Timeout expired Googling around I see ways of setting the expiry time but why is the database not responding in the first pl...more >>

Error Displyaing Session Variables
Posted by Jerry at 7/21/2006 7:16:21 AM
I'm using this code: Dim strName For Each strName in Session.Contents Response.Write strName & " - " & Session.Contents(strName) & "<BR>" Next If I only do a response.write strName, it shows all the session names but when I include the session.contents it gives me the following error:...more >>

How do I import a CSV data into an Access DB?
Posted by john_aspinall NO[at]SPAM yahoo.co.uk at 7/21/2006 7:06:09 AM
For a kick off sorry if this is the wrong forum, Ill go on the Access one if Im not on the right board! Anyways, Ive got a problem and am not sure if its going to be solved programatically using ASP or not. Here's the overview: Im building an eCommerce web site using ASP. It has an Acces...more >>

Search Engine Listings
Posted by MDW at 7/21/2006 6:09:01 AM
Posted this on another board, but evidently it was off-topic there...hope you folks will be able to provide some guidance. I've been working on a Web site for a business (my first non-personal site) and I want to help my client get the best search engine listing. Because this is my first f...more >>

Chinese Chars in XML
Posted by tomtiv NO[at]SPAM gmail.com at 7/21/2006 6:07:30 AM
Hi All, I am having a probem with asp, xml, com while using chinese chars. The chinese letters come out of com fine and they are also fine when i use asp to write to a text file. When i load the chinese chars into an xml dom they become invalid Chinese chars show as this =E6=88'=E7=9A,,=E6=...more >>

Count Query
Posted by AJ at 7/21/2006 3:39:02 AM
Hi all, I have the following data: AnswerID SubmitID AnswerQuestion OptionSelected 0001 1 1 1 0002 1 1 2 0003 1 2 1 0004 1 ...more >>

Can anyone suggest me the way to Upadate a MS Access database from Global.asa
Posted by geshan at 7/20/2006 9:04:51 PM
hello everyone, if you can help me to update a table entry from global.asa on session end please help me.. ...more >>

Using ASP to capture a query string and redirect to SSL
Posted by Nuevo at 7/20/2006 4:14:48 PM
I am looking for some method to capture, into a variable, the entire URL of an http request and redirect to SSL. For example, if a user opens a browser and typed in http://myserver.com/application/some.asp?form=y&format=mgs&customerid=893bdgt0248991 I want to be able to redirect to an SSL ...more >>

a name was started with invalid character
Posted by Middletree at 7/20/2006 3:28:36 PM
Teaching myself ASP.NET, using Microsoft Press book called ASP.NET 2.0 by George Shepherd. Ch. 2, it says to type the following code: <%@ Page Language="C#" %> <html> <body> <h1>Hello World</h1> Nothing really showing here yet, except some HTML... </body> </html> ...more >>


DevelopmentNow Blog