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 326 to 350 of 463
Search took 0.03 seconds.
Search: Posts Made By: madhukp
Forum: Classic ASP Basics August 19th, 2004, 06:33 AM
Replies: 2
Views: 1,160
Posted By madhukp
print problem

Could you please take a look at

http://www.hendersonchambers.co.uk

and tell me why the rightside is getting chopped when print preview is taken (or when it is printed) ?

I have validated the...
Forum: Classic ASP Professional August 19th, 2004, 06:06 AM
Replies: 13
Views: 9,238
Posted By madhukp
ok. Here is my code. Dim xmlHttp Set...

ok. Here is my code.

Dim xmlHttp
Set xmlHttp = Server.CreateObject("Msxml2.ServerXMLHTTP")
Call xmlHttp.open("GET", "http://www.google.co.in/logos/summer2004_weightlifting.gif")
Call...
Forum: Classic ASP Professional August 19th, 2004, 05:34 AM
Replies: 13
Views: 9,238
Posted By madhukp
Hello Chris, Thanks a lot for showing me...

Hello Chris,

Thanks a lot for showing me another way.

But the following line gives an error.

stream.Type = adTypeBinary

The error is:
Forum: Classic ASP Professional August 19th, 2004, 02:56 AM
Replies: 13
Views: 9,238
Posted By madhukp
AFAIK, there is no way other than fetching image...

AFAIK, there is no way other than fetching image file through an FTP component. There are many FTP components like (dart, chillkat etc.). You can use one of them to fetch the images from remote...
Forum: Classic ASP Professional August 19th, 2004, 01:57 AM
Replies: 13
Views: 9,238
Posted By madhukp
Please specify the format of the text file. If it...

Please specify the format of the text file. If it contains a text block that is getting repeated for each product, this is possible.
Forum: VB How-To August 18th, 2004, 11:55 PM
Replies: 2
Views: 806
Posted By madhukp
The usage of ADO recordset in this way is not...

The usage of ADO recordset in this way is not good or efficient. You can do it in this way.

cnSS.Execute "UPDATE <tablename> SET Code='" & Replace(txtCardCatCode.Text, "'", "''") & "',...
Forum: Classic ASP Basics August 18th, 2004, 11:38 PM
Replies: 1
Views: 8,815
Posted By madhukp
Please see the following article. ...

Please see the following article.

http://support.microsoft.com/default.aspx?scid=kb;en-us;210842

But you require the help of server administrator incase you are working on a remote server.
Forum: Classic ASP Basics August 18th, 2004, 08:56 AM
Replies: 2
Views: 1,269
Posted By madhukp
Hello Paul, I had this type of problems for a...

Hello Paul,
I had this type of problems for a long time. Now I have solved it fully using the following method.

When inserting date into access database, I make it into a string of the format...
Forum: VB How-To August 17th, 2004, 05:51 AM
Replies: 6
Views: 6,807
Posted By madhukp
I assume you are using a data control and a db...

I assume you are using a data control and a db grid. Let their names be
dtaTest and dbgTest. The required code is given below.

dtaTest.RecordSource = "select * from CardCategory where Code = '" &...
Forum: VB How-To August 16th, 2004, 11:58 PM
Replies: 6
Views: 6,807
Posted By madhukp
I don't think you can access one particular...

I don't think you can access one particular column of a datagrid and change its values if it is associated with a data control.

In similar situations, I am using a MS Flex grid control.
Forum: VB How-To August 16th, 2004, 05:35 AM
Replies: 6
Views: 6,807
Posted By madhukp
I am doing this in the following way. I put...

I am doing this in the following way.

I put a data control in the form. Then I connect datagrid with the control using the data source property. Then I change the query property of data control....
Forum: Classic ASP Basics August 2nd, 2004, 06:03 AM
Replies: 5
Views: 976
Posted By madhukp
Eventhough I did not find any problem with the...

Eventhough I did not find any problem with the code, I have two suggestions based on my similar experience.

1) I suppose the datatype of the field NewsDesc is text (or ntext). In such case, you...
Forum: VB How-To August 1st, 2004, 11:25 PM
Replies: 3
Views: 648
Posted By madhukp
I am sorry, but I could not understand your...

