Wrox Programmer Forums
|
Welcome to the p2p.wrox.com Forums.

You are currently viewing the section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Showing results 76 to 100 of 463
Search took 0.03 seconds.
Search: Posts Made By: madhukp
Forum: SQL Server 2000 February 2nd, 2005, 12:50 AM
Replies: 3
Views: 892
Posted By madhukp
Dear Amit, Thanks for the answer. I am...

Dear Amit,

Thanks for the answer.

I am to generalise this so that I can use it in queries which return multiple records also. In my DB, there are a lot of master tables. So, I was worried...
Forum: Classic ASP Basics February 2nd, 2005, 12:42 AM
Replies: 4
Views: 820
Posted By madhukp
There is a very simple method. let rst be...

There is a very simple method.

let rst be the name of the record set used to fetch data and arr be the name of array.

arr=rst.GetRows()

will fill the array with whatever records fetched by...
Forum: Classic ASP Basics February 1st, 2005, 10:05 AM
Replies: 3
Views: 795
Posted By madhukp
Unfortunately, the more efficient operators ++...

Unfortunately, the more efficient operators ++ and += are not available in classic ASP. You have to use

variable=variable+1
Forum: SQL Server 2000 February 1st, 2005, 08:03 AM
Replies: 3
Views: 892
Posted By madhukp
Join or not join

I have 4 tables. 1) tbl_administrators 2) tbl_designations 3) tbl_countries 4) tbl_admin_types.

There are 3 foreign keys in tbl_administrators corresponding to the primary keys of second, third...
Forum: Classic ASP Basics January 31st, 2005, 01:01 AM
Replies: 3
Views: 1,405
Posted By madhukp
ASP is a goodway to fetch data, manipulate data...

ASP is a goodway to fetch data, manipulate data and create data definition objects on a remote database.

But you cannot say ASP is confined to only remote database manipulation.

It can do many...
Forum: Classic ASP Basics January 31st, 2005, 12:50 AM
Replies: 1
Views: 961
Posted By madhukp
Use the query. SELECT TOP 5 <field list>...

Use the query.

SELECT TOP 5 <field list> FROM <table clause> WHERE <condition clause>
Forum: Classic ASP Basics January 29th, 2005, 02:09 AM
Replies: 8
Views: 3,397
Posted By madhukp
Please forget about the two non-professional...

Please forget about the two non-professional methods if you are using SQL server database. I just found out that you can connect a remote SQL server using VBS.

This means you can change the...
Forum: Classic ASP Basics January 29th, 2005, 01:51 AM
Replies: 8
Views: 3,397
Posted By madhukp
That is very bad. (Server administrators should...

That is very bad. (Server administrators should be some more understanding !!!).

There are two other ways(not perfect or professional).

1) Are you aure that atleast one page of the site will be...
Forum: Classic ASP Basics January 28th, 2005, 09:00 AM
Replies: 2
Views: 742
Posted By madhukp
I could not understand your requirement very...

I could not understand your requirement very well. But

Response.IsClientConnected

Will give you the info that whether the client is still active(connected and waiting for the response from...
Forum: Classic ASP Professional January 28th, 2005, 12:52 AM
Replies: 8
Views: 1,473
Posted By madhukp
Could you be little more specific about this ?...

Could you be little more specific about this ? Are you suggesting that we can use database for session handling ?
Forum: Classic ASP Basics January 28th, 2005, 12:49 AM
Replies: 1
Views: 726
Posted By madhukp
What do you mean by "type in" ? ASP is not an...

What do you mean by "type in" ? ASP is not an interactive language like console type languages C etc. You have to submit something to an ASP page and it works only at server and not on your desktop....
Forum: Classic ASP Professional January 28th, 2005, 12:38 AM
Replies: 3
Views: 1,410
Posted By madhukp
There are two methods for refreshing parts of web...

There are two methods for refreshing parts of web page. Unfortunately both these methods work only in IE 5.0 (and above) only.

1) Using scriptlets. The following link gives more info on this.
...
Forum: Classic ASP Basics January 27th, 2005, 10:31 AM
Replies: 2
Views: 932
Posted By madhukp
You can use this function. private function...

