Groups | Blog | Home


Archived Months
June 2003
July 2003
August 2003
September 2003
October 2003
November 2003
December 2003
January 2004
February 2004
March 2004
April 2004
May 2004
June 2004
July 2004
August 2004
September 2004
October 2004
November 2004
December 2004
January 2005
February 2005
March 2005
April 2005
May 2005
June 2005
July 2005
August 2005
September 2005
October 2005
November 2005
December 2005
January 2006
February 2006
March 2006
April 2006
May 2006
June 2006
July 2006
August 2006
September 2006
October 2006
November 2006
December 2006
January 2007
February 2007
March 2007
April 2007
May 2007
June 2007
July 2007
August 2007
September 2007
October 2007
November 2007
all groups > inetserver asp general > february 2006 > threads for february 1 - 7, 2006

Filter by week: 1 2 3 4

Easy solution?
Posted by the other john at 2/7/2006 6:59:06 PM
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 %> <option value="<%=hourCounter%>" <%If hourCounter = hour(rsCalendarEdit("fld_calendar_Dat...more >>


Web Print Form Image
Posted by Ben at 2/7/2006 11:45:34 AM
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 adjust the image size when it is saved. But would it be possible to do that f...more >>

dividing a recordset up for display?
Posted by eyoung NO[at]SPAM ncsa.uiuc.edu at 2/7/2006 11:41:02 AM
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" then a space then everything for the next "Servic...more >>

Splitting Text into an Array
Posted by nvanhaaster NO[at]SPAM caitele.com at 2/7/2006 9:51:55 AM
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 into an array by everytime we go to the next line sam...more >>

Where clause
Posted by eyoung NO[at]SPAM ncsa.uiuc.edu at 2/7/2006 9:48:09 AM
sSQL = "SELECT *" & _ " FROM 06_Statements" & _ " WHERE [Billing Date] = '23-DEC-2005'" & _ " And [Total Charge] > 0" & _ " AND Description LIKE'Cellular" & "*" & "'" & _ " ORDER BY [Service Number]" set rs = Connect.Execute(sSQL) Can someone tell me what's wrong wth this? " AN...more >>

change Registry with asp
Posted by nikou_70 NO[at]SPAM yahoo.com at 2/7/2006 9:45:34 AM
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 text in this code and execute it on server ,but they want to reception do this with j...more >>

change Registry with asp
Posted by nikou_70 NO[at]SPAM yahoo.com at 2/7/2006 8:24:06 AM
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 want to change the valu...more >>

Stream in a new windows
Posted by Suedois at 2/7/2006 3:09:27 AM
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.Por...more >>



How does one execute parent class code when calling a child method?
Posted by Noozer at 2/7/2006 12:00:00 AM
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 objects. Basically an array of ...more >>

Question on Global.asa
Posted by cylix2000 at 2/6/2006 8:21:18 PM
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? Besides, I found that it seems doesn't run when I put global.asa on the application ...more >>

how to search a string
Posted by diablo at 2/6/2006 7:58:26 PM
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 ...more >>

Security Issue on Copy network file
Posted by cylix2000 at 2/6/2006 7:42:01 PM
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. My IIS authentication method set...more >>

response redirect help
Posted by isaac2004 at 2/6/2006 4:55:30 PM
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 link is clicked, the script loads a page that has a immediate response.redirect in it...more >>

Generic object Clone function?
Posted by Noozer at 2/6/2006 3:20:26 PM
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: For i = 0 to Me.Count-1 Set obj = New cSkill obj.ID = Me.Item(i).ID obj.Desc = Me.Ite...more >>

change Registry with asp
Posted by nikou_70 NO[at]SPAM yahoo.com at 2/6/2006 2:31:31 PM
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 ...more >>

STA object in Session and Thread Affiliation
Posted by Anthony Jones at 2/6/2006 2:22:30 PM
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 Thread on which the STA object is cre...more >>

Run ASP without client visit? Automating backup and status check?
Posted by Noozer at 2/6/2006 2:12:05 PM
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 times. We'd also like to generate an email report once a day on the statics ...more >>

How to get the return value(array type) of a webservice method in ASP
Posted by Ocean at 2/6/2006 8:47:10 AM
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 indicating the symbols as its parameter, and return an array of "BTQuote" objects which contai...more >>

alternative to iisProtect ?
Posted by Per W. at 2/6/2006 12:00:00 AM
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. ...more >>

Read a recordset into a variable so I can disconnect from DB and use results?
Posted by Noozer at 2/6/2006 12:00:00 AM
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 processing the data from the resulting recordset. Is there a ...more >>

Printing in ASP
Posted by JP SIngh at 2/6/2006 12:00:00 AM
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 people to click the button and send the appriopriate file to the printer. Is i...more >>

IIS5.1 ASP problem
Posted by JoeM at 2/5/2006 12:25:52 PM
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 back. Would this be on the origin...more >>

Time Format: Get Rid of Seconds
Posted by PinkBishop at 2/5/2006 11:02:25 AM
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 Desired display 5:05 PM How do I get rid of the display showing seconds? ...more >>

Get User Name from Email String
Posted by Scott at 2/4/2006 6:42:43 PM
I need to get the userName from an Email address. For example, if the email is username@cnn.com, how can I can I get just the "username" part using the RIGHT() or LEFT() functions? ...more >>

Textarea Inside of a textarea
Posted by wperry1 NO[at]SPAM gmail.com at 2/4/2006 11:28:20 AM
I am writing a small database utility to catalog all of my favorite ASM/JS/VBS... functions and scripts on an asp page. Everything is going smoothly except for one thing that I can't quite seem to think my way around. I am using a <textarea> to display the code but some of my scripts have <te...more >>

ASP startup/shutdown questions - this shouldn't be happening... (MVPs?)
Posted by tbone at 2/4/2006 9:38:28 AM
In trying to improve the throughput of a classic ASP app I wrote a few years ago, I added monitoring to the application and session start and end methods. I'm counting the total number of sessions and the high water mark. The results are puzzling to me. In Application_OnStart, I clear the curr...more >>

cut something from a string
Posted by Christopher Brandsdal at 2/4/2006 12:16:51 AM
Hi! I guess this is easy, but I ask anyway :) How can I cut 'www.' and '.no' or '.com' from a string? example input: www.norway.no www.somewhere.com I want this output: norway somewhere How can I do this? Best regards, Christopher ...more >>

Classes and collections in ASP?
Posted by Noozer at 2/4/2006 12:00:00 AM
I've always had problems getting my head around using collections and classes together. Separately, they seem like fairly simple subjects, but I'm getting muddled up when trying to use them together. Even trying to cobble together an example to post here with my question has me confused. ...more >>

Newbie - Book teaching ASP.NET using Visual Studio .Net 2003 or 2005
Posted by Phillip Vong at 2/3/2006 10:59:59 PM
NEWBIE HERE. Never programed before so I'm looking for some help. I understand some HMTL. I want to learn asp.net and I'm looking for a good book that will teach me this using MS Visual Studio .Net 2003 or 2005. I know you can do it all by notepad, but I'm not a hardcore programmer and I ...more >>

Getting NT userId from asp page
Posted by mvr at 2/3/2006 4:20:48 PM
Hi all Is there any way I can get the logged in NT user ID from asp page. I tried "Request.ServerVariables("LOGON_USER")" but no use. Our IIS 5.0 settings are as follows: Authentications methods: 1)Anonymus access ch...more >>