I am sorry, but I could not understand your requirement. Could you please explain it in details ? What do you mean by "Select random a SQL statement" ?
Forum: Classic ASP Basics July 31st, 2004, 01:03 AM
Replies: 11
Views: 22,240
Posted By madhukp
Here are the files I changed. These are working...

Here are the files I changed. These are working correctly in my browser (IE 6.0)

'test.asp

<%@Language="VBScript"%>
<%
option explicit
Server.ScriptTimeOut=300
response.buffer=false...
Forum: Classic ASP Basics July 30th, 2004, 06:37 AM
Replies: 11
Views: 22,240
Posted By madhukp
Oh, When you mentioned local and remote, I...

Oh, When you mentioned local and remote, I thought you are talking about your development server and remote production server. Sorry for the confusion.

In this situation, you can write it like...
Forum: Classic ASP Basics July 30th, 2004, 06:10 AM
Replies: 11
Views: 22,240
Posted By madhukp
Hai Pete, FileExists works in both local...

Hai Pete,

FileExists works in both local server and remote server. I just had a check now. The problem may be that the user IUSR_<machine name> do not have read permission on the folder (images)...
Forum: Classic ASP Basics July 30th, 2004, 05:19 AM
Replies: 11
Views: 22,240
Posted By madhukp
Hai Pete, The following code will do this. ...

Hai Pete,

The following code will do this.

dim objFileSystem
Set objFileSystem=Server.CreateObject("Scripting.FileSystemObject")
if(objFileSystem.FileExists(<absolute-path-of-file>\filename)...
Forum: Classic ASP Basics July 30th, 2004, 04:37 AM
Replies: 17
Views: 26,230
Posted By madhukp
As far as I know ASP.Net, there is no property...

As far as I know ASP.Net, there is no property (other than css) for the label which make it render the text vertical. May somebody else help us.

If it is VB.Net, it is possible. There is a...
Forum: Classic ASP Basics July 30th, 2004, 02:40 AM
Replies: 17
Views: 26,230
Posted By madhukp
You can do this with the help of stylesheets....

You can do this with the help of stylesheets. Here is the style to use.

<style>
.vertical
{
writing-mode: tb-rl;
filter: flipH flipV;
}

</style>
Forum: Classic ASP Basics July 30th, 2004, 12:07 AM
Replies: 6
Views: 13,812
Posted By madhukp
This code is working perfectly in my PC. It is...

This code is working perfectly in my PC. It is correct also.

You may first check the security settings in your PC. If "Active scripting" is disabled, this won't work.

If problem persists, you...
Forum: Classic ASP Basics July 29th, 2004, 04:37 AM
Replies: 6
Views: 13,812
Posted By madhukp
You should set response.buffer=true. But if you...

You should set response.buffer=true. But if you do not set this, it should give an error.

I would suggest putting response.buffer=false so that whatever is ready for display will get displayed in...
Forum: Classic ASP Basics July 28th, 2004, 05:24 AM
Replies: 4
Views: 5,803
Posted By madhukp
May I know what error are you getting ? Are you...

May I know what error are you getting ? Are you getting a "Page expired" message which tells you to hit the refresh button ? If this is the case, then you may be submitting a form in post method to...
Forum: Classic ASP Basics July 26th, 2004, 09:51 AM
Replies: 5
Views: 1,306
Posted By madhukp
If the data is spanned across more than one month...

If the data is spanned across more than one month (or year), you can create the value for a date as below.

iDatePart=day(datevalue)
iMonthPart=month(datevalue)
iYearPart=Year(datevalue)
...
Forum: Classic ASP Basics July 26th, 2004, 08:36 AM
Replies: 5
Views: 1,245
Posted By madhukp
Thanks for the responses. I agree with Vijay that...

Thanks for the responses. I agree with Vijay that there are no components (I searched for two days). So I am forced to use the following rude method.

The HTML is using only fixed pixels for widths...
Forum: Classic ASP Basics July 26th, 2004, 08:18 AM
Replies: 5
Views: 1,306
Posted By madhukp
I have just confirmed that ChartDirector can...

I have just confirmed that ChartDirector can accept only days as the X / Y axis values and use a lable for each date. This means you can use day part of the date as the Y Axis value and then each...
Showing results 326 to 350 of 463

 




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