Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Alternative to File System Object
Message
De
09/11/2003 13:12:04
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
Alternative to File System Object
Divers
Thread ID:
00848092
Message ID:
00848092
Vues:
85
I am looking for an alternative of this ASP code which would make it run ok either inside an ASP page or inside an ASPX page.
Set loFSO=CreateObject("Scripting.FileSystemObject")
lcFile=Server.MapPath(lcFileToLookFor)
If Not loFSO.FileExists(lcFile) Then
   lnExistFrench=0
End If
The problem is when being run inside an ASPX page, the Set of the first line has to be removed. So, I need some ASP code that would do the equivalent which would fit in both pages.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform