Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
From JScript to VBScript
Message
De
18/12/1998 12:55:48
 
 
À
18/12/1998 10:29:48
Information générale
Forum:
Microsoft IIS Server
Catégorie:
Autre
Divers
Thread ID:
00168857
Message ID:
00168942
Vues:
39
>On a Web site, all the pages are using JScript as the default scripting language. In those pages, we have a some includes for the header and footer. However, one of those pages is using VBScript as the default language. So, we can't no longer use the include command to include our header and footer files.
>
>The code in the include files is encapsulating the code between the <% and %> signs. So, the code is mapped by default by the default scripting language defined on top of the ASP page with the <%@ LANGUAGE="VBSCRIPT" %> command. So, the code in the include files can't no longer be executed.
>
>What would be the best way to accomplish that?


You can have multiple scripting languages in a single page.

Have you tried this with your VBScript code ?


VBScript code here...
Guy Barrette, MCSD
============
Blog http://weblogs.asp.net/guybarrette
Microsoft Regional Director, Montreal, Canada www.microsoft.com/rd
MVP, ASP.NET http://mvp.support.microsoft.com/
President, Montreal Visual Studio User Group www.guvsm.net
INETA Regional Rep for Quebec www.ineta.org
UniversalThread Magazine Columnist (.NET Books Review Column) www.utmag.com
Tech Chair French Track, DevTeach 2004 & 2005 www.devteach.com
Business Architect, Microsoft Team - Nurun Inc www.nurun.com
XBox Live Gamer Tag: Slomo QC CA
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform