Yes, a variable can be used. See the example in online help which can be
found at:
http://msdn.microsoft.com/library/en...m_seromexe.asp
Bob Barrows
TNGgroup wrote:[color=blue]
> I checked the article, now the Server.Execute("2.htm") command
> works fine, I'm just thinking, is it not possible to send a variable
> to this command like Server.Execute("<variable>" & ".htm") or is it
> the same as include file command ?
>
> TNGgroup
>
> "Bob Barrows [MVP]" <reb01501@NOyahoo.SPAMcom> wrote in message
> news:OT9qSLeiEHA.3428@TK2MSFTNGP11.phx.gbl...[color=green]
>>
http://www.aspfaq.com/show.asp?id=2042
>>
>> Bob Barrows
>> TNGgroup wrote:[color=darkred]
>>> thx, works, but the include file, still doesn't work ?
>>> any suggustion on this one
>>>
>>> artfilename = Request.QueryString("artnr")
>>> <!-- include file = response.write(artfilename) & " .asp"-->
>>>
>>>
>>>
>>> "Martin Honnen" <mahotrash@yahoo.de> wrote in message
>>> news:OywkI#diEHA.1644@tk2msftngp13.phx.gbl...
>>>>
>>>>
>>>> TNGgroup wrote:
>>>>
>>>>> I have some troubles with the correct syntax, hope to get some
>>>>> help. This is the intention:
>>>>> This is the code I'd like to use.
>>>>>
>>>>> url:
http://webserver/ta.asp?artnr=04001
>>>>
>>>> In ASP code you can read
>>>> Request.QueryString("artnr")
>>>>
>>>>
>>>>
>>>> --
>>>>
>>>> Martin Honnen
>>>>
http://JavaScript.FAQTs.com/[/color]
>>
>> --
>> Microsoft MVP -- ASP/ASP.NET
>> Please reply to the newsgroup. The email account listed in my From
>> header is my spam trap, so I don't check it very often. You will get
>> a quicker response by posting to the newsgroup.[/color][/color]
--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get a
quicker response by posting to the newsgroup.