Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Asp --> Jnlp (File Creation)
Message
From
22/06/2003 19:52:24
 
 
To
19/06/2003 15:06:13
David Brunelle
Université de Sherbrooke
Sherbrooke, Quebec, Canada
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
00800394
Message ID:
00802769
Views:
24
Hi David,

To create the file and read it on the server:
Function ReadAllTextFile
   Const ForReading = 1, ForWriting = 2
   Dim fso, f
   Set fso = CreateObject("Scripting.FileSystemObject")
   Set f = fso.OpenTextFile("c:\testfile.txt", ForWriting, True)
   f.Write "Hello world!"
   Set f = fso.OpenTextFile("c:\testfile.txt", ForReading)
   ReadAllTextFile =   f.ReadAll
End Function
Is this what you meant?

Kind Regards,
Tarran Walker
Previous
Reply
Map
View

Click here to load this message in the networking platform