Home All Groups Group Topic Archive Search About



Active Server Pages (ASP) Programming Discussion

microsoft.public.inetserver.asp.general
Score Bring PROMPT() information to next page
Taffy Collins - 1 Oct 2005 7:55 PM - 2 messages
I have an ASP page that contains an A HREF tag.  This will load a new page and carry some variables to the new page.  What I want is that, whenever a person click the item,the prompt box comes up and ask "why are you not working item." Whatever the person types as the response, I want it to be also carried over to the new page and stored as a variable.  I think that JAVASCRIPT could achieve this, but I do not know how.  Can anyone tell me the script that willl accomplish this?  The information I have in the page itself is as follows: ...
Score control to select a folder in a web page
strutsng - 1 Oct 2005 6:31 PM - 2 messages
I want a web page that allows the user to select a folder as input, not files. If I use <input type="file">, I couldn't select a folder as input, I can only select a single file as input. In my case, are there ...
Score ASP ... ? somone help PLEASE!
zac123 - 1 Oct 2005 1:55 PM - 2 messages
Thanks Patrice -- zac123 ------------------------------------------------------------------------ Posted via [link] ------------------------------------------------------------------------ ...
Score How to add a button to Modify, delete or add a new record to this code
karenmiddleol - 1 Oct 2005 7:25 AM - 3 messages
The following code works fine I can connect to a SQL database and list all the records in the Orders table onto a web page. Now our users want me to modify it so that each row displayed as a ...
Score How to add a button to Modify, delete or add a new record to this code
karenmiddleol - 1 Oct 2005 7:21 AM - 1 message
The following code works fine I can connect to a SQL database and list all the records in the Orders table onto a web page. Now our users want me to modify it so that each row displayed as a ...
Score How to add a button to Modify, delete or add a new record to this code
karenmiddleol - 1 Oct 2005 7:20 AM - 1 message
The following code works fine I can connect to a SQL database and list all the records in the Orders table onto a web page. Now our users want me to modify it so that each row displayed as a ...
Score How to keep the data in the form fields visible after the submit button is pressed
karenmiddleol - 1 Oct 2005 4:37 AM - 5 messages
I have the following form the user enters the From and to period and presses the Submit button and the form fields are cleared once the submit button is pressed. Is there a way I can keep the Form fields visible and not cleared. ...
Score Help!!!!!!
namssalg - 30 Sep 2005 11:20 PM - 2 messages
Hi i have a web page for a glazing business and want to offer a online price calculater, the options to select would be : Type of window   Wood,Upvc, Aluminium (drop down box) Type of Glass : Clear, pattern (drop down box) ...
Score hiden Frames and data retrival
abcd - 30 Sep 2005 10:10 PM - 2 messages
Pls find enclosed files TestMe.asp --> a file has a list box with 2 values TestData.asp --> should be run in a hidden frame of TestMe.asp and should fill one of the control on the TestMe.asp ...
Score Visual InterDev 6 web project wizard and IIS question
strutsng - 30 Sep 2005 6:36 PM - 2 messages
I have 3 questions regarding IIS and ASP project creation in Visual InterDev 6. 1) In Visual InterDev 6, When I create a new project using web project wizard, I put C:\Inetpub\wwwroot\proj as location, and it shows the following ...
Score Suspecting submit form error
Andy Kasotia - 30 Sep 2005 5:39 PM - 2 messages
I have an ASP UI with VB Dll as a COM object that access the DB2 Database. I have a "Calculate" button on the ASP Page which when clicked does form validation (javascript) and submits the form (Javascript) to the same ...
Score CDONTS error - too much data?
Griff - 30 Sep 2005 4:34 PM - 8 messages
I have been using the CDONTS component on Windows 2000 to send emails for a long time now (code below). However, over time, the report that I am sending has got rather longer and it now gives me an "unknown exception" error.  However, I know that it's ...
Score searches and returns with an apostrophe
JJP - 30 Sep 2005 4:12 PM - 2 messages
hi, I am searching a SQL database from an ASP page. When the user enters criteria with an apostrophe in it, result set is empty when there should be records. For example, the SQL database contains the record Children's Museum ...
Score What is wrong I want the form and the form validation in the same page
karenmiddleol - 30 Sep 2005 2:01 PM - 5 messages
I have a simple form to accept two form fields and display the values entered on pressing the submit button. The following is the form I have created to accept the two entries and display the form fields on pressing the submit form. It does not work can somebody please correct ...
Score ASP ... ? somone help PLEASE!
zac123 - 30 Sep 2005 11:52 AM - 6 messages
thanks for that everyone, i will have a look at the free ms program as suggested. but i think i will probably stick to designing static html pages, which i have just about mastered. its just a shame - i wanted to be able to do the whole thing, design and applications. it just seems a bit silly that i cant even get a simple contact page together becuase i dont understand the workings of the code. ...
Score Basic Authentication
Vittorio Pavesi - 30 Sep 2005 9:23 AM - 6 messages
Hello, I'm using MSXML2.ServerXMLHTTP to get a web page using an url with basi c authentication (e.g. http://user:passw***@[link]). Microsoft denied basic authentication within Internet Explorer URL (see KB 834489) so I'm unable to get the page contents. ...
Score show all files in the directory, but how to show directory control??
strutsng - 30 Sep 2005 7:14 AM - 2 messages
I want to write an asp page that allows the user to choose the directory, and it will show all files in that directory. I used the tag <input type="file">, but this is for selecting a file, ...
Score Check if a document is loaded in ASP
vanisathish - 30 Sep 2005 4:45 AM - 5 messages
I am using an ASP to update some table contents on my HTML page by calling the ASP page using hidden frames. But the ASP script seem to get called even before the HTML FRAME is loaded ie.(operlayout_preload.html). Is there a way to check in ASP ...
Score Re: Copy Text To Clipboard
syoung - 30 Sep 2005 1:15 AM - 1 message
Hello Wayne, Did you find a way to get the content of your clipboard to your asp page? After reading all the replies to your request, I guess none of them really know how to do it.  I've seen it done.  I used an web application where ...
Score Get Columns From SP!
Arpan - 29 Sep 2005 10:32 PM - 1 message
An ASP application needs to display DISTINCT records of all the columns existing in a SQL Server DB table in different drop-down lists. The column names & the no. of columns aren't known while coding. The no. of ...
Score Re: IIS, ASP.Net Development and Norton Internet Security 2005
tesis - 29 Sep 2005 10:26 PM - 1 message
Hi all. Actually, I faced the same problem while upgrading to NIS2005. It's the only thread found, 1st searched on Google. It helped me, and I've found that once modified to Manual start, MS IDE activates some of its ...
Score Server Application Unavailable
Chris Davoli - 29 Sep 2005 7:28 PM - 2 messages
I'm getting these errors: IN VS.NET: The web server reported the following error when attempting to create or open the web project located at the following URL: 'http://localhost/webapplication1. 'HTTP/1.1 500 Internal Server Error'. IN BROWSER: ...
Score How to log ASP-error codes?
Michael Bender - 29 Sep 2005 4:39 PM - 2 messages
Hi everybody, I would like to write ASP error codes in a log file. Error message would be for example: ADODB.Fields error '800a0cc1' Item cannot be found in the collection corresponding to the requested name or ordinal. /ASP-application/page1.asp, line 67 ...
Score ASP ... ? somone help PLEASE!
zac123 - 29 Sep 2005 11:29 AM - 2 messages
Thanks Jeff, what i'm looking to do is to be able to create forms and have a secure login area. how can i get the data that a user inputs to my ms sql database and then collect that data from my desk top pc? ...
Score Browser Capability
Prabhat - 29 Sep 2005 9:37 AM - 4 messages
Hi All, I have IE6.0 SP1 and I executed one asp file with the below script to check the browser capability but see the result below the script...Copied from MSDN :) <% Set bc = Server.CreateObject("MSWC.BrowserType") %> ...
Score Question about uploading filt
alex - 29 Sep 2005 2:32 AM - 1 message
Dear all,   I am now creating a project which will use the aspSmartUpload component to upload the file, however, I am fail to upload some file and some text in Traditional Chinse under UTF-8 environment at the same time, i.e., when I ...
Score asp 3.0 or IIS 6 issue
jose.mendez22 - 28 Sep 2005 9:28 PM - 2 messages
I'm working with ASP 3.0 and IIS 6.  I have an ASP script file that when I post, it makes as call to a DB to process a stored procedure. The time to complete the db process varies from 2 to 5 to 10 min. ...
Score Cookie Expires - can't set in sub?
Chad Richardson - 28 Sep 2005 5:54 PM - 2 messages
I have several users data elements that I want to maintain and persist. I've created a cookie with keys to do this, but having problems with it persisting. 1. Do you set the .Expires at the Cookie level or at the Key level? ...
Score how to track iis generated email status
Dica - 28 Sep 2005 3:11 PM - 9 messages
i've got a client that wants to be able to review records about IIS generated emails. in his own words, he wants the "ability to track and report message status (i.e. how many messages were sent successfully, how many were blocked, how ...
Score Post result to inputbox in other html
tony wong - 28 Sep 2005 2:42 PM - 2 messages
i have a html form to select fax number. i wish to post the fax numbers at such layout (123456;234567;34567) to the inputbox at other html page. Can i do it?  Thanks a lot. Tony ...
Score ASP ... ? somone help PLEASE!
zac123 - 28 Sep 2005 1:54 PM - 7 messages
I know this sound stupid but i just dont know which way to turn.... i have a MS hosting package so i know i need to use an ASP language - but which one, there would sem to be severeal ASP,ASP.NET, ASP VB, C# all kinds ???? ...
Score [Microsoft][ODBC Microsoft Access Driver] Syntax error (missing operator) in query expression
Darryl - 28 Sep 2005 1:53 PM - 1 message
I am receiving this error when try to insert a value into the Summary field that is formatted in HTML. I am using ASP to connect to an Access database. The ASP code for the insert statement is as follows: ...
Score -260=B0C_centigrade_problem
Jayesh - 28 Sep 2005 1:19 PM - 6 messages
Hello...I am using xp_smtpsendmail procedure in order to send mail for my web base application. But when i sent -260°C user will get -260?$B!k?(BC. which is scrap. Please give me some idea if anybody have overcome through this problem. ...
Score [Microsoft][ODBC Microsoft Access Driver] Syntax error (missing operator) in query expression
dcarson - 28 Sep 2005 1:04 PM - 5 messages
I've read about this error in several other discussions, but still can't seem to pinpoint the problem with my code. Everything seemed to be working fine for some time, but it now tends to bomb out on me for ...
Score Internet Explorer prompts users with two open/save as dialogs
David Perez - 28 Sep 2005 12:31 PM - 2 messages
Hello. I have a problem with my Web Application in VB.NET and aspx pages. I try to open a SaveDialog window, to open or save a document when user clicl on a button, and Internet Explorer prompts users with two open/save as dialogs. ...
Score Recordset In Session!
Arpan - 28 Sep 2005 12:14 PM - 4 messages
How do I store an entire recordset in one single Session variable? Thanks, Arpan ...
Score ASP.NET Design Tools
savvaschr - 28 Sep 2005 12:03 PM - 2 messages
Hello , I am new to asp.net but old to vb.net .. so i dont find any dificulties to move arround in code. But my problem is , HOW to design the stracture of the web page in Asp.Net. For example , in the tool box there are no frames or a line object tha ...
Score Resize popup window to fit text
Terren - 28 Sep 2005 7:10 AM - 5 messages
I have a popup window that is used to display text from a database. Some times it can be a few words, sometimes it can be a hundred words. What I would like to do is resize the popup window to fit the text. ...
Score Alias!
Arpan - 28 Sep 2005 1:46 AM - 5 messages
How do I assign an alias to the mandatory "From" parameter while sending mails using CDONTS? The "From" parameter usually takes the following form: <%     Dim objMail     Set objMail=Server.CreateObject("CDONTS.NEWMAIL")     objMail.From="j***@mailserver.com" ...
Score Display Access memo field
Vincent Lau - 27 Sep 2005 11:20 PM - 3 messages
Hello, I'm new on ASP and Access. I stored several lines of information in a Access memo field. I use follow ASP response.write statement to display contain of the memo field. Response.Write sa1("job_detail") However, all the lines are mixed into one line.  How can I show it in the ...
Score Need Instructions on Setting up an ASP Application
SMAccount - 27 Sep 2005 10:23 PM - 13 messages
I have not used ASP before. Are there cookbook instructions for how to set up an asp directory structure. It is not clear to me how I must mark directories (virtual or physical), so they will all be considered to be part of the same application. Thanks. ...
Score send batch of sql statements to sql server
JT - 27 Sep 2005 9:39 PM - 2 messages
can someone point me in the right direction for learning more about how to go about sending a batch of sql statements from asp to sql server, and having errors appropriately handled? for example, i want to send the following stored procedure calls to sql server in a ...
Score asp pages ignoring lines of script
s_m_b - 27 Sep 2005 8:42 PM - 5 messages
Can't figure this one. web page with vbscript asp, w2k/iis5 The page opens with no errors (syntax errors get picked up just fine) but. If a line contains a variable that's either not dimmed, or has no ...
Score ASP error CreateObject("Word.Application") failed
MaxiWheat - 27 Sep 2005 8:35 PM - 3 messages
Hi, I am using a software that uses MS Word to create PDF files. When I try to run the sample code (ASP 3.0), I get an error on this statement : Set oWord = Server.CreateObject("Word.Application") That error says : ...
Score how session cookie is stored?
jrefactors - 27 Sep 2005 7:01 PM - 3 messages
There are two cookie types: 1) session cookie. 2) persistent cookie is the same as tracking cookie? Is that correct? For windows machine, the files in C:\Documents and Settings\Administrator\Cookies are all persistent cookie, it doesn't have session cookie? ...
Score what replaces attachURL with CDO.Message?
Dica - 27 Sep 2005 5:41 PM - 2 messages
if i needed to embed a graphic in my email, i could use CDONTS's attachURL method. since attachURL isn't supported with CDO.Message, what can i use to embed graphics? tks ...
Score Password Protected Web site
RICHARD BROMBERG - 27 Sep 2005 5:25 PM - 3 messages
I am building a password protected ASP web site. ([link]) When you go to this site there is a link in upper left corner (VIP) that takes you to a Logon  Screen. The user must enter a user name and password to gain access to the secure ...
Score Session_OnStart does not start
Prabhat - 27 Sep 2005 3:44 PM - 32 messages
Hi All, The "Session_OnStart" event doesnot fire if the website has .htm file as the startup document. If I change the extension of the default document from ..htm to .asp then I can see the event fires, But now I cant change the ...
Score I need a good mail api for ASP
Keith - 27 Sep 2005 1:33 PM - 3 messages
I have a simple ASP app (not ASP.Net) that I need to send email from. Can anyone make a recommendation, and share why that's the best one? (cdo, msxml, etc) Thanks. ...
Score tracert from an asp page
Paul Bergson - 27 Sep 2005 1:14 PM - 2 messages
I need to code a tracert function from an asp page.  I can write some asp but I'm saddled with notepad as my development suite. Any pointers on getting a tracert type function from within asp? ...
Score Permissions on another server
middletree - 27 Sep 2005 1:01 PM - 6 messages
I have two separate questions that are closely related enough that I am going to package them here. 1. On an Intranet app which tracks tickets for the Tech Support department, I have the word "Files" hyperlinked like this: <a href=\\servername\files\ ...
Score ASP forbidden on the network
J_J - 27 Sep 2005 8:15 AM - 8 messages
Hi, Below is the message I received when I attempted to use a web page on our network that makes use of ASP. The page cannot be displayed You have attempted to execute a CGI, ISAPI, or other executable program from ...
Score Edit a drop down box in asp
Terren - 27 Sep 2005 8:06 AM - 5 messages
I need to be able to edit a drop down box is asp. On my web app I populate a drop down box from a databse. The user can then select an option that will then be saved to a Database for example ...
Score What site the visitor has come from?
Hari - 27 Sep 2005 6:44 AM - 3 messages
Hi, How can I find out what site a visitor has come from using ASP? Suppose my website is sample.com and I have one page in the website that is used by the visitor to request products and demo. And on each request that ...
Score Send Message to Specific or all Domain Users from member server as
Rossco - 27 Sep 2005 6:12 AM - 1 message
Hi All, Thanks in Advance. We are trying to establish if it is possible to create an asp page that can be used on a member web server to send net send messages to either all users or to specific users/groups. Also if anyone has some small code snippets to ...
Score Cannot appent to textfile
Rolf Rosenquist - 26 Sep 2005 11:49 PM - 4 messages
With the following code I can create a new textfile if it does not exist, but it seems impossible to me, to append data to an existing file.    Dim objOpenFile, objFSO, strPath    StrPath = Server.MapPath("../smslog.txt") ...
Score Running a script from ASP-page
DanC - 26 Sep 2005 9:21 PM - 3 messages
I need to run a script in a ASP-page. Everthing runs exect the script. Set objWShell = CreateObject("WScript.Shell")     Set objCmd = objWShell.Exec("cscript /nologo c:\sss\sasysdag.js  /addclass " &  Request.Form("klas")) ...
Score testing ASP pages with Windows Front Page
J_J - 26 Sep 2005 8:16 PM - 4 messages
Hi, I have FrontPage 2003 on my XP laptop. I need to test some web pages with *.asp codes which worked perfectly well with my old Win95 computer in the past. Of course I had to install Personal Web Server to it in order to do the job. ...
Score checking for frames
middletree - 26 Sep 2005 7:26 PM - 3 messages
For the record, I hate frames. But I am stuck with them for this project. Just wanted to get that out of the way so that any helpful replies I get won't include chastisement for using frames. OK, here's the question. How can I use a server-side script to determine if ...
Score Avoiding IE warning messages
kermit - 26 Sep 2005 3:01 PM - 7 messages
I asp.net pages that run on an intranet IIS server.  Some op the pages use XLM DOM  doc.Load(sPath) to open and parse a XML file.  Every time the doc.Load(sPath) executes in IE6 a warning message comes up ...
Score ASP post loosing the data
ChrisM - 26 Sep 2005 2:59 PM - 4 messages
We have a create ASP page where the user fills in the fields and clicks submit to post the data to a save page. Recently it looks like the data is being lost at some point. We use Request.Form.Item to get the data from the ...
Score Problem authenticating using Windows
vvenk - 26 Sep 2005 2:16 PM - 2 messages
Hello: I wanted to implement windows-based authentication. However when I run this aspx form, I do not see the user name and Authentication type. Can somebody tell me what I am doing wrong? Here's the code snippets: WindowsAuth.ASPX ...
Score ASP Loop
Shiraj - 26 Sep 2005 9:49 AM - 4 messages
I have a problem, I can display some text 5 times using a loop and i want to pass those printed values to another page when i clicked send button.if you know the method please email me. thank you. ...
Score Popup window not working properly in IE6
Terren - 26 Sep 2005 8:10 AM - 8 messages
The following code is not working properly in IE6 but it does work for mozilla firefox. I am trying to open a new popup window without affecting the frame from "where" it came. But what happens when I click on the link is that the ...
Score zip/unzip
yabba - 26 Sep 2005 7:17 AM - 4 messages
...
Score Compile or Protect ASP Code?
Bill - 25 Sep 2005 7:39 PM - 7 messages
Hey, is it possible to protect ASP code in some way? Can it be compiled, or otherwise protect the source somehow? Thanks, -Bill. ...
Score problem in excel file opened in Internet exploer
sakons - 25 Sep 2005 4:19 PM - 3 messages
I have created excel file with data from a query #in asp or asp.net+c but when I run the applicaiotn i get the open /save popup when I choose open -> the file is opened in the IE (and is seen as a ...
Next »