|
it
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Active Server Pages (ASP) Programming Discussionmicrosoft.public.inetserver.asp.general
ASP String
hkhellhkhell -
30 Sep 2006 1:59 PM - 5 messages
i have an application that will take user input from a text box and write it to an access database. i need to make sure that if they ever enter a single line of text that it has at least 1 space for every 40 characters. ...
include file in global.asa
abcd -
29 Sep 2006 11:53 PM - 7 messages
I have written general purpose functions in one of the include file, I want to use the same in the global.asa. Do you know how to use include file in global.asa thanks in advance. ...
Returning a value from a function
neptune6644@gmail.com -
29 Sep 2006 10:11 PM - 3 messages
I'm having trouble getting the following function to return a value, unless I add a response.write to the end of the function. Calling the function will not get the value to appear. <% Dim strMyVar1, strMyVar2, poop strMyVar1 = 75.5 ...
"Invalid Function" reading files on Win2003 Server from IIS
mtanq -
29 Sep 2006 7:33 PM - 2 messages
My project is an ASP-based web page, with C# as the language of choice. I have written a simple tree view that displays the structure of a file system mounted as 'MVFS' (On my system, it's W:/). This is a clearcase file ...
need to break up a string
Joe Reynolds -
29 Sep 2006 6:09 PM - 6 messages
i have an application that will take user input from a text box and write it to an access database. i need to make sure that if they ever enter a single line of text that it has at least 1 space for every 40 characters. ...
not creating ADODB connection
Me -
29 Sep 2006 5:35 PM - 4 messages
I have the following lines in my asp, but somehow it isn't working, can someone help me resolve it? ---Comm = "DSN=HRPROD" Server="MYSERVER" Response.Write ("Server Name ") & Server Set Conn = Server.CreateObject("ADODB.Connection") Response.Write ("After Conn ") ...
Asp Javascript language paging larger database record sets
zfarooq01 -
29 Sep 2006 4:48 PM - 5 messages
Asp Javascript language paging larger database record sets i am firmiliar with asp javascript and not asp VB. i can display the results ok, but if i return 100 records from my table i would like it to display 5 records per page. i have looked at asp ...
Display PDF from database without caching
rolfejr -
29 Sep 2006 3:28 PM - 15 messages
I am trying to display a PDF in the users browser that is pulled from a binary field in our database, and keep that PDF from caching on the client computer. I can successfully pull the PDF and display it using ...
Locked file handlers
Leon Mayne -
29 Sep 2006 11:29 AM - 4 messages
Hi all, We had to move a legacy ASP app to an IIS6 server and now the app has stopped working. Basically the offending script opens an image on a network share, rotates the image, and then saves it back to the original filename. ...
include file
TW -
29 Sep 2006 9:33 AM - 3 messages
Hi, I have a problem. I want to include files, a header and a footer to my asp page. The files i want to include its on another server, i can reach it with a www-url. Can i use the www-url to include the file to asp page? ...
ASP question?
hkhellhkhell -
29 Sep 2006 8:01 AM - 2 messages
So, I got this vbs file (actually several) and it puts an application into maintenance mode for monitoring purposes. This VBS file needs to be run on the server. IIS is installed, but I do not know how to implement this process into a web page so that I can execute the ...
Mr GU
hkhellhkhell -
29 Sep 2006 7:58 AM - 1 message
科大computer science垃圾
係香港一間ITå…¬å¸,å«Advanced Telesoft, 有個apå«Dan,
å‘¢æ¢å‹å¥½å””掂, î³šæ–°å“¡å·¥å…¥åˆ°é»Žå””å¤ ä¸€å€‹æœˆ,
就係高層é¢å‰è©±ä½¢"好似乜都è˜, 實情乜都唔è˜".
人地入黎都無一個月, ä½ åˆé»žçŸ¥å‘€, åŒä½ 好熟呀.
就算係, ä½ èº«ç‚ºä¸€å€‹ç”·äºº,
洗唔洗åšå‘¢î³šé‡Žå‘€, ä½ å””ä¿¡î³‘, å’ªå ‚å ‚æ£æ£è€ƒä¸‹äººç¾….
å‘¢æ¢å‹ä¿‚IT界人粉, è«‹forward ...
indexing service
ash -
29 Sep 2006 6:45 AM - 9 messages
i'm using the indexing service and CreateRecordSet("nonsequential") in asp.......and i cant retrieve the record although the keywords is matched. Does anybody know how to solve it? thx ...
CreateRecordSet("nonsequential")
ash -
29 Sep 2006 4:16 AM - 1 message
anyone use the indexing service before? I used it in asp and it can run, but i cant retrieved any record. When i use the existing searching within indexing service(not asp one), it searched some records with the same searching string. ...
科大computer science垃圾 ---> Dan
hkhellhkhell -
29 Sep 2006 2:28 AM - 1 message
科大computer science垃圾 ---> Dan
係香港一間ITå…¬å¸,å«Advanced Telesoft, 有個apå«Dan,
å‘¢æ¢å‹å¥½å””掂, î³šæ–°å“¡å·¥å…¥åˆ°é»Žå””å¤ ä¸€å€‹æœˆ,
就係高層é¢å‰è©±ä½¢"好似乜都è˜, 實情乜都唔è˜".
人地入黎都無一個月, ä½ åˆé»žçŸ¥å‘€, åŒä½ 好熟呀.
就算係, ä½ èº«ç‚ºä¸€å€‹ç”·äºº,
洗唔洗åšå‘¢î³šé‡Žå‘€, ä½ å””ä¿¡î³‘, å’ªå ‚å ‚æ£æ£è€ƒä¸‹äººç¾….
å‘¢æ¢å‹ä¿‚IT界人粉, è«‹forward ...
Relative reference to parent folder on Win2003
John Kotuby -
28 Sep 2006 9:04 PM - 3 messages
Hi all, I have a rather large classic ASP application that uses relative references like ...\common\connection.asp all over the place in about 60 pages. The application works OK on my XP Pro machine but does not work on a Windows 2003 Server. Is there a way to set ...
need to break up a string by character count
Joe Reynolds -
28 Sep 2006 8:20 PM - 9 messages
say i have a string that is "hello this is my string and i like it very much" and i want to insert a newline at every 20th character, how could i go about doing this? ...
vbs from webpage executed (on server)
cpuetz -
28 Sep 2006 8:07 PM - 2 messages
So, I got this vbs file (actually several) and it puts an application into maintenance mode for monitoring purposes. This VBS file needs to be run on the server. IIS is installed, but I do not know how to implement this process into a web page so that I can execute the ...
question about wrapping a string
Joe Reynolds -
28 Sep 2006 7:41 PM - 29 messages
this is kinda off topic, but not totally. i have an ASP page that pulls text from a database, stores it in a variable, then uses <%= variable %> to write the text inside an html table. the problem im having has to do with wrapping. if the line of text is longer ...
Forms and arrays - comparing values from one field to another
Adrienne Boswell -
28 Sep 2006 6:52 PM - 2 messages
I have a form which I am letting the user enter more than one event at a time. I need to check whether one date is less than another. If the display to date is earlier than the event date, then of course that's ...
retrieving data
bajopalabra -
28 Sep 2006 6:25 PM - 3 messages
hi from the client side is possible to create a XMLHTTPREQUEST object to retrieve data ( in async way ) from web services, or simple from a asp page like this : ----- myasp.asp ----- <% response.write("<info>hello</info>") %> ...
simple question.
Hitesh Joshi -
28 Sep 2006 4:25 PM - 6 messages
Hi, Not sure if this is the right group to ask this question... I have never worked with asp or vb and I need some starting point clue on delima I am facing. I need to access an external website from within an access db. i.e. an ...
Email confirmation link
.Net Sports -
28 Sep 2006 4:24 PM - 3 messages
I'm using CDO mail in my asp scripts, and I need to find a script that whereas a user signs up for your website and when he hits submit, an email goes to his email box with a confirmation link for him to click ...
Large File Uploads
James Jones -
28 Sep 2006 2:15 PM - 2 messages
I have a site that i upload files to that are no bigger than 100MB. we upload about once a day, and use FTP...... we would like to be able to do it from the site itself. any idea where i can get a script? i cant register components with my ...
Access SQL to ASP SQL not working ... need help please
David -
28 Sep 2006 11:15 AM - 5 messages
Hi, I have taken some SQL from MS Access and got it working. I have since updated the SQL in Access but cannot get the additional part working in ASP. The working SQL I have in asp is:- strQuery = strQuery & " HAVING ((OrderQuantity-Sum(QtyShipped)>=0) AND ...
HTTP 500 Internal Server Error
Matt Adamson -
28 Sep 2006 9:17 AM - 5 messages
Guys, Can anyone suggest the reason why I could be getting this HTTP 500 - Internal server error Internet Explorer rather than the script error reported on the internet explorer browser. This is an ASP application running on Windows Server 2003. ...
Read nested nodes in XML file with ASP
Pim75 -
28 Sep 2006 8:10 AM - 5 messages
Hello, I have to read a XML file in ASP and save the values in a database. I can get this work, but I cannot read some nested nodes of the xml file. This is a part of the XML file: ...
Printer margin and orientation settings from ASP
Giovanni Benedetti -
28 Sep 2006 7:45 AM - 4 messages
Hi everybody, sorry for my English first of all. I've an ASP page (ASP 3.0) used on an intranet which fill up some particular Mail sheets getting data from a database. Those pre-compiled sheets are then showed in IE 6 for checking and then have ...
MSKB article on scalability of ADO/ASP
Brian -
28 Sep 2006 5:52 AM - 4 messages
An MSKB article on the scalability of ADO/ASP ([link]) says in a discussion of why connection objects shouldn't be stored in session variables, "If you do not pool there will be idle connections wasting server and ...
Referencing the value of a input field.
George Slamowitz -
28 Sep 2006 5:35 AM - 7 messages
Hello all I have a HTML control generated by the following: INPUT TYPE="hidden" NAME="MyAnswer" VALUE="" Is there a way to reference the Value of this control using VB program code??? Thanks in advance George From [link] ...
Maximum size of POST data?
brian.lukoff -
28 Sep 2006 4:32 AM - 3 messages
What is the maximum size of POST data? A page on the ASP FAQ web site ([link]) is confusing me: "While GET is limited to as low as 1024 characters, POST data is ...
Null Reference Exception on Register Directive
Paul Prewett -
27 Sep 2006 1:56 PM - 3 messages
Hi there -- ASP.NET 1.1 - Windows 2003 Web - IIS 6 I have an issue where a Null Reference Exception is being thrown on the Register directive line when I'm adding a UC to a page. So I get the big ...
asp problem
^MisterJingo^ -
27 Sep 2006 12:06 PM - 2 messages
Hi all, I've been asked to take a look at some asp code and am having trouble finding where the problem lies. The asp app itself contains a link to a second page, passing some parameters on the query string. These parameters are used to stream a ...
ARRAYS DOUBTS
divya -
27 Sep 2006 11:08 AM - 13 messages
1. If The size of the array is unknown during programming time then how is such array declared?? Suppose there is an Array named arrClashname(size unknown at start), Now when the clash occurs I want to store that name into the ...
how do I parse the words of a sentence?
mike -
26 Sep 2006 8:50 PM - 7 messages
Hello, I am trying to write some code to parse a sentence and hyperlink just the words in it. I used Aaron's code from an earlier question as a start. So far, all the code does below is hyperlink everything separated by a ...
Passing Variables Without Request.Querystring...
paleHail -
26 Sep 2006 8:30 PM - 2 messages
Hi all, I have my index.html where I have two frames: <frameset rows="144,*" border="0" frameborder="no"> <frame src="header.html" frameborder="no" noresize scrolling="no"> ...
Re: Hacker Problem
Neil -
26 Sep 2006 3:48 PM - 1 message
Thanks Mike, I will need to do some changes to prevent this from happening again. Regards, NEIL ...
OO4O: ORA-12154 Error - TNS:could not resolve the connect identifier specified
CJM -
26 Sep 2006 3:32 PM - 9 messages
I have a working web application (ASP) which links to an Oracle 10g DB via OO4O. I'm trying to port it to either of two test servers, but in fact, I can't get it to work with either - 'Unable to make connection, ORA-12154: ...
how do I parse a textbox of text separated by carriage returns?
mike -
26 Sep 2006 3:16 PM - 3 messages
how do I parse a textbox of text separated by carriage returns? I have a web form with a textbox, when the user presses submit I would like to process the text in the textbox line by line. How can I ...
asp not executed
Giorgio -
26 Sep 2006 2:42 PM - 5 messages
Hi, how can i solve this? [link] Thanx ...
Triming a Recordset
dwaldman -
26 Sep 2006 2:18 PM - 2 messages
If i have the following recordset: <td><font size="1"><%= (rsT.Fields.Item("ASC_Name").Value) %></font></td> Which in live data displays Direct Wireless for example, how would I trim that down to only display the first 10 characters of the recordset? ...
Cookies and Virtual Directories
Richard Payne -
26 Sep 2006 12:01 PM - 2 messages
Hi I'm having a problem with cookies in a virtual directory, A cookie is created by an ASP application in the root folder i.e. [link] I'm unable to read this cookie in a virtual directory i.e. ...
Job vacancy - .net developer - Paris
domenico.donvito -
26 Sep 2006 9:40 AM - 1 message
Programmer/Analyst Reference: 002001 Grade: B5 Please apply before midnight, Paris time, on: 07/10/2006 -> [link] The OECD is a unique forum where the governments of 30 market ...
HMAC-MD5
Vince -
26 Sep 2006 9:12 AM - 6 messages
Hi, I have to encrypt a string with HMAC-MD5 in asp, like the function MHASH_MD5 in php. Is anyone know how to proceed ? Thanks. Vincent ...
ASP Variable interception and Redirecting Results
gabe -
26 Sep 2006 8:43 AM - 2 messages
Hello as a user of some intranet corporate ASP application, I face some hard times filling up some asp-pages forms to get some data out of the server. It happens than you need to feel up many forms in order to get ...
Binary streaming
panda -
25 Sep 2006 11:50 PM - 5 messages
Hi, Here is a written descripton of my webpage. One frame split down the middle. The left side is the menu and the right displays what is selected from the menu. the user selects from the menu and on the right, clicks on "download image" ...
Call a web service from ASP 3 application, possible?
Anders -
25 Sep 2006 7:15 PM - 3 messages
Hi I have an ASP 3 application and I'm required to extend it to call an external web service for some banking functions. Do you guys have any code examples on this or any suggestions? I'd like to do it in .NET but this is an ...
Printing a field with a hyphen in ?
David -
25 Sep 2006 5:02 PM - 10 messages
Hi, I have a field in a select query: 'Metal-XS' which is causing a problem The recordset should look like: RS2("Metal-XS") but it says this does not exist, and I cannot get the SQL to work in ASP when I add this ...
Classic ASP question. Urgent !!!
Victor -
25 Sep 2006 2:53 PM - 7 messages
Hi, guys. We have a very old application that is written in classic ASP. It's sitting on a very old server. I am supposed to do a migration of this app to a new server. I copied all the files to a new server with Windows ...
Printing data with ASP
David -
25 Sep 2006 1:01 PM - 3 messages
Hi, I have an SQL statement which outputs the following data: A: RS("SelectorName") B: RS("SelectorQty") C: RS("ShipQty") For each record printed, I need to calculate (B * C), this is easy enough. I set up a variable as follows: TMW = RS("SelectorQty") * RS("ShipQty") ...
Grouping & Sum of result page
David -
25 Sep 2006 11:10 AM - 6 messages
Hi, I have an asp page which prints data as follows: The sum in brackets is a calculated result on the page, SQ * RS2("SelectorQty"), a variable SQ which holds a qty multiplied by a record value 96 (50) 104 (50) ...
Dynamic Creation of table
philin007 -
25 Sep 2006 9:27 AM - 3 messages
Hi Guys, Could any one help me out with codes to add rows to a table. Well I kinda of got the codes from the following site ([link]) the problem is this example only shows input box. Now i have a list that ...
Invalid SQL - Please help .........
David -
25 Sep 2006 9:03 AM - 2 messages
Hi, I cannot get the following (MS Access) SQL statement working in my asp page, please can anyone help me ? Thanks :-) ------------------------------------------------ <% strQuery = "SELECT Customers.CustomerName, OrderLines.JobNumber, Orders.PONumber, OrderLines.OrderQuantity, Sum(StockMovements.QtyShipped) AS SumOfQtyShipped, [OrderQuantity]-Sum([QtyShipped]) AS RemainingUnits, ...
vbScript Validate Checkbox
Scott -
24 Sep 2006 7:25 PM - 2 messages
I'm trying to validate a checkbox below on Sumbit. If the checkbox named "myForm.myCheckBox" isn't checked, then the code in CODE 1 displays False, which is correct. However, when I test that same value in an IF statement in CODE 2, the IF ...
How to Ban an IP Address?
Victor -
24 Sep 2006 4:11 PM - 3 messages
Is it possible to ban an IP address from global.asa, or by another method? On a shared server, I'm seeing someone from China that appears to be trying to access my site illegally (trying to access server root via cgi-bin). ...
Crystal report Generation
Jack -
24 Sep 2006 9:16 AM - 3 messages
Hello All, Can anyone here suggest me a solution to solve my follwoing problem? 1) I got a .aspx page and on that page i got a combo box and a command button. Combo box displays records from the database. ...
Update SQL
tony wong -
24 Sep 2006 2:33 AM - 2 messages
how can i trigger a SQL (update query) by clicking a button in a asp page without further action in another asp page? Most grateful if some examples can be referred. Thanks a lot. tony ...
|
|||||||||||||||||||||||