|
|
|
|
|
| | |
|
Active Server Pages ASP programs help tutorial tutorials routine routines jobs listserve mailinglist bulletin board bulletin boards programming snippet snippets CJWSoft ASPProtect ASPBanner ASPClassifieds
(Advanced)
(Components)
(Database)
(General)
(Vbscript)

|
|
Subject: |
OpenTextFile problems with WAP |
From: |
Sindre |
Date: |
7/11/2000 5:54:05 AM |
IP: |
193.216.108.22 |
I was wondering if you knew if there is a known problem opening a text file and displaying it through a wap phone/simulator...
Here is hva I am trying to do:
<%@ Language=VBScript %><?xml version="1.0"?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml">
<wml>
<card id="stock" title="Stock Info">
<do type="prev" label="Back">
<prev/>
</do>
<p>
<%Dim fs, a
Set fs = CreateObject("Scripting.FileSystemObject")
Set a = fs.OpenTextFile("c:\myfile.txt")
While a.AtEndOfStream = False
NextLine = a.ReadLine
Response.Write(NextLine & "<br>")
Wend
a.Close
%>
</p>
</card>
</wml>
Any help is appreciated!
-Sindre |
|
|
|
|
|
|
|
|
|
|
|
|