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 > march 2006 > threads for march 8 - 14, 2006

Filter by week: 1 2 3 4 5

Email From ASP - Help Please ...
Posted by MostlyH2O at 3/14/2006 8:14:52 PM
Hi Folks, I have been going in circles for weeks - trying to find the best way to send and manage emails from my ASP application. The email page might send as many as 500 individual emails at a time. The emails are in the user database for the website. It's used for sending group notices an...more >>


Setting a variable equal to the "size" of my database
Posted by vampyreapocalypse NO[at]SPAM gmail.com at 3/14/2006 4:07:37 PM
HI everyone, I have an SQL database that tracks workorders for my company. Each workorder is ID'ed by a number, i.e.: 1234. The next would be 1235, 1236, etc. I need a loop to go through EVERY workorder in the database. How do I set a variable = to the largest WorkorderID in the database? i.e...more >>

reading text delimited
Posted by shank at 3/14/2006 3:49:52 PM
I have the below code found on an ASP site. <% arrName = Split(Request("TextArea"),",") %> <% For i = LBound(arrName) To UBound(arrName) Response.Write "ID: " & arrName(i) & "<br>" Next %> I'm using a TextArea box to submit the following... A123,1 B123,2 C123,3 Results are... ID: A...more >>

ASPUPLOAD + change upload folder.
Posted by JimmySlam at 3/14/2006 1:50:00 PM
Hi I am triyingo to upload a file with ASPUPLOAD which works fine the only problem I need to change the folder where is going to be uploaded. I tried with folder = "\"+cstr(request.querystring("folder")) path=Server.MapPath("."&folder) Set Upload = Server.CreateObject("Persits.Upload.1...more >>

asp writes csv WITHOUT complete file path?
Posted by Scott Gordo at 3/14/2006 7:19:29 AM
I have a simple asp form which writes to a csv. The code it's based on (from "ASP for Dummies") is: Set peoplefile - _ filesys.OpenTextFile( _ "c:\inetpub\wwwroot\gb\gbpeople.txt",1) The form is going live soon, and I'd like just a dash of due diligence in terms of security. I tried ...more >>

asp upload component - multiple files
Posted by crowl NO[at]SPAM gmx.de at 3/14/2006 6:17:00 AM
Hi there, I am looking for a component allowing me uploading multiple files by my asp page. I have found several components achieving this by require a <input type="file" name="FileX"> field for each file to upload. I want to allow my visitor to select the files to upload in the "Open" window....more >>

