Home All Groups Group Topic Archive Search About



Active Server Pages (ASP) Programming Discussion

microsoft.public.inetserver.asp.general
Score Call Access Form in browser
Eric - 11 Aug 2006 10:36 PM - 5 messages
Hi: Is it possible i call access form in browser. Thanks, ...
Score querystring variables in #include files
Todd - 11 Aug 2006 6:08 PM - 4 messages
Hello...I'm trying to include querystring variables in a #include but it's not working this works: <!--#include file="calendar/calendar.asp--> this does not: <!--#include file="calendar/calendar.asp?eventtype=1&curmonth=8&curyear=2006"--> ...
Score Invalid argument error
Eric - 11 Aug 2006 3:42 PM - 2 messages
When I run my script it gives error on the following line: strEmail = Right(strEmail, (Len(strEmail) - 1)) I enclose my code and the sample text file too Thanks, ----------------------------------------------------------------------------- Option Compare Database Option Explicit Private Sub Command26_Click() DoCmd.Close End Sub ...
Score DatePart
le0 - 11 Aug 2006 1:36 AM - 3 messages
Hello guys, Is there anything wrong with my code (see below) bcoz when 10p-6a shift my browser returns the error cannot be a zero-length string. Im wondering why, bcoz the 2 other shift works perfectly.   <%   'Shift: 6a-2p ...
Score Search Across Two Concatenated Fields
e_marquess - 10 Aug 2006 11:18 PM - 2 messages
This should be simple but it has me stumped. I have two fields First_Name and Last_Name. I want to search  for John Smith by entering  "John", "Smith" or "John Smith". I have tried to concatenate the fields with this code and it works with "John" and ...
Score array question
the other john - 10 Aug 2006 8:33 PM - 28 messages
Is there a way or a property that can tell me how many items are in an array?  Like when using the Split function but the actual number of created array items is unknown?  I need to be able to dynamically count ...
Score Need help - Using Javascript/VBScript to talk to a remote server
Roy X - 10 Aug 2006 6:37 PM - 2 messages
Hello - I am trying to embed JavaScript to an ASP page which will be executed on the server side and will send a HTTP request from the ASP Web server another remote server. Then I need to capture the remote server's ...
Score How to get new added database record identity in ASP
Bon - 10 Aug 2006 5:00 PM - 1 message
I created a stored procedure for inserting new data to database and then select scope_identity. The returned ID result is correct when i run the SP directly. But, ASP recordset return a wrong result. It always return the previous ID. For example, the current ID is 100. ...
Score Update the current page after downloading a file from a database
Roger Withnell - 10 Aug 2006 4:59 PM - 3 messages
The current page has: Response.Write "<a href=""FileDownload.asp?FileNo=" & UbeRS("FileNo") & """>Down</a>" FileDownload.asp has: .. 'Update downloaded file status in ubMgtFiles UbeQ = "UPDATE ubMgtFiles SET Uploaded = NULL, Downloaded = GetDate(), DownBy = " & Session("StaffNo") ...
Score How do I display a specific amount of words?
Lisa - 10 Aug 2006 4:53 PM - 5 messages
Hi. I have an ASP app that allows administrators to add articles to a database for viewing by the public. What I want to do is display a summary of the article and give the user the visitor to the website the option to ...
Score SMTP Mail Queue
Jeff - 10 Aug 2006 3:49 PM - 3 messages
windows server 2003 SMTP appears to be running, connection tab has "all except the list below" checked, and there is nothing in that list    I have this bit of code: Dim ObjSendMail Dim iConf Dim Flds Set ObjSendMail = Server.CreateObject("CDO.Message") ...
Score Search character
Eric - 10 Aug 2006 10:55 AM - 3 messages
How to i search the colon in the data and then pick characters after colon. for eg: ACTUAL DATA Date: Fri Aug 04 15:14:38 EDT 2006 REQURED DATA Fri Aug 04 15:14:38 EDT 2006 Thanks, ...
Score Search Character
Eric - 10 Aug 2006 10:52 AM - 1 message
How to i search the colon in the data and then pick characters after colon. for eg: ACTUAL DATA Date: Fri Aug 04 15:14:38 EDT 2006 REQURED DATA Fri Aug 04 15:14:38 EDT 2006 Thanks, ...
Score Delete Files
Eric - 10 Aug 2006 4:05 AM - 2 messages
Is it possible after i run my process i delete text files from server. I run a process to read from text files after that i want to delete these text files so that no one again run the process. I am using ASP. ...
Score Search colon
Eric - 10 Aug 2006 12:56 AM - 4 messages
Hi: How to i search ":" in a sentence. For eg: abc efg hij : kkk ddd lll fda fdasf jfdas fdas fsad When i read a line i want to skip those lines where ":" is present data = ts.ReadLine ...
Score Insert Data
Eric - 9 Aug 2006 10:35 PM - 1 message
I try to insert some data in my table name customer(Customer_Name, Street, Account_No) from data: [Customer's Name] [Street] [Account Number] How to i do that needs help ----------------------------------------------------- Set con = Server.CreateObject("ADODB.Connection") sConnection ="Provider=MSDASQL.1;Persist Security Info=False;Data ...
Score Separate two words
Eric - 9 Aug 2006 10:06 PM - 4 messages
Hi: I have data where first and last name are in one field. I need help how to i separate first and last name in ASP Thanks, ...
Score Reverse For Loop Syntax
Adrienne Boswell - 9 Aug 2006 8:08 PM - 3 messages
Today, I am braindead... I can't seem to find this in Google, and I don't remember where I used this code before (so I can't steal it from myself).  Anyway, all I want to do is: ...
Score Help reading image extended info such as Author Width Comments, Etc
tom - 9 Aug 2006 7:17 PM - 4 messages
I'm trying to read in image data using the filesystemobject. I am able to read the comments field for all file types it seems, except the ones I want, .gif .jpg and .bmp. Is it possible to do this?! If so what might I need to do? ...
Score CDONTS install
Jeff - 9 Aug 2006 4:45 PM - 13 messages
I have a dedicated windows server on BlueGenesis.    I'd like to send an email using ASP, but I'm getting this error message: Microsoft VBScript runtime  error '800a01ad' ActiveX component can't create object: 'CDONTS.NewMail' ...
Score CDONTS problem
Guatemala Balla - 9 Aug 2006 1:51 PM - 5 messages
Below is my code, it looks like it should work, I've used this exact code before but this doesn't want to send and I don't know why. Can someone take a peek see and let me know what I'm doin wrong? ...
Score text wont format from a form - email
Advo - 9 Aug 2006 1:03 PM - 10 messages
Hi there, basically ive got a script which takes information from a form, passes it to the .asp page and then emails a certain department. This is what im getting in the emails:  notice how the AddyLine 2 is ...
Score Possible trouble when migrating from IIS to ISP
codeit - 9 Aug 2006 12:57 PM - 1 message
Hi, I have a simple asp program that works fine from IIS. It's made up of 2 asp files and one MS Access database. One asp file execute just fine, it executes its code and dumps the html results onto the asp file I ...
Score Error
Eric - 9 Aug 2006 11:29 AM - 9 messages
When data is more than one line it skip the second line in my program. Case Summary where it get data only from first line. I need help what changes i will do in my program  so that  it read the whole summary ...
Score Classic ASP application deployment steps
Pfizer - 9 Aug 2006 9:16 AM - 3 messages
Hi All, I am looking for the Classic ASP application deployment steps or schenario's. If any body aware or having documents for same. Pls. help out me for same. Thanks in advance. Best Regards, Pralhad ...
Score Performance of ASP
Paul - 9 Aug 2006 6:12 AM - 5 messages
Hi I have a question? If I a loop that displays a list of records on a page, lets say a list of contacts (lets say 200). The question that I have is does it effect the performance if I add inside the loop the following: ...
Score Logical Error
Eric - 9 Aug 2006 4:10 AM - 2 messages
My program works fine accept that when the pattern contains information more than one line it shows only the first line. For example if you look into Summary the information is in more than 1 line but it shows only the first line needs help ...
Score Please Help!
Ami - 9 Aug 2006 1:26 AM - 3 messages
I need to secure my web page, when it is reading a file from the physical folder. Say for eg.. I have a page Page1.aspx, which displays a list of links that corresponds to the available text files in one of the files. All the other pages are ...
Score Sending information in a URL
charles@home.com - 8 Aug 2006 8:42 PM - 3 messages
I would like to have my application send a 'request' to an ASP page on my server. something like:- [link]"Fred"&age="25" The browser then displays the full URL including the ...
Score asp source code protection
quickcur - 8 Aug 2006 8:24 PM - 4 messages
Hi, I am new to asp. I am writing an asp page and put it at [link] In mypage.asp, there is sensitive information in the code. I do not want people get the source code of ...
Score Write xmlhttp result to text file
cwl - 8 Aug 2006 7:47 PM - 2 messages
I want to get the content of a webpage containing plain text and write the content to a text file. My code looks like this: Set xmlhttp = CreateObject("Microsoft.XMLHTTP") xmlhttp.setRequestHeader "Content-type","text/txt" text = xmlhttp.responseText dim fs, fname ...
Score Specify Default Button
Jordan S. - 8 Aug 2006 5:35 PM - 2 messages
I want to make it so that when the user is looking at a rendered ASP page and they hit the ENTER key, one of the buttons on the form gets "clicked". In other words I want for the user to not have to click on the button, and ...
Score Newbie q - from developer to live
Peter Morris - 8 Aug 2006 5:13 PM - 2 messages
Okay, this is a really basic question, but I'm a newbie. Im using MS Visual Web Developer 2005 Express I've created a web site with a few pages that runs from Developer. Now, how do I make it go live? How do I make ...
Score HTTP 500 - Internal Server Error
RRI3 - 8 Aug 2006 4:24 PM - 3 messages
I created an ASP on-line form which is displayed as http://localhost/apps/test.asp. a local server with Internet Information Services 5.1 to submit data to a MS Access database.  The ASP on-line form displays correctly on the browser but ...
Score How to refresh SQL database using ASP script?
Bon - 8 Aug 2006 3:22 PM - 4 messages
Dear all I have a javascript function which embeds ASP script for inserting data into database. After the data is inserted database, I select the maximum id (the latest inserted record id). But, it always select the previous id. It seems the database hasn't been refreshed after insert a ...
Score haveing problem in running asp.net 2.0 on iis 5.1
omx - 8 Aug 2006 11:49 AM - 2 messages
hi threre, well i receive following error when i run the file from the server, if i run the file using file system option then no error can you guys help me in solving this problem: Server Error in '/ASP_TEST' Application. ...
Score where can i get UK mortgage rates in xml/rss?
mark r - 8 Aug 2006 11:18 AM - 1 message
anyone know a source of uk mortgage rates for different providers in one feed? something thats updated pretty frequently would be nice! TIA Mark ...
Score UK/US Format Data Entry and DataBase Storage
JP SIngh - 8 Aug 2006 8:19 AM - 3 messages
Hi All We are creating a multi-region ASP application which will be using SQL Server 2000. As our users exist in multiple location i.e. UK, US, Australia how can we distinguish that the date the user is entering is captured correctly i.e. no ...
Score ASP timer Execution for som code....
Geagleeye - 8 Aug 2006 8:02 AM - 2 messages
Hi.... i do have a little problem.....i have 2 difrent functions in my asp pages... function1 and function2. funktion 2 has to be executet 15sec after function 1 had been executet.... how can this be solved in ASP, and is it impossible... ...
Score getting a whole number
le0 - 8 Aug 2006 7:26 AM - 7 messages
Hi Guys, Can you help me with this? Is there any function that I can use in getting a whole number Example: Input            OutPut 12.3                12 ...
Score HELP!!! DOGS IN CHINA
Cookie - 8 Aug 2006 1:19 AM - 1 message
This picture outs tears in your eye...:'(:'( [link] [link] [link] ...
Score HELP!!! DOGS IN CHINA
Cookie - 8 Aug 2006 1:19 AM - 1 message
This picture outs tears in your eye...:'(:'( [link] [link] [link] ...
Score Pattern Matching
Eric - 7 Aug 2006 10:01 PM - 2 messages
I use RegEx to search pattern. Script works fine  in the situation when there is a colon after each word and it fetch the rest of the word from that line. Now the pattern is in square bracket and i need help how to ...
Score Why does this work?
the other john - 7 Aug 2006 7:57 PM - 5 messages
ok, for a change I'm looking for why something "does" work. I wanted to insert a record into an Access DB and then retrieve the value that was just inserted.  I came across this... [link] ...
Score On the 15th Day of The Israeli Aggression : A total of 958 deaths since the beginning of the war....
LEBANON - 7 Aug 2006 7:26 PM - 1 message
On the 15th Day of The Israeli Aggression : A total of 958 deaths since the beginning of the war, over 3,369 wounded, 915,762 Displaced, and the world is still silent! THIS IS THE LEAST WE COULD DO FOR : LEBANON! Look at those pictures [link][link][link][link][link][link][link][link][link][link][link][link][link][link][link] Tell your friends about what is going on! ...
Score runtime error on scripting.filesystemobject
Massimo Fusetto - 7 Aug 2006 4:57 PM - 5 messages
hi all, i have a problem on an asp page , running since 1 year ago, whe try to create a file systemobject using set oFSO = CreateObject("Scripting.FileSystemObject") the error returned is : (0x8002801D) Library not registered IIS 5.1 XP PRO sp2 ...
Score date formatting
Middletree - 7 Aug 2006 4:13 PM - 8 messages
I am trying to display dates in a spreadsheet, but the dates need to be in a format that will allow them to be sorted in Excel. The datatype in the SQL Server database is datetime. In this case, I need to display the date only, ...
Score Cool Interview Questions Link
softwareakash - 7 Aug 2006 2:16 PM - 1 message
Hi all here is a cool Interview Questions database for dot net [link] or [link] Regards Akash ...
Score Problems with ASP.NET v2.0.50727
benb - 7 Aug 2006 9:17 AM - 2 messages
Hi, I'm trying to install Communicator Web Access, which requires ASP.NET v2.0.50727. I have installed the software, but when I try to activate the server it fails with 'ASP.NET v2.0.50727 must be installed first' and then ...
Score "podcast"
churchmouse - 7 Aug 2006 2:24 AM - 3 messages
I have been trying to create a "podcast" list of audio MP3 and WMA programs. I am gathering that this technique is very similar if not identical to an RSS feed. I have seen how to create the xml file that contains the feed info and have ...
Score Setting up error pages
Stuart Palmer - 6 Aug 2006 7:32 AM - 3 messages
Hi guys, Not sure if this is an IIS query or ASP, however, I'll try here first. I'm trying to create custom error pages where I can report to the user (and email myself) when I get 404 errors. My problem isn't the asp code side (as ...
Score Know ASP want to move to ASP.net
John Doe - 6 Aug 2006 12:52 AM - 4 messages
I've been writting small simple webpage for years using FrontPage and ASP. I'm thinking it might be time to take a look at ASP.net but am not sure where to start. Is there a suggested site that would help someone move from ...
Score Web Form which send data in XML format
John Doe - 6 Aug 2006 12:47 AM - 3 messages
I've written many pages that emails the content of a web form, but the data formatted very nicely. Is there a way to have the content of the submitted form data via email in XML? ...
Next »