Home All Groups Group Topic Archive Search About



Active Server Pages (ASP) Programming Discussion

microsoft.public.inetserver.asp.general
Score Newbie Question-Site Setup
Tom - 1 Apr 2006 4:22 PM - 2 messages
Previously with asp, when I developed a new asp 'application', I just created a new subdirectory for the application and away we go.  Now, I have developed a new asp.net 2.0 application using VS on my development machine.  I tried ...
Score ASP and Session Variables
Bill - 1 Apr 2006 4:22 AM - 8 messages
I've noticed that in my ASP application that session variables are not carried over from one IE6 open browser window to another. Can anyone tell me how IE can do this? It seems like it's a useful protection mechanism ...
Score Simple anonymous access question
rolfejr - 31 Mar 2006 9:58 PM - 2 messages
I have what I think is a simple question but I am finding nothing but complicated answers. I have a web site running on IIS6.  One directory used to use an alternate account as the anonymous user (not the IUSR_ServerName ...
Score How do I set the authentication mode to Windows in asp?
jannordgreen - 31 Mar 2006 7:08 PM - 5 messages
I found some code on the Internet that I have modified for my needs and it works nicely from a localhost, but not when it is sitting on our intranet server. I believe the reason is that the instruction <authentication mode="Windows" /> ...
Score No submit returned in IE form
Roger Withnell - 31 Mar 2006 10:33 AM - 3 messages
With the simple form:   <form action="<%= Request.ServerVariables("SCRIPT_NAME")%>" method="post" name="form1">         <input type="text" name="text1">         <input type="Submit" name="Submit" value="Submit"> ...
Score Passing a Variable from one web site to another for ASP
James Robertson - 30 Mar 2006 11:29 PM - 3 messages
I am new to the ASP and VB thing so be kind. Question I have is that I have created an ASPX web site to use as an E-Mail page. But I want to use this for a lot of users. Can I create the link on the WEB site to mail to passing ...
Score Install of IIS 6.0 Renders Web Site Unusable
RitaG - 30 Mar 2006 7:25 PM - 3 messages
Hello. I have a Web based application that worked with IIS 5.0. Our server recently had to be rebuilt and IIS 6.0 was installed. Since then I cannot get my application to run. I get "The Page Cannot Be ...
Score Opening Drop Down lists
Tony Scott - 30 Mar 2006 5:37 PM - 3 messages
I have a SELECT element on my asp that is autopopulated from a search button. Currently, the user inputs the saecrh term, clicks the button and the drop down is populated from the DB. The user then select from the list. Everything ...
Score asp/sql
Jeff - 30 Mar 2006 5:18 PM - 10 messages
In my asp script, i am using sql to get a sum. I understand if the row doesn't contain a value, it is skipped. But the problem i am running into is if there isn't a row that meets the criteria at all. ...
Score textbox.text Property
DCSTech - 30 Mar 2006 4:06 PM - 6 messages
On my webpage I have a textbox.  I would like to be able to change the text in the textbox and via a pushbutton have the value in the textbox written to the .text property so that next time the page is viewed the new value will be ...
Score Logoff script
Mike - 30 Mar 2006 9:27 AM - 1 message
Hi All We are using the code below attached to a button on a web page to perform a logoff. We get the following error message: ActiveX component can't create object 'WbemScripting.SWbemLocator' Any idea why? I'm logged into the client machine with admin rights. ...
Score ASP rookie trying to make registration page
GabrielESandoval - 29 Mar 2006 8:26 PM - 15 messages
I need to make a registration page for a community service volleyball tournament our organization is doing.    I am VERY NEW to ASP. Would the easiest way to make it be just doing it on frontpage (where i ...
Score Save all values from a form
Sanjay - 29 Mar 2006 6:23 PM - 7 messages
Hi, Is it possible to save all the names/values of a form to another memo textfield before a Insert to the database then when required on another page split that memo textfield into the name and their corresponding values ...
Score escaping characters
Mike P - 29 Mar 2006 2:49 PM - 6 messages
I need to put the following code within a <% %> block : response.write "<tr>" &_     "<td bgcolor=eeeeee><a href=""company.asp?company=rs("companyKey")" & How do I escape the characters " etc? ...
Score access.mdb data connectivity
Hugh Welford - 29 Mar 2006 2:15 PM - 3 messages
Hi - using asp to connect to ACCESS data bases on-line. Does ACCESS or a server behave like ACCESS on a local machine? - in particular are there the same query performance advantages in applying indexes to certain table fields? Thanks ...
Score how to display a BSTR string returned by c++ component in HTML
babu17 - 29 Mar 2006 10:32 AM - 4 messages
hi, i have an asp page which creates a object using server.createobject and uses its method. example: set obj1= server.createobject("test.test") ' test is a dll tmp = obj1.method() ' it returns a BSTR string. i want to display tmp in HTML. when i tried to print tmp like ...
Score output format
kalikoi - 29 Mar 2006 10:25 AM - 7 messages
Hi I got  a string as follows str= -0.1400,0.2910,-0.2742,-0.2904,0.1087,0.0323,-0.1355,-0.1221,-0.2164,-0.2128#0.0834,-0.4026,-0.2563,-0.0145,-0.3120,-0.2324,-0.1320,-0.0246,-0.1383,-0.1964#0.0711,-0.1743,-0.0128,0.0122,-0.1154,-0.1392,-0.1910,0.0543,-0.0450,-0.0685 ...
Score Connect to SQLServer 2005 on different server
BenM - 28 Mar 2006 11:27 PM - 5 messages
I have to connect to two SQLServers in my script.  One server is local, the other is remote. I am using ODBC for the local connection:     pasConnStr = "Driver={SQL Server};" & _            "Server=(local);" & _ ...
Score file system object doesn't work in virtual path?
mbosco51 - 28 Mar 2006 9:42 PM - 6 messages
Hi.  I have a virtual path setup in order to give my web server access to a file on my app server.  I am using the file system object to check for the existance of the file and if it exists, it has to validate the ...
Score Progress bar in asp while file is downloading
shil - 28 Mar 2006 7:39 PM - 4 messages
Users can view mpeg movies from my website. When users who don't have DSL, it takes longer time to launch windows media player and play the movie. There is no indication to the users that file download is going ...
Score SQL question....
fuelvolts - 28 Mar 2006 3:46 PM - 2 messages
Website in question: [link] I want to show all of our Ph.D. students in multiple tables according to years of experience.  Right now the code I have only shows the last ...
Score DropDownList Control Functionality
Matt - 28 Mar 2006 3:39 PM - 2 messages
Hi.  I'm using VS2005 and working with the Dropdownlist control on an ASP page. My dropdownlist has several thousand items, all integers, ranging from 1000 to 80000 (these represent different company acocunts).  With that many items, I would like the user to be able to not only choose from the list, but type ...
Score Streaming file to user: 'File could not be opened'
CJM - 28 Mar 2006 2:19 PM - 8 messages
[Apologies for previous half-post: I regularly mistype some kind of key combo that submits the post] I have a page on our intranet that is supposed to stream an Excel sheet to the user. I'm using pretty standard code: ...
Score Stream file to user:
CJM - 28 Mar 2006 2:09 PM - 2 messages
I have a page on our intranet that is supposed to stream an Excel sheet to the user. I'm using pretty standard code: ...
Score asp program trying to open ms access 97 database on network fails
jannordgreen - 28 Mar 2006 12:37 PM - 3 messages
I try to run http://localhost/scroller/scrollertest.asp in my IE 6 browser. The asp program tries to connect to a MS Access 97 database. The program works when the database is sitting on any local drive, but when I put it on a network drive I get this error message: ...
Score Re: base64 image embedded in xml return document, how to extract?
Baconbutty - 28 Mar 2006 11:07 AM - 1 message
Chris wrote: I am a complete amateur at all of this, but offer the following thoughts:- 1.    If you want to extract the binary from the node client side then you may need to ask at the comp.lang.javascript or ...
Score xml object
J.D. - 28 Mar 2006 4:11 AM - 5 messages
I have an xml data that I want to store in a database. I want the following fields 1. Account-id 2. order-number 3. first-name 4. last-name 5. address-line 6. address-line-2 7 city 8, state ...
Score Using treeview.htc results in DLL initialization error
itmanager - 28 Mar 2006 3:38 AM - 1 message
We are using Microsoft's treeview.htc control to display a tree control in our .NET application. When displaying the tree, the browser returns the error: Dynamic Link Library (DLL) initialization routine failed pointing to the following line in treeview.htc: ...
Score Setting Dropdown list on Page Load
jeffmagill - 27 Mar 2006 7:15 PM - 2 messages
Hello everyone, I have what I thought was a simple script but I cant figure it out. Anyway, I want to set the selected item of a drop down list with information i am recieving from request.querystring. Seems like this is ...
Score ASP CDOSYS SMTP Email attachments are being corrupted
rschaeferhig - 27 Mar 2006 5:38 PM - 5 messages
I have an ASP page that uses CDOSYS to send a simple HTML format email with a PDF attachment. When I open the PDF attached to the email it shows up as a blank page. I log into the web server console and open the same PDF in the ...
Score asp cade breakpoints does not stop code execution
Rea - 27 Mar 2006 4:37 PM - 10 messages
Hi eb I set some 'Stop' statements and also visual breakpoints in asp code (vbscript). I am doing that in Microsoft Script debugger. Than I refresh the original page and expect execution to halt at these breakpoints but unfortunatly it does not.. ...
Score How to encrypt an asp file source code?
iweb - 27 Mar 2006 3:24 PM - 2 messages
Hi, we have an Enterprise Application on ASP and MS SQL 2000. Would like to know if I can convert the asp app to an exe or encrypt / encode / hide the source code so that no one accessing the server can touch / modify / copy the same! ...
Score Modify asp page according to Monitor resolution.
Sivaswami Jeganathan - 27 Mar 2006 1:50 PM - 3 messages
Hi I created an asp page it looks different when looked from an 1024x768 than it looked on 800x600 resolution. how to control this any idea ??? ...
Score Re: ASP to Word
Larry Bud - 27 Mar 2006 1:39 PM - 1 message
Joe wrote: Sure [link] Using some meta data you can define all sorts of things.  One of the easy ways to do this is to create a simple word doc with legal paper ...
Score Re: Very slow to load .asp website
Mike Brind - 27 Mar 2006 12:37 PM - 1 message
sommes wrote: Nothing you can do about it.  There are many reasons why that site could be slow to load: 1. Poor programming in the site 2. It could be hosted on slow servers 3. The servers it's hosted on could have a slow Internet connection ...
Score Using the Response object to download files
Roger Withnell - 26 Mar 2006 10:11 PM - 3 messages
I'm using the Response object download files from an SQL Server table to the client browser. Having set the content type and AddHeader, I use Response.Write and the file opens in the browser. How do I get the ubiquitous panel, Open or Save this file to appear so the ...
Score Re: Setting option value to session var
Mark J. McGinty - 26 Mar 2006 7:35 AM - 2 messages
Specifically his question involved clearing the session variables, values of which he is using when he constructs HTML as a response.  Clearing session variables is *obviously* a server-side affair.  The fact that, even more specifically, he is using the values of those session variables to emit ...
Next »