|
it
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Active Server Pages (ASP) Programming Discussionmicrosoft.public.inetserver.asp.general
code execution
solomon_13000 -
24 Jun 2006 4:41 PM - 4 messages
The problem with the code bellow is that suppose I change the valid database name from stelladb.mdb to an invalid database name stella.mdb, what happens is the following statement gets executed: response.write "<center><font class='error'>Error: Username is ...
SQL WHERE command and IF
gjoneshtfc -
24 Jun 2006 11:30 AM - 3 messages
Hello I have a two menus where the user chooses the make and model of a car. After submitting, a results page shows depending on their inputs. My SQL is currently: SELECT * FROM MainTable WHERE [model] = '" & chosenmodel & "' ORDER BY Price DESC ...
dynamik meta-tags
rolfb -
24 Jun 2006 9:58 AM - 2 messages
I use ASP.net 2.0 C# for my shop-system. I want to programm dynamic meta-tags. In some books I find as memer of HtmlHead statements like Page.Header.Metadata.Add("description", "my product"); If I try this, i got the error message: Metadaten not member of HtmlHead ...
recordset
Eugene Anthony -
23 Jun 2006 5:39 PM - 6 messages
asp code: set conn = Server.CreateObject("ADODB.Connection") conn.open "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & Server.MapPath("/db/upload/stelladb.mdb") & ";" set rs = Server.CreateObject("ADODB.Recordset") ...
Help or Ideas
S Reichard -
23 Jun 2006 4:35 PM - 2 messages
Here is my issue... I am working on creating a website [link] The new site is in progress [link] The first website uses flash right now on the page marked "The Wall". I ...
URL Rewriting
Chris -
23 Jun 2006 3:50 PM - 4 messages
Can anyone give me any ideas on how to do URL rewriting in ASP with IIS 5 (possibly 6). Aside of course from switching to Apache ;) Regards, Chris. I want my products/product.asp?id=1243124 to read products/friendlyurl.html ...
Problem with include files!
Julesh -
22 Jun 2006 10:59 PM - 15 messages
Hello, I am new to ASP and am trying to make some changes to some ASP 3.0 code I have inherited. I have a number of ASP pages with VBS as the base language, on each of these pages I have successfully included a piece of VBS code that ...
error handling
Eugene Anthony -
22 Jun 2006 5:27 PM - 5 messages
One problem with the code bellow is after this code conn.qDupUser p1,rs I added: set rs = nothing to test the error handling capability. What happen is the code bellow gets executed If rs(0) = 1 then response.write "<center><font class='error'>Error: Username is ...
Linked Form Menus
gjoneshtfc -
22 Jun 2006 5:10 PM - 5 messages
Hello I currently have a page with car manufacturers in a dynamic form menu. Users can select one and click submit to find available cars by that manufacturer. What i now need is a second menu on the page where when a ...
Separating out concatenated values in Request.Form
eric.goforth -
22 Jun 2006 2:34 PM - 8 messages
Hello, I'm working with a classic asp page that calls another classic asp page. The html in my calling page looks like: <form method="post" action="/includes/mypage2.asp?subtype=MyType&ecd=1&eid=97702"> ...
Rich Text Box
Chris -
22 Jun 2006 8:16 AM - 4 messages
Does anyone know of any rich text boxes for classic asp. It needs to support tables and multiple images. I can find lots .net ones but not classic asp. Regards, Chris. ...
Unable to display web page
Seok Bee -
22 Jun 2006 1:54 AM - 4 messages
Hi, I am currently facing some difficulties in accessing my web page. I am creating my company intranet website. Currently, I am developing my webpages in my local machine with IIS activated. When i run the website from my local ...
ASP bugs
brian.lukoff -
22 Jun 2006 1:31 AM - 3 messages
Hi everyone, I'm trying to track down some ASP bugs described at [link] Basically, I have some old code (that used SELECT *, used rs(...) syntax but did not first store ...
accessing value of dynamic select box from vbscript runat=server
skeddy -
21 Jun 2006 11:37 PM - 8 messages
In a nutshell, I'm trying to dynamically create a select box with ResultSet code in vbscript and then need to be able to access the value of that select box later with a Save button. I've got the select box filling with code similar to below: ...
Changing order of recordsets creates non results
Kevin -
21 Jun 2006 10:40 PM - 14 messages
Hi, I have used ASP for years using MS Access and have used MSSQL quite a lot as well. I have never came across something like this before. MSSQL table names and types: ProductName nvarchar ShortDescription nText ThumbNail nvarchar etc ...
Changing order of recordsets creates non results
Kevin -
21 Jun 2006 10:40 PM - 2 messages
Hi, I have used ASP for years using MS Access and have used MSSQL quite a lot as well. I have never came across something like this before. MSSQL table names and types: ProductName nvarchar ShortDescription nText ThumbNail nvarchar etc ...
Sending email via .asp
Johnfli -
21 Jun 2006 9:07 PM - 5 messages
Set ObjMail = CreateObject("CDONTS.NewMail") ObjMail.From = emlFrom ObjMail.To = emlAddress ObjMail.Subject = emlSubject ObjMail.Body = emlBody ObjMail.Send Set ObjMail = Nothing I recently upgraded my webserver from NT4.0 to Windows 2003 Web Edition. Now, the above code no longer works. ...
ASP authentication to LDAP
pdimarco@gmail.com -
21 Jun 2006 6:10 PM - 1 message
We have a LDAP server but we do not use Active Directory. I am trying to create a simple login screen which would autenticate against our LDAP server using ASP (not ASP.Net). Does anyone have sample code to connect and retrieve properties from ...
using img.width in asp
solomon_13000 -
21 Jun 2006 5:17 PM - 4 messages
I did a combination of asp and jscript. Parsing a value from asp to jscript is working fine. However I intend to use the width value on asp. How is it done? <script language="JavaScript"> function testing(pix) ...
How to differentiate Page requested versus Page refresh
adam -
21 Jun 2006 4:49 PM - 3 messages
Hi ASP Expert, I encounter a page reload situation in ASP. It is I need a way to differentiate whether the current page - "Application_Result.asp" got reloaded itself when user click on the browser Refresh button or is requested by the previous page "Application_Form.asp". ...
INETSERVER.ASP.DB......whered it go?
James Jones -
21 Jun 2006 2:15 PM - 6 messages
Whered the microsoft.public.inetserver.asp.db go? i dont have any messages for it anymore. All happened over nite. ...
Response.Write containing %>
Dom -
21 Jun 2006 1:52 PM - 17 messages
Hi, I writing code that will create asp pages using the file system object. I'm trying something like this without much luck <% .. .. 'other code here Response.Write "<%sName=" & Var & "%>" %> How can I do this? ...
International character dissapears from FORM
royend -
21 Jun 2006 12:47 PM - 7 messages
Hi. I am having problems sending values from a simple FORM to a database. All is written in ASP, and I am doing some validations before it is actually saved in my database. It worked for several years, but now it won't accept international ...
Rent direct from owners of French gites
Holiday101france -
21 Jun 2006 10:45 AM - 1 message
Hello Great range of properties....... check them out....... Rent direct from owners of French gites, farmhouses in Brittany, villas in Provence, luxury lodges on the golf course, Bed and Breakfast in Dordogne, cottage in France , horse trekking holidays in Normandy and more. ...
need help
Gaby -
20 Jun 2006 9:52 PM - 2 messages
hi guys, ive been working hard on this asp survey page im using for a research project. I cant get the thing to submit the info to a database. If someone couldhelp me out, maybe you could find something i missed in ...
Sort ADO Database Twice
davidcoxmail -
20 Jun 2006 9:43 PM - 2 messages
Got a simple, noob problem: I need to call a display an MS Access db using ASP; I need to display it by Organization and District Number (sort it twice). Example: Organization A, District 1 Name 1 Name 2... ...
Simple SQL statement and request.querystring
gjoneshtfc -
20 Jun 2006 5:52 PM - 16 messages
Hello, I have a simple problem that I just cannot get my head around! I currently have the following line in my ASP recordset: Recordset1.Source = "SELECT * FROM MainTable ORDER BY Price ASC" I have the following code at the start of the recordset: ...
window - jscript and vbscript
Eugene Anthony -
20 Jun 2006 5:06 PM - 4 messages
I am using javascript to open the pop up window. Now the pop up window will be displayed in a center position and in it the images will be displays (one image at a time as the next and previous button is ...
Do Recordset Paging with ASPJavascript tutorials exist ?
alan -
20 Jun 2006 4:27 PM - 4 messages
Hi, I've been looking to do basic recordset paging using asp and javascript. Can anyone explain why , as far as I can tell, all the tutorials use VBScript ? Do any exist without DIM, CInt etc ? Bit of a small, unimportant questions i guess but just wondering... ...
ASP 1.0 Retrieve raw HTML from URL in Code
mschelstrate -
20 Jun 2006 4:27 PM - 1 message
,I need to call a URL, receive the raw html in my VB Script code and parse it to retrieve a value from a cgi generated web page on a remote Apache Web server. What is the best method to accomplish this in ASP 1.0? ...
posting form variables from site A to site B
tamaker -
20 Jun 2006 12:00 AM - 5 messages
I have to pass form data from my site to another organizations site using POST method... how exactly do I do that? Im familiar with how to do it within a single site/domain, and cant use querystring... I ...
Subtract one datetime from another
Simon Gare -
19 Jun 2006 7:04 PM - 3 messages
Hi all, need to subtract one date from another to show how long a user was logger in for. i.e. <%=(rsDriverLogin.Fields.Item("OFF_DATE").Value)%> minus <%=(rsDriverLogin.Fields.Item("ON_DATE").Value)%> The values in the sql OFF_DATE and ON_DATE fields are stored as ...
Calling WSH scripts from ASP
Bob -
19 Jun 2006 6:02 PM - 4 messages
I have created some WSH scripts on my Webserver that are executed by the Windows Task Scheduler. I want to be able to execute some of these scripts using a web interface and don't want to duplicate these scripts ...
SQL Injection Prevention Quickfix.. will it work
Michael Kujawa -
19 Jun 2006 5:12 PM - 17 messages
Hi All, I have been given a site to redo. In the process of looking at the code, the live site is open to SQL injection. I know what needs to be done but limited time right now to redo correctly. In the interm while I am rewriting ...
ASP variables?
thefunnel -
19 Jun 2006 3:01 PM - 5 messages
Hi, I have the following ASP to display a certain image depending on a case statement... <% Select Case (recordset("type")) Case "type1" Response.Write ("<img src=""type1.gif"" border=""0"">") ...
Export Excel Report from ASP Output (Dynamic Stage)
shankumar -
19 Jun 2006 6:04 AM - 2 messages
Hai Evrybody, I have one problem, that is i design a ASP report getting data from MS SQL Server 2000 and displays it as a desinged format and also "one option to export this same format to MS EXCEL". Before i seen it, but i ...
Change font with IF statement problem
Simon Gare -
18 Jun 2006 9:59 PM - 4 messages
Hi, trying to hide zero values by changing the colour of the font, problem is it is still printing in a light grey colour? Code below but cant work out where it is going wrong. <td width="45"<% ...
WHERE Statement Help
Simon Gare -
18 Jun 2006 6:22 PM - 3 messages
Hi, cant get to grips with this problem, need to select from dbo.booking_form all records that meet 2 statements. 1st allocated='completed' and 2nd account is not 'CASH' , i.e. all records that don't contain the word CASH in ...
ASP and XML problem
w@m -
18 Jun 2006 1:09 PM - 8 messages
Hi, I'm trying to use ASP to write XML documents form input from a HTML form. I have to write some tags like this: <creation audience="internal">Written in <date>[input from form: yyyy]</date>by using guideline ...
Is there an ASP command to auto strip all HTML tags out of a string?
Laphan -
18 Jun 2006 11:54 AM - 2 messages
If not, any ideas on how to do this? I just want the raw text of a string so I can display a preview of what is in the file. Thanks Laphan ...
ASP help
Rizwan -
18 Jun 2006 10:12 AM - 15 messages
hi there to all...... Is it possible to fetch data records from other website and store in a database dynamically.... I mean to say i want to fetch data from a yellow pages website ....... showing records of different companies. i.e, [link] ...
Making Javascript just write the content
Laphan -
18 Jun 2006 9:10 AM - 3 messages
Hi All I'm using ASP to squirt some text into JS so that the JS write it into an iFrame, but JS keeps giving me unterminated string errors when the text is more than 1 line's worth. I thought JS was free-form!! ...
Prevent entry of punctuation
PW -
18 Jun 2006 1:17 AM - 2 messages
Hi, Is there anyway to format a text input box to prevent any punctuation marks from being entered? TIA, PW ...
|
|||||||||||||||||||||||