What is wrong with the following code:
<%afname="header.asp"%><!?#include file ="<%=afname%>"?>

Answer Posted / pankajbisane

Will not work because ASP executes the #include directive
before it assigns a value to the variable.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is purpose of scripting.filesystemobject class in vbscript?

898


What are the different types of loops available in the vbscript language?

753


Mention what is the difference between vbscript and vba?

753


Difference between dim,public and private variables in vb script?

760


I have an excel sheet with multiple ID's in a column. Now i need fetch those ID's in an application and check whether if it already exist in the DB. If not then i have to go with the process of inserting them in the DB. If it exists then i need to skip that ID and move to the next ID and check the same and proceed. How can i do that with for loop and if condition?

1110


How to assign a numeric value to a variable?

859


How to make sure that items in a wintree are sorted al?

2581


How to identify column in VSFlexgrid? My VSFlexgrid window is identified as 'Active X Control'

3527


Explain the arrays in vb script?

827


Why is error handling required?

778


what is resorceallocation

1984


What are the uses of vb script?

821


Explain about the asc function?

837


what is the standards used for writing the script in QTP

2101


Hi Friends Rajendra this is bhavani prasad, iam working Hyderabad. i faced one problem with qtp recording mode i.e in my application there is 100 records first we click the first record that record will be jumped to next session and 99 records will there stop the recording and run the same script .Run this script qtp does not identify the records. So plz tell me what is the solution.

1816