ADSI in ASP
Posted by Michael Jeske at 3/14/2006 12:00:00 AM
Hello, first sorry for my bad englisch, i hope you understand me. I wont write an asp (not asp.net) application to delete computeraccounts from ad. In my develope enviroment (all W3K servers) this script works fine. Set oDSObj = GetObject("LDAP:") Set oAuth = oDSObj.OpenDSObject("LDAP...more >>

FaxServer Timeout
Posted by Max at 3/13/2006 7:35:35 PM
Hello I've installed Fax Modem on My Windows 2000 Serer and Fax Service is running I can send Fax via notepad but when I tried to send fax from ASP I got nothing but a timeout error the ASP code as shown dim FS dim FD Set FS = Server.CreateObject("FaxServer.FaxServer") FS.Connect...more >>



Calculations on LARGE numbers
Posted by Frinton at 3/13/2006 3:12:09 PM
Hi, I am trying to do some calculations on large numbers (ie 7,768,489,957,892,578,474,792,094 / 12,280) and no matter what I do it doesn't get it quite right. Its always somewhere between 10 and and 5000 out :( I have a suspition is could be down to one of the number functions I am us...more >>

Fax From ASP
Posted by Max at 3/13/2006 2:26:22 PM
Hello I've installed MSSOAP Toolkit 3.0 and a fax modem on my Windows 2000 Server The Fax Service is running I've tried ASP code as shown <% Set objSoap = Server.CreateObject("MSSOAP.SOAPClient30") objSoap.ClientProperty("ServerHTTPRequest") = True objSoap.mssoapinit("http://ws.interfax.net/d...more >>

base64 decode then insert into SQL Server
Posted by robert.bull NO[at]SPAM charter.net at 3/13/2006 1:08:55 PM
Hello - I am currently working on a project in classic ASP where I receive an XML file that contains an encoded base64 string that I need to do the following to: 1. Decode the base64 string for a binary write 2. Insert the decoded string into SQL Server for later binary writes I have searc...more >>

Secure SMTP app?
Posted by Pupkin at 3/13/2006 11:57:02 AM
Hi, I have a client with their own W2k server and their IT guy refuses to turn on the SMTP service for fear of it becoming hijacked by spammers. However, they also want their web site to perform some emailing functions I would normally use CDOSYS for. I'm having them look into alternate...more >>

Forms Action
Posted by Paul W Smith at 3/12/2006 10:34:10 PM
I have an ASP page with some form elements on it, as well as an inline frame called 'body'. Depending on element is selected when the form is submitted different ASP pages appear in the inline frame. <form Name=aSelect method=Get action=Test.asp target=body> <Input type="radio" name="Ra...more >>

changing default folder in IIS on XP
Posted by aa at 3/12/2006 7:36:56 PM
I have installed IIS on win XP pro However I cannot find a control panel like PWS on w2k to change default folder. How do I do that? ...more >>

html message help
Posted by isaac2004 at 3/12/2006 3:00:05 PM
hi i am trying to send a html message that reiterates a invoice from a online store site im making, i have the invoice written to the browser but i would also like to send one to the customer via email here is the code for the browser part dim strSessionID, strISBN, strTitle 'open database ...more >>

Which server am I on?
Posted by MikeR at 3/12/2006 1:37:06 PM
My ISP has parent paths disabled, and my local box does not. I'd like to be able to tell where a page is executing so I can code an if statement for my db connection strings. if RunningOnThag then Server.MapPath("../fpdb/materiale.mdb") else Server.MapPath("/fpdb/materiale.mdb") end...more >>

help with Insert SQl (newbie)
Posted by isaac2004 at 3/12/2006 12:50:37 PM
hi i am having a problem inserting a new record into my database it throws this error [Microsoft][ODBC Microsoft Access Driver] Data type mismatch in criteria expression. i looked up the info for this and it says im trying to add an empty string to the Date/Time field in my db here is my...more >>

GridView and Word Wrap in ASP.Net 2
Posted by Greg G. at 3/11/2006 12:35:29 PM
I've messed with this for hours and cannot seem to find a solution. I have a GridView control in a page, the columns have a set width, which IE doesn't strictly obey, but the aggravating thing is the inability to keep the lines from wrapping. I've tried: white-space:nowrap overflow: in...more >>

Passing File names between different files!!!
Posted by riteshjain82 NO[at]SPAM gmail.com at 3/11/2006 1:22:43 AM
Let me explain my problem: I have a form called which collects user data in a form in 'default.asp'. It has a link for a file 'upload.asp' where user can browse files from his local system. When the user clicks on ATTACH button, the file gets uploaded to the server in upload_response.asp. I a...more >>

Character set problem
Posted by CreateObject at 3/10/2006 7:30:24 PM
I am using mySQL with ASP. I have a trouble with Turkish characters as I am tring to get and display data from mySQL database. However, I can see whole Turkish characters exactly when I use phpMyAdmin. I used the following tags on HTML but I couldn't achieve to display Turkish characters in...more >>

Special Character Font Problem
Posted by scott at 3/10/2006 6:02:48 PM
I'm trying to use the ascii code for a "down arrow" which is "&darr;" It displays fine in my DESIGN VIEW within FrontPage, but when I preview it with my browser, it doesn't show. Is there a trick to force ascii codes to render correctly in a browser? It's not a font issue, I tried viewing ...more >>

Displaying complex one to many relationship
Posted by Mike Brind at 3/10/2006 1:59:23 PM
<Mental block> I want to display a kind of two-tier one-to-many relationship, for which, in the olden days, I would have used a series of nested loops and multiple calls to the db. Here's the trimmed down code so far: <% sql = "SELECT StoryType.StoryType, Articles.ArticleID, Articles.Tit...more >>

CheckBox inside a Repeater?
Posted by HockeyFan at 3/10/2006 12:23:27 PM
I'm still learning .Net and have an ASP.Net app that I'm working on. On this particular page, I need to put a bunch of checkboxes on the side of the page, and the text for each is derived from the database. So I can't just hardcode the checkboxes. I'll have any number of them, and possibly ...more >>

tabstip control problem
Posted by Sriram at 3/10/2006 11:48:13 AM
hi, i am using asp .net 1.1 and ie6. i having problem with tabstrip control displaying pages. i am trying to use a page with 4 tabs. for the first 2 tabs the corresponding pageviews gets loaded. but for the last 2 tabs the pageviews are not displayed. i have checked the HTML code and the ...more >>

DSN-Less Connection Help
Posted by SIMON GARE at 3/10/2006 12:00:00 AM
Can anyone help me create a dsn less connection to the sql server 2005 db from the connection.asp file below please, <% ' FileName="Connection_odbc_conn_dsn.htm" ' Type="ADO" ' DesigntimeType="ADO" ' HTTP="true" ' Catalog="" ' Schema="" Dim MM_TobiasNET_STRING MM_TobiasNET_STRING = "dsn=...more >>

Zooming image..
Posted by ZyRaIN at 3/9/2006 11:53:13 PM
Hi Guys, Totally new to this html / javascript thing so haven't got a clue how I'm gonna to this - but hope to get some help here. I've got a page with 2 frames one called "left" another one called "right" in the left frame i would like to make a "div" - menu ?? and on the right I just ...more >>

ASP hast stopped running on Windows 2000 Server
Posted by Richard Lawson at 3/9/2006 9:52:51 PM
My Windows 2000 server has suddenly stopped running ASP pages. I can't find anything wrong. Rich ...more >>

How can I change a FOR EACH loop to a DO WHILE loop?
Posted by AutoShutdown at 3/9/2006 9:40:29 PM
How can I change a FOR EACH loop to a DO WHILE loop? I have this code... For Each objFile In objFolder.Files response.write objFile.Name Next Actually this code is part of a file, used to fetch Image(.jpeg) file and check wether it is registered or not. The 'objFile' i...more >>

ASP.NET Problem with return to home page
Posted by Charlie J at 3/9/2006 4:40:33 PM
I have a real stumper. I added a server side table to a home page that has two other server side tables on it that have been working great. In Visual Studio everything works great. When I put the page on the production server, the first time in the page works great. If I navigate to any ot...more >>

Scripting.FileSystemObject
Posted by Sbroeff at 3/9/2006 4:34:45 PM
I would use the Scripting.FileSystemObject to find a file in a server, which I connect with a VPN connection. I'm not sure that the Scripting.FileSystemObject works with a folder, which is in another server, using an ASP page which is on my server. Does someone help me? Thanks ...more >>

session timeout
Posted by isaac2004 at 3/9/2006 2:28:56 PM
how would go about making a session timeout expire with a method like you can expire a cookie by going Date() - 1 ...more >>

How to control the size(width of a combo box generated in asp?)
Posted by Jack at 3/9/2006 1:29:27 PM
Hi, I have a asp page where multiple rows for a client is generated using asp. Some of these are combo boxes and some are text and are coming from a recordset. Now, the following is the code to geneated one of those combo boxes. CODE: <td align="left"> <font face="Verdana,Arial" col...more >>

ASP/VBScript to randomly select name from csv?
Posted by Scott Gordo at 3/9/2006 12:28:01 PM
<!--Newbie warning--> I've got a csv file with names, addresses, emails, etc. I've been asked to randomly select a name from a csv file. I've found plenty of RandNum examples, but I'm not sure how to apply it to these names. Can anyone point out a sample I could use? TIA! Scott ...more >>

2 IE Sessions Sharing The Same Per-Session Cookie!!
Posted by AnthonyC at 3/9/2006 8:25:27 AM
I am having a problem tracking down what I believe to be a problem with the way cookies are being used on our website application. When user log onto the application, an in-memory (per-session) cookie is created to hold the session key for the user. This unique key is assigned as part of the...more >>

Pull data based on Text box info
Posted by jimstruckster NO[at]SPAM gmail.com at 3/9/2006 6:51:00 AM
I'm looking to display information pulled from a database based on information the user puts into a text box. The user will enter their sales rep number and I want to hit a table and return their name as soon as they tab off of the text box. Any ideas or help would be appreciated, Thanks ...more >>

xmlHTTP not getting the response
Posted by as4532 NO[at]SPAM drexel.edu at 3/9/2006 5:14:44 AM
Hi all, I am trying to access information present in a page ( e.g. info.dll?about) using xmlHTTP on the server side. I get the result in a variable and parse through the content using string functions in VBScript. This was working absolutely fine till yesterday, today i get the result of ...more >>

HEX 2 DEC?
Posted by Guy Cohen at 3/9/2006 12:00:00 AM
How do I convert a hexa number to decimal in asp? No CDec like vb? Guy ...more >>

Getting ASP working on new GoDaddy account
Posted by David Horowitz at 3/9/2006 12:00:00 AM
Hi folks, Just set up Dedicated Server Hosting with GoDaddy. I put a very simple ASP page in the home web directory and try to load it and get a very generic error. A simple HTML file works fine. Obviously it's a permissions issue or maybe some service is not running. Any help would be appr...more >>

asp task getting difficult!
Posted by djdnaresh NO[at]SPAM gmail.com at 3/8/2006 10:28:38 PM
hi, if anyone can help! i want to print a string (that i retrieve from database field), that contains say 60 lines, then i want to insert a page break and a common header for each page. is that possible! Naresh ...more >>

Drop-Down Display vs. Value
Posted by bryan.com NO[at]SPAM gmail.com at 3/8/2006 6:43:38 PM
There must be a way. I'm making a selection from a drop-down list that had an ID number as the value and displays a text field. After submitting the data to the database I am sending an email and would like to include the value displayed in the DD box, not the hidden value. How so I reference th...more >>

Impersonating a user in x64
Posted by CJM at 3/8/2006 5:25:42 PM
I use the following technique to impersonate a user in ASP, in order to query active directory: http://support.microsoft.com/default.aspx?scid=kb;EN-US;248187 Although the article indicates that this technique is supported by IIS4 & IIS5, I actually run it successfully on Windows Server 20...more >>

format display of rss.xml with asp ??
Posted by btopenworld at 3/8/2006 4:42:58 PM
I've looked over the last 2000 posts for info on incorportating an RSS feed on a web page using ASP to control the display - especially which elements are shown and how many items are shown. I found a free ASP script that I hoped would do the job - and when its working its great. Howerver, ...more >>

Include file mystery
Posted by Astra at 3/8/2006 4:17:55 PM
Hi All I use include files a lot in ASP, but I was wondering if these files aren't actually part of ASP at all and you can use them in other web-based files. Is this possible? Thanks Robbie ...more >>

Memory-Working Set vs Virtual Size
Posted by Larry Bud at 3/8/2006 8:28:52 AM
Wondering what I should be looking at when looking for a memory leak.. Using Process Explorer by SysInternals, and they have a Working Set and a Virtual Size memory column. Which one should I be looking at? ...more >>

ASP upload best practice question / help
Posted by AlexT at 3/8/2006 7:39:17 AM
Folks Please bear with me - I'm not a real ASP pro... I need some advice about the following problem: I have "inherited" of a working ASP site which is hosted on a collocated IIS machine. At some point the site offers the possibility for any user to fill a form and upload a file that i...more >>

create object & DAO
Posted by js at 3/8/2006 12:19:39 AM
hi, how to create dao.tabledef object in asp: I need to convert the following code into asp: Dim tdf As DAO.TableDef Dim db As DAO.Database Dim fld As DAO.Field Set db = OpenDatabase("C:\Mydb.mdb") Set tdf = db.TableDefs("Table1") Set fld = tdf.CreateField("Field2", dbText, 10) ...more >>


DevelopmentNow Blog