Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

Explain the extension .hta?

1013


Explain different types of segment?

1089


How to capture a runtime error in vbscript?

1212


Explain about operator precedence in vb script?

1121


What if you do not specify anything when you call a procedure?

1199


Which function allows you to instantiate an object given its programmatic identifier or progid?

1083


How many types of procedures are available in the vbscript language?

1046


What is the technology used by vb script?

1016


What are the uses of vb script?

1092


How to write VB script for login module?

3236


Which command is used for writing text on a page?

1058


Mention the environments where vbscript could be run?

1303


Dear All, I am geting below IE error whilie executing the QTP scripts in Batch mode "Internet Explorer has encountered a problem and needs to close. We are sorry for the inconvenience." can any one suggest me how to resolve this issue . Thanks Balaji

1768


Hi Friends my Question is very simple,in Manual testing when we click on a hyper link it directs us to the relavent page or it re-directs us to the current page,so there we can easily write testcase but same thing if we do in automation script using QTP & need to generate report using Reporter.report event how we will do it?thanks in advance...

2154


What is vbscript language used for and which earlier language is it modeled upon?

1059