ASPX load a page in the main section
Posted by De kessé at 2/3/2006 3:08:11 PM
I have 2 ASPX files. One is the main, the other a smaller one which is the center part of the main ASP file. Now, how do I load the 2nd ASP into the first one? ...more >>

ASPX load a page in the boy section
Posted by De kessé at 2/3/2006 2:52:55 PM
I have 2 ASPX files. One is the main, the other a smaller one which is the center part of the main ASP file. Now, how do I load the 2nd ASP into the first one? ...more >>

QUERY: clean/tidy for Visual Studio OR ASP code
Posted by KevinGPO at 2/3/2006 12:34:53 PM
I got ASP code (VBScript mixed with HTML & Javascript) and am looking for a clean/tidy program to clean up my code. Should I use Dreamweaver cleanup, tool? ...more >>

Microsoft VBScript runtime error '800a004c'
Posted by john d at 2/3/2006 7:41:53 AM
I have an IIS 5.0 server with a Virtual Directory called test. This virtual directory points to a share on the network, \\server1\share\ and uses a valid domain account in the "Connect As" field. From an IE browser, you can access the virtual directory without a problem. However, when r...more >>

Display File in WEb Browser using ASP
Posted by Tim at 2/3/2006 7:39:59 AM
Can anyone tell me how can i use ASP to display a file in the web browser? the file is located on the server in C:\temp directory. It can be any file. Is there any way that i can do this? Thank you, tim ...more >>

