Home All Groups Group Topic Archive Search About



Active Server Pages (ASP) Programming Discussion

microsoft.public.inetserver.asp.general
Score I thought <> works on strings? no?
mike - 29 Jul 2006 5:27 AM - 2 messages
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>" & ...
Score how to insert datetime into database using ASP?
Bon - 28 Jul 2006 4:07 PM - 4 messages
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 ...
Score Open asp page in word with Normal View
Jess - 28 Jul 2006 2:25 PM - 1 message
Hello, I have a table in a plain asp page.  At the top I have Response.ContentType = "application/vnd.ms-word" When it opens in word, it opens in a funky view.  Is there anyway to have it ...
Score Dictionary object
Betina Andersen - 28 Jul 2006 8:05 AM - 5 messages
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 ...
Score New record every week?
Jen - 28 Jul 2006 7:42 AM - 19 messages
Is it possible (how) to display a new record every week (or day) from a recordset? ...
Score Destroying a Session
le0 - 28 Jul 2006 4:16 AM - 8 messages
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 ...
Score 'object required' error using FileSystemObject
google - 28 Jul 2006 4:14 AM - 8 messages
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 ...
Score migrating an app to asp
CS - 28 Jul 2006 1:48 AM - 3 messages
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 ...
Score Cross-Site Scripting !
abcd - 27 Jul 2006 10:40 PM - 1 message
I have a web application mainly written in ASP. How can I prevent my pages like login.asp and other important pages from Cross-site scripting malicious attacks. What precautions should I take. ? thanks ...
Score CodePage=65001, breakpoints not right
eric.goforth - 27 Jul 2006 7:57 PM - 5 messages
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 ...
Score Call a javascript function from ASP page
Mark - 27 Jul 2006 7:06 PM - 6 messages
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){ ...
Score ASP Excel worksheet
magix - 27 Jul 2006 3:54 PM - 6 messages
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") ...
Score ASP page that calls ActiveX object fails under x64 IIS 6
m.piceni - 27 Jul 2006 3:36 PM - 5 messages
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 ...
Score hyperlinking
NB - 27 Jul 2006 10:41 AM - 2 messages
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 ...
Score Cannot Update Error
K - 27 Jul 2006 8:44 AM - 4 messages
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: ...
Score New group
James Jones - 27 Jul 2006 1:44 AM - 1 message
There is a new group on Yahoo! Groups. Please feel free to join. Beginners and Experts are both encouraged to join! [link] Thanks! Jay ...
Score ASP - Terminating objects in memory
Lauren the Ravishing - 26 Jul 2006 9:47 PM - 9 messages
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 ...
Score PDFs in ASP
Lee Taylor - 26 Jul 2006 7:43 PM - 5 messages
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. ...
Score Adding Pictures
UKCB Channel Moderator - 26 Jul 2006 7:02 PM - 3 messages
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 ...
Score Image server control - where am I going wrong?
John Austin - 26 Jul 2006 5:03 PM - 3 messages
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 ...
Score Display Large Images
cnote - 26 Jul 2006 4:01 PM - 3 messages
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 ...
Score HOWTO Post to a URL from Server Side ASP script.
ATS - 26 Jul 2006 2:11 PM - 4 messages
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 ...
Score Conversion ASP in WORD results HTML
Delivery - 26 Jul 2006 12:12 PM - 1 message
That happens only in a little LAN (win2003 server, XP client with office XP). You know the couple of instructions Response.ContentType = "application/msword" Response.AddHeader("content-disposition", "inline; filename=stampa.doc") that convert an asp page in word. Well, in this LAN you can save the .doc file but when you open it you ...
Score Record set out of string space
ckseng11 - 26 Jul 2006 6:51 AM - 3 messages
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 ...
Score Visual Interdev 6.0
QZ - 25 Jul 2006 9:35 PM - 9 messages
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 ...
Score Real quick question
Franck - 25 Jul 2006 8:49 PM - 4 messages
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.. ...
Score Need Help. - Can't find my error
Gaby - 25 Jul 2006 6:33 PM - 29 messages
Hi guys, I have this ASP code that is a little long to post so but you can download it off of [link] I cant find out what my error is.  I know it is not in my Access ...
Score Accesing SQL Count Via ASP
aaronandbree - 25 Jul 2006 4:54 PM - 1 message
I have been searching the boards trying to find an answer to this question and no luck.  I am using a query similar to this: Select count(col1) from table1 I was having a hard time accessing the count information.  After ...
Score Is there a better way then iframe?
Brian D - 25 Jul 2006 4:05 PM - 4 messages
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. ...
Score database
James Jones - 25 Jul 2006 2:36 PM - 3 messages
just wondering which is best and most secure....... Access database..... or MySQL database? just wondering.......thanks in advanced ...
Score [OT] <div> <span>
Rob Meade - 25 Jul 2006 7:33 AM - 10 messages
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 ...
Score ADO connections do they clean up by themselves?
Janette - 25 Jul 2006 6:40 AM - 7 messages
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" ...
Score upload images to new subfolder
Jon Paal - 24 Jul 2006 10:14 PM - 3 messages
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 created ...
Score website search engine
Brian Quigley - 24 Jul 2006 9:33 PM - 2 messages
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 ...
Score Using "" in Code
Mike - 24 Jul 2006 6:32 PM - 2 messages
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. ...
Score Create Secure Account Activation
Eric - 24 Jul 2006 4:53 PM - 4 messages
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 ...
Score 301 redirect like .htaccess
Stuart Palmer - 24 Jul 2006 1:15 PM - 1 message
Hi everyone, I'm trying to look for an asp equivilent of .htaccess that is used on apache servers but for use with asp. I am doing a website and moving lots of files into a single directory to make it easier to maintain, however, I don't want to loose the search engine ...
Score How to Accessing a Web Service Through a Proxy Server?
mizi - 23 Jul 2006 10:50 AM - 2 messages
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. ...
Next »