Home All Groups Group Topic Archive Search About



Active Server Pages (ASP) Programming Discussion

microsoft.public.inetserver.asp.general
Score Passing a QueryString
Scott - 11 Feb 2006 10:37 PM - 3 messages
I'm trying to create a link (SEE LINK BELOW) to a pop-up window (myPopUp.asp). My problem is my sTargetPage variable is a url containing a querystring variable. When myPopUp.asp opens and I get my sPage query string ...
Score random number
isaac2004 - 11 Feb 2006 7:07 PM - 13 messages
hi how would you go changing a random number generated into a item drawn from a database with SQL ...
Score ASP problem, ideas needed ;-)
Avlan - 11 Feb 2006 4:20 PM - 4 messages
Hi all, I'm pretty new at asp-coding, but I'm getting stuff to work. I now have the problem that, after someone has made a query, returning, say, 10 contacts (name/addresses in a simple table), I want the user to ...
Score data type mismatch error
David - 11 Feb 2006 7:28 AM - 6 messages
Hi, Getting the following error:- Microsoft JET Database Engine error '80040e07' Data type mismatch in criteria expression. The code is as follows, and the last line is the one that produces the error. set con = server.createobject("adodb.connection") con.open "PROVIDER=MICROSOFT.JET.OLEDB.4.0;DATA SOURCE="& ...
Score Persits PDF Expert Needed.
Serpico - 11 Feb 2006 12:51 AM - 1 message
We will be starting on a project shortly, in ASP 3.0 that will be utilizing Persits ASPPDF. I am looking for an individual we can use on a paid contract basis to handle questions, provide code samples/suggestions, etc. regarding the Persits ASPPDF Object ...
Score Missing Values in Drop down Box
It's Shroff - 10 Feb 2006 10:49 PM - 2 messages
I apologize in advance if I'm posting the wrong groups, but I have a general UI problem in my Windows apps that I'm wondering how other people may have solved. I am using VB.NET to devlope this application. ...
Score Menu Control Hover and Active Link
paulmac106 - 10 Feb 2006 8:58 PM - 3 messages
Hi, I have a menu control that has two Menu choices One is "View History Items" the second is "PDA" My problem is as you roll the mouse over the menu options, the second one works only if your mouse is actually over the text "PDA". Since it ...
Score response.redirect & server.transfer very slow
wizard04 - 10 Feb 2006 8:52 PM - 17 messages
On my WinXP machine, with both IE6 and Firefox 1.0, response.redirect and server.transfer take about a minute.  But on my WinNT machine with IE5.5, it works instantly.  What's going on? ...
Score Preventing form injection on Classic ASP pages
bregent - 10 Feb 2006 5:05 PM - 11 messages
I've seen plenty of articles and utilities for preventing form injections for ASP.NET, but not too much for classic ASP.  Are there any good input validation scripts that you use to avoid form injection attacks? I'm looking for good ...
Score Web link validator
Astra - 10 Feb 2006 11:59 AM - 3 messages
Hi All I've created a little ASP system to enable a user to add, update and remove web links from their web page, but they've asked if they could have a button that they can click to validate that all of their web links still work. ...
Score Proper FTP manager required
Astra - 10 Feb 2006 11:39 AM - 1 message
Hi All Wondered if you could help. I've created a web site system that a number of users use on their sites, but I manage each individual site/system on my ISP's server. Creating updates to this system was fine when I only had a few users, but ...
Score Strange behaviour with UTF-8 encoding
liam_weston - 10 Feb 2006 11:31 AM - 5 messages
I have 2 supposedly identical Windows 2000 web servers each with IIS5. Both have the ASPCODEPAGE set to 65001 (utf-8) in the metabase.  The first server has been running pages like the one below for a long time ...
Score Learning ASP.Net
PinkBishop - 10 Feb 2006 6:34 AM - 3 messages
Hello All, Looking for some direction on where to start. I have been doing web design and development for about 10 years. Have relied heavily on Front Page ~ it does the job~ Have used many ASP applications from hotscripts.com and ...
Score Request for views on ASP/ASP.NET/PHP
Simon O'Beirne - 9 Feb 2006 8:48 PM - 1 message
Hi guys, A bit of an odd request.  I'm in my third and final year at university, and part of an assignment requires obtaining developers' perspective on web languages. If anyone has done at least one of the languages in the subject title ...
Score Bitwise Operation limitation?
David R. - 9 Feb 2006 7:55 PM - 11 messages
I want to do bitwise operation on some large integers. For example,     Response.Write CBool(2 AND 2^30)      ' returns False     Response.Write CBool(2 AND 2^31)      ' CRASHED! ...
Score SO_RCVBUF WinSock option
obarrientos - 9 Feb 2006 7:38 PM - 1 message
I found the visual basic code that can be used to set the TCP windows size, [link] However, how would this be modified to be used in an ASP page? The two options I am interested in modifying are: ...
Score How to activate the security tab in windows xp
Jack - 9 Feb 2006 6:11 PM - 3 messages
Hi, I had to move my application along with data in a new laptop with windows xp. Here I was looking for the security tab to give permission to the folder where the database is. However, this security tab is missing. How does one ...
Score Calendar with user input
Lars Thomsen Nielsen - 9 Feb 2006 1:17 PM - 4 messages
ASP without Access database (my webserver does not support this). I'm looking for some ASP code that can show a calendar on a webpage. The people looking at the page should be able to type in a small message and a date and then send the info to the webpage ...
Score Can we Upload all files in the folder in one go ?
savvy - 9 Feb 2006 12:10 PM - 4 messages
Is it possible to Upload all the files in a particular folder at one go. I've seen many articles and info on Google and here and there about how to Upload multiple files one by one upto 2GB,  I haven't found no ...
Score Windows Server 2003 ASP Database Connection Problem
Robert Jones - 9 Feb 2006 10:34 AM - 2 messages
I am trying to set up an ASP site on a Windows 2003 server and am having problems connecting to the database. To isolate the problem I created a simple ASP test page which simply created an ADO connection object, connected to the database and returned some ...
Score SQL script help
isaac2004 - 9 Feb 2006 5:15 AM - 10 messages
hi i have a page that inclued a SQL statement that takes a user input from a form and displays the request from the database. every time i try to open the page i get an error message that says Data type ...
Score How to change aspx files in a SharePoint web site?
keithb - 8 Feb 2006 9:23 PM - 1 message
When I try making changes to aspx files in a SharePoint Windows Services web site, I get an error message saying that Visual Studio cannot open a SharePoint site. Is that true, if so, how can custom changes be made? ...
Score Not receiving Error Messages
Jeff - 8 Feb 2006 8:46 PM - 2 messages
I am testing my ASP page and when I click on the link to open up my new asp page I get "page cannot be displayed".  When another person clicks on the she gets a descriptive error message about a Type Mismatch on a COM function call ...
Score Word Automation
window.showmodaldialog & postback - 8 Feb 2006 6:50 PM - 4 messages
I need to generate one document on the server and then send it to de client. I having problems of security when i try to open word by code. How can i do that? ...
Score Retrieving a recordset and Output parameters from a Stored Procedure
stjulian - 8 Feb 2006 6:18 PM - 2 messages
If inside a stored procedure, there a SELECT statement to return a recordset and another SELECT to set the value of an output parameter (as in SELECT @OutValue = Name FROM table WHERE pkid=5), would 2 execute statements be needed to return the OUTPUT parameter? ...
Score Force ASP code to run entirely, regardless if reload or stop button is hit.
grant.griffith - 8 Feb 2006 5:50 PM - 5 messages
I need to find a way to force all the asp code on a web page to load regardless if the user hits the reload or stop button on the browser. I am seeing where more and more users are doing this and it is causing ...
Score Page breaks with Duplex printer
SMXSteve - 8 Feb 2006 4:12 PM - 3 messages
Anyone had any fun with setting page breaks with a duplex printer? Example, you have one document with several sections each with a different  number of pages. But you always want each section to start on the front side ...
Score Loop results almost right...help.
eyoung - 8 Feb 2006 4:03 PM - 13 messages
Can someone tell me what I've done wrong here...this kinda works...but no cigar! I want to loop threw each "Service Number" and get all entries before going on to the next. What looks something like this (didn't include all fields in example): ...
Score Quick Question for any MS boff
Hannibal_ZA - 8 Feb 2006 3:43 PM - 7 messages
What does MS recommend we use for coding in classic ASP? It can't be Visual Studio 2005 surely? ...
Score cab download problem
Jacques - 8 Feb 2006 3:12 PM - 8 messages
have an asp file that contains the following tag: <OBJECT classid="clsid:11111111-1111-1111-1111-111111111111" CODEBASE="mycab.cab#version=5,0,0,3"/> the cab in question has the following .inf [version] signature="$CHICAGO$" AdvancedINF=2.0 ...
Score Aligning tables
Griff - 8 Feb 2006 12:18 PM - 3 messages
I've a (classic) ASP web page that has several tables on it that have identical columns (headings). When these tables are displayed they of course have different widths, based upon the amount of text within each column. I have been asked to make all tables have identical column widths. ...
Score Creating a String based upon textbox value
andym - 8 Feb 2006 12:15 PM - 8 messages
Dear All, I wish to have an ASP page that displays a predetermined date in the middle of a string. I wish this date to be set in a seperate control panel type page. I am hoping somebody could help me. ...
Score Easy solution?
the other john - 8 Feb 2006 2:59 AM - 11 messages
I'm hoping for an easy solution to this that I'm not seeing that someone more experienced will. All I want to do it mark an option tag as selected.... <% hourCounter = 1 Do WHILE hourCounter <= 12 %> ...
Score ASPImage: bizzare concat issue
Kelly - 8 Feb 2006 2:38 AM - 1 message
Help, So I'm doing the common make thumbnails script. to save server space, I don't want to store the thumbnails, so I did the classic break up script. I parse on the main page where it gathers the folders, files and their ...
Score Web Print Form Image
Ben - 7 Feb 2006 7:45 PM - 4 messages
My ASP.Net page displays an image file of some application form, legal size. When I choose to print the page, only parts of the form got printed----missing the fields at far left and bottom. It might be possible to ...
Score dividing a recordset up for display?
eyoung - 7 Feb 2006 7:41 PM - 9 messages
I placed some code below...took out most of the unneeded html crap for this. this gives me a listing of phone charges...every other line with a different color for easy reading. What I want is this with all entries for the first "Service Number" ...
Score Splitting Text into an Array
nvanhaaster - 7 Feb 2006 5:51 PM - 3 messages
Quick question, I need to split a large amount of text into an array everytime there is an enter (meaning line down) what is the code for the delimiter i would use.. Example text Hello This is some sample text that needs to be put ...
Score Where clause
eyoung - 7 Feb 2006 5:48 PM - 2 messages
sSQL = "SELECT *" & _   " FROM 06_Statements" & _   " WHERE [Billing Date] = '23-DEC-2005'" & _   " And [Total Charge] > 0" & _   " AND Description LIKE'Cellular" & "*" & "'" & _   " ORDER BY [Service Number]" ...
Score change Registry with asp
nikou_70 - 7 Feb 2006 5:45 PM - 2 messages
it's not on web site ,computers are in intranet and that want see the message before they enter to windows (like pop up window) I have code in vb script(.vbs)(if it helps I sent for you) ,every day I change the ...
Score change Registry with asp
nikou_70 - 7 Feb 2006 4:24 PM - 3 messages
I have a message in (LegalNoticeText) in winlogin in registry ,when user( in our network) log to windows can see massage that I put in LegalNoticeText , every day I should change this message(it's message of the day) I write a html form that I could input massage in it ,I ...
Score Stream in a new windows
Suedois - 7 Feb 2006 11:09 AM - 2 messages
Hi, I use a Crystal Report Viewer to export a report in PDF. This is done by a code behind procedure like this: private void ExportReport() {   MemoryStream oStream = new MemoryStream() ;   oStream = (MemoryStream) currentReport.ExportToStream(CrystalDecisions.Shared.ExportFormatType.PortableDocFormat); ...
Score How does one execute parent class code when calling a child method?
Noozer - 7 Feb 2006 9:52 AM - 6 messages
I have two Classes in use in an ASP application... The first Class is named "ORDER". It represents one job order. It has a Delete method, among others, which deletes it from my database. The second Class is named "ORDERS". It represents a collection of ORDER ...
Score Question on Global.asa
cylix2000 - 7 Feb 2006 2:21 AM - 3 messages
I have to write Global.asa with session_onEnd. Firstly, If my IIS have a number of application, may I have a number of global.asa on each application folder? or, i can just have a global.asa on the wwwroot? ...
Score Security Issue on Copy network file
cylix2000 - 7 Feb 2006 1:42 AM - 2 messages
I have write a asp that need to copy network file from file server to web server. I try it in webserver is everything alright. When I try in other machine, error on the filepath is not found. I search for the old thread, and I found it is not the same problem. ...
Score response redirect help
isaac2004 - 7 Feb 2006 12:55 AM - 11 messages
hello i am trying to use a response redirect statment to show a message upon deletion of a record from a database. my database is ran though a page with a table with a delete option on the side. when the delete ...
Score change Registry with asp
nikou_70 - 6 Feb 2006 10:31 PM - 3 messages
Hi, I have a html page that contain a form, I want to change windows registry, this key (LegalNoticeText) to amount of the text box in the form how I can do this? Thank ...
Score how to search a string
diablo - 6 Feb 2006 7:58 PM - 4 messages
Hi if i have a string with comma seperated words. is there a way to search another string for words that are in it? thanks Kal ...
Score How to get the return value(array type) of a webservice method in ASP
Ocean - 6 Feb 2006 4:47 PM - 11 messages
I'm a novice on ASP using VBScript, and I encountered a problem when I want to get and use a return value of a web method in my ASP code. There is a web method called "getQuote", which takes a string ...
Score Generic object Clone function?
Noozer - 6 Feb 2006 3:20 PM - 9 messages
I'm looking for a way to generate a "clone" of an object. Right now I need to write a Clone function for every class that make and I'd like to have a generic routine. Instead of doing this: ...
Score STA object in Session and Thread Affiliation
Anthony Jones - 6 Feb 2006 2:22 PM - 13 messages
Here's a question that I've not been able to get a definitive answer to. Creating an STA object (such as a typical VB6 object) and assigning to the ASP Session store is a bad thing. It's a bad thing because it forces IIS to affiliate the Session with the ...
Score Run ASP without client visit? Automating backup and status check?
Noozer - 6 Feb 2006 2:12 PM - 5 messages
I know ASP isn't the best way to do this, but is it possible??? I've written an application in ASP that manipulates an MS SQL database. We'd like to have our application automatically backup the database at specific ...
Score alternative to iisProtect ?
Per W. - 6 Feb 2006 10:35 AM - 8 messages
Hi, is there some alternative to iisProtect and AuthentiX to protect folders and files on a IIS server and manage users from web, maybe som freeware or shareware? /Per W. ...
Score Printing in ASP
JP SIngh - 6 Feb 2006 9:22 AM - 3 messages
Is it possible to send a file directly to printer in ASP? I have an ASP page display the list of files associated with the record with hyperlinks to the files. I want to provide a link next to each file to allow ...
Score Read a recordset into a variable so I can disconnect from DB and use results?
Noozer - 6 Feb 2006 8:08 AM - 2 messages
This seem to be a simple question, but I'm having no luck with Google keywords... I have an some ASP in which I open a recordset via a connection to a MSSQL database. I don't want to keep the database connection open while I'm ...
Score IIS5.1 ASP problem
JoeM - 5 Feb 2006 5:25 PM - 11 messages
Not sure if this is the correct newgroup to ask this, if it is not please direct me to the correct location I have IIS5.1 on a Windows XP Pro SP2 machine.  The extensions for ASP and asa are missing the DLL files.  Like "inetsrvasp.dll"  how can I get this ...
Score Time Format: Get Rid of Seconds
PinkBishop - 5 Feb 2006 4:02 PM - 5 messages
Hello, I have a simple calendar scipt that ask for time of event input. While I like the time feature I do not like the fact that it displays with seconds included. Ex.  Displays HR:MIN:SEC    5:05:30 PM ...
Score Get User Name from Email String
Scott - 5 Feb 2006 12:42 AM - 3 messages
I need to get the userName from an Email address. For example, if the email is usern***@cnn.com, how can I can I get just the "username" part using the RIGHT() or LEFT() functions? ...
Next »