You can use this function.

private function funcWriteStringVertically(strText)
dim iLoop
dim strReturnString
strReturnString = ""
for iLoop = 1 to len(strText)
if(strReturnString="") then...
Forum: Classic ASP Professional January 27th, 2005, 02:05 AM
Replies: 2
Views: 1,016
Posted By madhukp
Could you be little more specific about your...

Could you be little more specific about your requirement ? What do you mean by "good example of codes" ?

Are you trying to find a code that will print an input string vertically ?
Forum: Classic ASP Professional January 27th, 2005, 12:21 AM
Replies: 8
Views: 1,473
Posted By madhukp
You can store the unique id in session. use ...

You can store the unique id in session.

use

Session("gblUniqueID")=<created id>

immediately after creating it.

Then in other pages you can access it as
Forum: Classic ASP Professional January 26th, 2005, 07:57 AM
Replies: 8
Views: 1,473
Posted By madhukp
It's OK. Cool. Best wishes Madhu

It's OK. Cool.

Best wishes

Madhu
Forum: Classic ASP Professional January 26th, 2005, 05:58 AM
Replies: 8
Views: 1,473
Posted By madhukp
You are requested not to post the same issue in...

You are requested not to post the same issue in more than one area however urgent your issue may be. It is very difficult for the moderators to manage issues.

Anyway, I will give my comments on...
Forum: PHP How-To January 25th, 2005, 09:05 AM
Replies: 12
Views: 2,894
Posted By madhukp
Here are some sample scripts. Cookie setting ...

Here are some sample scripts.
Cookie setting

setcookie("user", trim($str_username), time()+365*24*60*60);

This sets a cookie of name = "user" and value = what is stored in variable...
Forum: Classic ASP Basics January 25th, 2005, 01:44 AM
Replies: 8
Views: 3,397
Posted By madhukp
The code logic will be : First - create the...

The code logic will be :

First - create the template for the mail. There should be place holders for name in the template. You may just use {{firstname}} and {{surname}} as place holders. (A...
Forum: Classic ASP Basics January 24th, 2005, 10:07 AM
Replies: 8
Views: 3,397
Posted By madhukp
All these types of things can be done with VBS...

All these types of things can be done with VBS file. Then you can put the file in the scheduler of hosting server.

VBS file is one containing VBScript and with extension .vbs. You can do almost...
Forum: SQL Server 2000 January 24th, 2005, 07:06 AM
Replies: 3
Views: 2,331
Posted By madhukp
Is there any version difference between these...

Is there any version difference between these servers ?

Are both servers accessible to you ? (This means, you should have access to the enterprise manager of both servers)

If answer to forst...
Forum: PHP How-To January 24th, 2005, 01:48 AM
Replies: 12
Views: 2,894
Posted By madhukp
If you need to first insert a record to acc table...

If you need to first insert a record to acc table and then with the new id generated insert a new record to tickets table, the above codes will do it perfectly. If you have a different requirement,...
Forum: PHP How-To January 22nd, 2005, 04:54 AM
Replies: 2
Views: 1,859
Posted By madhukp
This is because of the typical mail relay...

This is because of the typical mail relay problem.

I assume you are using SMTP server to send mails. You need to configure SMTP to solve this problem.

Open IIS manager.

Right click SMTP...
Forum: Classic ASP Professional January 21st, 2005, 12:41 AM
Replies: 6
Views: 2,708
Posted By madhukp
This date format problem gave me enough headache...

This date format problem gave me enough headache and finally I could fix it by following this strategy.

When date is stored into database, I will construct a string as below.

monthpart of...
Forum: Classic ASP Basics January 20th, 2005, 09:17 AM
Replies: 3
Views: 999
Posted By madhukp
Thanks for the reply. But I did not...

Thanks for the reply.

But I did not understand your idea. How can I include all the include files related to different modules in a single file ? For e.g. my employee mgmt module contains an...
Showing results 76 to 100 of 463

 




Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.