Forum: ASP Oct 14th, 2008 |
| Replies: 1 Views: 980 I have 3 files containing classes, let's say - A, B and C. B and C both contain the file A as they are subclasses of A, using the "#include file " directive. I am facing a problem if a page contains... |
Forum: ASP Oct 14th, 2008 |
| Replies: 3 Views: 914 There is no inbuilt Collection class. You can use either an Array or the Scripting.Dictionary object. |
Forum: ASP Oct 14th, 2008 |
| Replies: 3 Views: 914 the Destructor is
Private Sub Class_Terminate()
But there is most probably no inbuilt Collection class. |
Forum: ASP Oct 14th, 2008 |
| Replies: 3 Views: 914 Got it, the Constructor function should be called
Public Sub Class_Initialize() |
Forum: ASP Oct 14th, 2008 |
| Replies: 4 Views: 1,082 I think the problem is with App.Path which, AFAIK, is not supported in ASP. It works in VB.
If the path to your database is fixed, use
Set conn = server.createobject("adodb.connection")... |
Forum: ASP Oct 14th, 2008 |
| Replies: 3 Views: 914 How can I implement a constructor / destructor for a class written in ASP ? Something like the __constructor() function of PHP. Also is there an in-built Collection Object in ASP (as in Visual Basic)... |
Forum: ASP Sep 17th, 2008 |
| Replies: 1 Views: 948 What do u mean by 'Add 2 dates' ? You can add a date with a integer to get another date (DateAdd function) , or subtract one date from another to get the difference (DateDiff function). |
Forum: ASP Sep 15th, 2008 |
| Replies: 1 Views: 857 For Access, use
MYSQL = "DELETE FROM Request_detail WHERE Repdate between CDate('" & pdt &"') and CDate('" & cdt &"')" |
Forum: ASP Sep 11th, 2008 |
| Replies: 4 Views: 1,313 Check This out
http://www.daniweb.com/forums/thread144563.html
use the same principle |
Forum: ASP Sep 11th, 2008 |
| Replies: 2 Views: 770 Is it necessary that all records be displayed in a single page ? Can't you have a fixed no. of records per page and have links for subsequent pages. If that is acceptable, use Pagination Queries.... |
Forum: ASP Sep 11th, 2008 |
| Replies: 1 Views: 1,153 1. Before posting, store the value (in this case the selectedIndex of the SELECT) you want in a hidden control (INPUT TYPE = "Hidden" etc...)
2. Accept the value in the page accepting the post in a... |
Forum: ASP Aug 30th, 2008 |
| Replies: 4 Views: 1,880 I am not sure if you have specified the parameter stuff to the SP correctly. You are saying the SP will return a recordset - that usually means a table structure. You are also using an OUT parameter.... |
Forum: ASP Aug 30th, 2008 |
| Replies: 1 Views: 572 A simple request - Please show only the relevant portion of the code. No one has the time or patience to go through 5 pages of ur code containing style definitions and table layout. Please remember,... |
Forum: ASP Jul 1st, 2008 |
| Replies: 5 Views: 1,351 As I had already specified, use Google to search for free Editors. As for ASP tutorials, there are lots of sites offering those for free. You can try http://www.w3schools.com/asp/ for example.
I... |
Forum: ASP Jun 30th, 2008 |
| Replies: 5 Views: 1,351 What sort of tools are you looking for ? Editors / IDEs ? Try Google. Of course you can write ASP in Notepad. I personally use MS InterDev, so if you have it you can try it. |
Forum: ASP Mar 6th, 2008 |
| Replies: 2 Views: 901 I did that already and found some solutions. I was looking for user experiences about what they use, how robust the solutions were, etc. A sort of a feedback/review stuff |
Forum: ASP Mar 6th, 2008 |
| Replies: 2 Views: 901 What would be the best available solution for uploading files to a Web Server from ASP ? I have been using MS Posting Acceptor but it is giving bizarre problems (See here... |
Forum: ASP Mar 5th, 2008 |
| Replies: 0 Views: 776 I am trying to upload a file to IIS Webserver using MS Posting Acceptor. The URL from where the File is being Uploaded is
h ttp://localhost/ccs/RakeUpload.asp
After the File has been uploaded,... |
Forum: ASP Nov 30th, 2007 |
| Replies: 6 Views: 2,356 Thanks for your suggestions.
I tried out my solution (that was not working) again as I couldn't find any reason why it shouldn't. Then I realized I have to create a Virtual directory in IIS and... |
Forum: ASP Nov 29th, 2007 |
| Replies: 6 Views: 2,356 I looked up the relevant part in MSDN and the code there specifies PUBLISH. It's like ...cpshost.dll?PUBLISH?<<Page That should come after file Upload is complete>>
I know all I have to do is... |
Forum: ASP Nov 28th, 2007 |
| Replies: 6 Views: 2,356 I am trying out the process of uploading a file from a browser to the IIS 5 server. I have installed the MS Posting Acceptor (cpshost.dll) and the file exists in the C:/InetPub/Scripts folder. I... |
Forum: ASP May 24th, 2007 |
| Replies: 1 Views: 1,591 I am developing an ASP intranet site. It will run on IIS on Win 2K server. Do I need to do anything apart from creating a folder under Inetpub/wwwroot and copying the ASP and other files there ? I am... |
Forum: ASP May 3rd, 2007 |
| Replies: 4 Views: 3,418 Thanks hollystyles, I managed to solve it. I wrote a small function in the main page, which accepted a data and added it to a select in the main page. I called this function from a loop from the... |
Forum: ASP Apr 30th, 2007 |
| Replies: 7 Views: 3,906 Why aren't you checking the confirmation before going to the delete page ? I presume in the page that offers both delete and update, you have 2 buttons for delete and update. So when the user clicks... |
Forum: ASP Apr 29th, 2007 |
| Replies: 7 Views: 3,906 Shouldn't it be Request.Querystring("act") ? |
Forum: ASP Apr 28th, 2007 |
| Replies: 4 Views: 3,418 Thank You very much, hollystyles !! Is there a way I can tranfer a collection of data, say all selected values from a multi select ?
regards |
Forum: ASP Apr 27th, 2007 |
| Replies: 4 Views: 3,418 Can I transfer some data, which the user enters into a pop up window, to the page which called the pop-up window ? The Main page is in a frame. When the user clicks a button on the main page, a... |
Forum: ASP Apr 20th, 2007 |
| Replies: 1 Views: 1,615 I am developing a small Intranet application where all date displays are being handled by the DatePicker control. In many cases, the server is sending a date value to the browser where a Javascript... |
Forum: ASP Dec 29th, 2006 |
| Replies: 2 Views: 2,521 Thanks nikkiH, I tried it out and it works fine. Thanks again
aparnesh |
Forum: ASP Dec 28th, 2006 |
| Replies: 2 Views: 2,521 I have a Select in a form, which has multiple values. How can I get all the values from the Request Form collection ? I am using the post method. When I am specifying
Response.write... |
Forum: ASP Nov 2nd, 2006 |
| Replies: 1 Views: 2,966 Is it possible to redirect to a different frame ? I tried using
Response.Redirect "somepage.htm; target=MainFrame"
but it didn't work |
Forum: ASP Sep 26th, 2006 |
| Replies: 5 Views: 2,471 Actually this does not help me. As I had stated already I need an option to print formatted MIS reports with Page Headers, Page Nos, etc. Also I might need to print different groups (sections) of a... |
Forum: ASP Sep 25th, 2006 |
| Replies: 5 Views: 2,471 I am planning to use Oracle 10g database. I have been out of touch with ASP for a long time, so I am almost a newbie now. My requirement is that the formatted reports can be printed (with Report... |
Forum: ASP Sep 22nd, 2006 |
| Replies: 5 Views: 2,471 Is there a way to create Data Reports (as in VB 6) in ASP (Not ASP.Net) ? I need to create an ASP site for an intranet which will be used to view and print formatted MIS reports from the client... |