Active Directory and getobject("WinNT://"
Posted by Jeff at 2/3/2006 7:36:17 AM
All, I have a simple ASP web application that has been working great for years, and now we are moving to Active Directory. The following code is in my global.asa file, but is not working anymore. Note, although we have upgraded to AD, the usernames have stayed the same. Sub Session_OnStar...more >>

One line replace for multiple targets?
Posted by Noozer at 2/3/2006 12:00:00 AM
Writing some ASP code and I need to take a string, representing a phone number, and strip out some characters, namely spaces, brackets and hyphens. I could write pNum=replace(pNum," ","") pNum=replace(pNum,"-","") pNum=replace(pNum,"(","") pNum=replace(pNum,")","") ....but that's a bit...more >>

ASP Calling ISAPI DLL
Posted by Prabhat at 2/3/2006 12:00:00 AM
Hello ALL, I have ASP pages that calls some ISAPI dll that created using Delphi for generating reports. The report page opens fine for 1st time when invoked but next time i get error like "Name not unique in this context." My quesry string pass to dll like: .../ReportsDLL/NameOfDLL.dll?PatI...more >>

Detect Session Timeout
Posted by Cam at 2/2/2006 10:21:47 PM
Hi to all I have searched this subject and found some posts but none of them seem to answer my problem. I am developing a shop site and need to detect when a session times out through inactivity and tell the user that it has been reset and he has to start over. I set some session vari...more >>

ASP / SQL Problem
Posted by dthmtlgod at 2/2/2006 1:46:24 PM
I think this is a ASP problem. Here is my SQL procedures my the SQL server I can run these in SQL Query Analyzer and get the correct results. However, when I try to run them through my ASP page, the first two do not return any results. I can't figure out why. SQL Statement 1. Returns all r...more >>

XML Caching in Classic ASP on IIS 6.0
Posted by TechNeck at 2/2/2006 1:21:29 PM
We have a website that reads data from Oracle and creates an XML file. Then the site uses that file to access the info faster. On IIS5 we have no problems, but on IIS6 we seem to have some caching issuses. This deals with the Worker Processes. By default, there is only 1 Worker Process that ge...more >>

Using Vbscript function on Multi-select field
Posted by pmarisole at 2/2/2006 10:46:19 AM
I am trying to use the vbscript "split" function on a multi-select field. I am trying to do a mass update of several records at a time. I am getting an error and I'm not sure what to do. Here is the code if someone could help... strID = split(request.form("proj"), ", ") ...more >>

Updateing a record
Posted by Magua at 2/2/2006 9:08:26 AM
Whenever i try to update a record i always get the dreaded "No permissions" here is my updates statement. Please help. Function updateData() cid = Request.QueryString("wrkstaID") sql="UPDATE work_station SET " sql=sql & "workstation='" & Request.QueryString("workstation") & "'," sql=s...more >>

ASP.NET 2005 Solution Problem
Posted by mkd1919 at 2/2/2006 7:29:18 AM
I'm developing a web service that will eventually be sent to other like organizations to communicate for a particular application. After a few weeks, I decided it would be better to split of the web service and custome code from the required code. In doing so, I created a class project. T...more >>

CDONT
Posted by Simon Wigzell at 2/2/2006 3:53:37 AM
Is it possible to extract from a CDONT a value that has been added to it? e.g. can I say: MyCDONTSMail.From="some email address" MyCDONTSMail.To="some other email address" MyCDONTSMail.Subject="some subject" MyCDONTSMail.Body="some body" And then get those values later in the program e.g...more >>

Thesaurus & internationalisation
Posted by Griff at 2/2/2006 12:00:00 AM
Hi I am writing a web application (visual basic language) that must be multi-national. I know that I can handle different languages using resource files. However, I need to extend this application to handle a Thesaurus. By this, I mean that a user may wish to over-ride any of the words...more >>

Getting a CDONT parameter
Posted by Simon Wigzell at 2/1/2006 8:08:18 PM
My website sends automatic emails from many (25) different places. I want to send a second email by reading the parameters of the first one. I don't want to have to repeat and maintain the assignment of the second email From,To,Subject fields so I am just using an include at each point in the ...more >>

Limitation of the number of recordsets ASP is able to proceed?
Posted by aa at 2/1/2006 4:05:03 PM
Is there a limitation of the number of recordsets ASP is able to proceed? When my Access database exceeded 544 records, only first 544 records are shown ...more >>

XML/ASP Help Needed
Posted by lreames NO[at]SPAM gmail.com at 2/1/2006 9:29:25 AM
I am new to XML, but not ASP. I have the following XML that I load via Dim xml Set xml = Server.CreateObject("Microsoft.XMLDOM") xml.async = False xml.loadXML xmldom.xml <deals><escanoffers><escanoffer offerid="3743" itemnumber="502022" upc="4300094509" dealamt="0.20" begindate="0...more >>


DevelopmentNow Blog