<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1003295" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1003295</link>
    <description></description>
    <language>en</language>
          <item>
    <title></title>
    <link>https://www.webmaster-forums.net/server-side-scripting/guestbook-creation-asp-using-activex-jscript-posted-lloydhass#comment-1014527</link>
    <description> &lt;p&gt;PJ,&lt;br /&gt;
 Is good to hear that Jscript is a good language. I have nothing against vbscript, but is just that code without a semi-colon at the behind of each line is very weird and troublesome for me.&lt;br /&gt;
 Llyod,&lt;br /&gt;
 I learnt Javascript before than vbscript. I learnt vbscript when I want to learn asp because none of the documentation or examples are written in jscript. * sigh * It really took me a long time to pick up asp with jscript.&lt;br /&gt;
 There&#039;s a good reference for Jscript/ASP functions. Visit &lt;a href=&quot;http://www.microsoft.com/scripting&quot; title=&quot;www.microsoft.com/scripting&quot;&gt;www.microsoft.com/scripting&lt;/a&gt; and look for the jscript documentation. The reference is a need for every jscript/asp programmer, but beware there are some broken code examples. I have once had a jscript/asp problem with the dictionary object because I copied an unusable code from the reference... It took me few days to realise that its their fault instead of mine.&lt;br /&gt;
 Hope this helps.&lt;br /&gt;
 Later.&lt;/p&gt;
&lt;p&gt; Joe Thong&lt;/p&gt;
&lt;p&gt;----------&lt;br /&gt;
&lt;a href=&quot;http://phpdb.linuxbox.com/&quot; class=&quot;bb-url&quot;&gt;http://phpdb.linuxbox.com/&lt;/a&gt;&lt;br /&gt;
A free database wrapper project!&lt;/p&gt;
 </description>
     <pubDate>Sun, 07 Nov 1999 05:00:00 +0000</pubDate>
 <dc:creator>elara</dc:creator>
 <guid isPermaLink="false">comment 1014527 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/server-side-scripting/guestbook-creation-asp-using-activex-jscript-posted-lloydhass#comment-1014526</link>
    <description> &lt;p&gt;=PJ=&lt;br /&gt;
I have quite a bit of experience with JavaScript so I am going to stick with the language I am already familiar with. VBScript looks very easy to code but I just don&#039;w want to fill my head with another language at the moment. It&#039;s hard enough for me to remember JavaScript as it is.&lt;/p&gt;
&lt;p&gt;=elara=&lt;br /&gt;
Thanks for posting that script. I was after the &lt;strong&gt;AtEndofStream&lt;/strong&gt; and the &lt;strong&gt;ReadLine();&lt;/strong&gt; code. I am still looking for a JScript reference site or ActiveX. I went to the best IT bookstore in the city and they didn&#039;t have any ActiveX books in the store. The only ASP books they had were all written in VBScript.&lt;/p&gt;
&lt;p&gt;Just curious, did you fellow ASP programmers learn JavaScript before VBScript?&lt;/p&gt;
&lt;p&gt;----------&lt;br /&gt;
&lt;a href=&quot;mailto:lloydhass@hotmail.com&quot; class=&quot;bb-email&quot;&gt;lloydhass@hotmail.com&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://go.to/hass&quot; class=&quot;bb-url&quot;&gt;http://go.to/hass&lt;/a&gt; - &lt;a href=&quot;http://connect.to/wpd&quot; class=&quot;bb-url&quot;&gt;http://connect.to/wpd&lt;/a&gt;&lt;/p&gt;
 </description>
     <pubDate>Sat, 06 Nov 1999 17:32:00 +0000</pubDate>
 <dc:creator />
 <guid isPermaLink="false">comment 1014526 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/server-side-scripting/guestbook-creation-asp-using-activex-jscript-posted-lloydhass#comment-1014523</link>
    <description> &lt;p&gt;lloydhass,&lt;/p&gt;
&lt;p&gt;I know you&#039;re trying to figure this out in JScript but why? This is so easy with VBScript, just set up a Do While not guestbookfile.EOF loop and you&#039;re done.&lt;/p&gt;
&lt;p&gt;To get the same thing done with JScript you&#039;re going to have to setup some sort of variable for guestbook.EOF and then setup a loop like:&lt;/p&gt;
&lt;p&gt;for(x=0;x&amp;lt;guestbook.EOF;x++)&lt;br /&gt;
{&lt;br /&gt;
Do work here&lt;br /&gt;
}&lt;/p&gt;
&lt;p&gt;It&#039;s possible but I&#039;m not sure why you would want to use a way that&#039;s harder and more ineffective than VBScript.&lt;/p&gt;
&lt;p&gt;Later,&lt;br /&gt;
PJ&lt;/p&gt;
 </description>
     <pubDate>Sat, 06 Nov 1999 01:33:00 +0000</pubDate>
 <dc:creator>PJ</dc:creator>
 <guid isPermaLink="false">comment 1014523 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/server-side-scripting/guestbook-creation-asp-using-activex-jscript-posted-lloydhass#comment-1014522</link>
    <description> &lt;p&gt;=elara=&lt;/p&gt;
&lt;p&gt;Yeah it is JScript but I don&#039;y know the code for reading the current line of a text file or advancing to the next line. And also I don&#039;t know what code to put in the while loop.&lt;/p&gt;
&lt;p&gt;----------&lt;br /&gt;
&lt;a href=&quot;mailto:lloydhass@hotmail.com&quot; class=&quot;bb-email&quot;&gt;lloydhass@hotmail.com&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://go.to/hass&quot; class=&quot;bb-url&quot;&gt;http://go.to/hass&lt;/a&gt;&lt;/p&gt;
 </description>
     <pubDate>Fri, 05 Nov 1999 17:47:00 +0000</pubDate>
 <dc:creator />
 <guid isPermaLink="false">comment 1014522 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/server-side-scripting/guestbook-creation-asp-using-activex-jscript-posted-lloydhass#comment-1014525</link>
    <description> &lt;p&gt;Elera,&lt;/p&gt;
&lt;p&gt;I&#039;m not saying that as a scripting language in general that JScript is ineffective, since they&#039;re all fairly similar. It really depends on what you&#039;re trying to achieve. I think for this particular example VBScript handles the job much easier. I guess that&#039;s just how I classify effective, if I can achieve the same result with less code, that equals more effective to me.&lt;/p&gt;
&lt;p&gt;I don&#039;t have anything against JScript (or JavaScript) since I code in them all the time. &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/smile.png&quot; title=&quot;Smiling&quot; alt=&quot;Smiling&quot; class=&quot;smiley-content&quot; /&gt;&lt;/p&gt;
&lt;p&gt;Later,&lt;br /&gt;
PJ&lt;/p&gt;
 </description>
     <pubDate>Fri, 05 Nov 1999 05:36:00 +0000</pubDate>
 <dc:creator>PJ</dc:creator>
 <guid isPermaLink="false">comment 1014525 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/server-side-scripting/guestbook-creation-asp-using-activex-jscript-posted-lloydhass#comment-1014524</link>
    <description> &lt;p&gt;PJ,&lt;br /&gt;
 What makes you think that Jscript is ineffective? Can you please elaborate?&lt;br /&gt;
 Llyod,&lt;br /&gt;
 I have once written a file reading script. Here&#039;s the code, HOpe it helps.&lt;br /&gt;
var file = &amp;quot;users.db&amp;quot;;&lt;br /&gt;
var fs = Server.CreateObject(&amp;quot;Scripting.FileSystemObject&amp;quot;);&lt;br /&gt;
var a = fs.OpenTextFile(Server.MapPath(file));&lt;br /&gt;
while (!(a.AtEndofStream)) {&lt;br /&gt;
var arrs = new Array();&lt;br /&gt;
var str = a.ReadLine();&lt;br /&gt;
splitMe(str, &amp;quot;&amp;brvbar;&amp;quot;, arrs);&lt;br /&gt;
username = arrs[0];&lt;br /&gt;
password = arrs[1];&lt;br /&gt;
if (username == Request.Form(&amp;quot;username&amp;quot;) &amp;amp;&amp;amp; password == Request.Form(&amp;quot;password&amp;quot;)) {&lt;br /&gt;
Session(&amp;quot;news_author&amp;quot;) = username;&lt;br /&gt;
Response.Redirect(&amp;quot;admin.asp&amp;quot;);&lt;br /&gt;
}&lt;br /&gt;
else {&lt;br /&gt;
Response.Redirect(&amp;quot;login_failed.asp&amp;quot;);&lt;br /&gt;
}&lt;br /&gt;
}&lt;br /&gt;
a.close();&lt;/p&gt;
&lt;p&gt; Later &lt;/p&gt;
&lt;p&gt; Joe Thong&lt;/p&gt;
&lt;p&gt;----------&lt;br /&gt;
&lt;a href=&quot;http://phpdb.linuxbox.com/&quot; class=&quot;bb-url&quot;&gt;http://phpdb.linuxbox.com/&lt;/a&gt;&lt;br /&gt;
A free database wrapper project!&lt;/p&gt;
 </description>
     <pubDate>Fri, 05 Nov 1999 05:08:00 +0000</pubDate>
 <dc:creator>elara</dc:creator>
 <guid isPermaLink="false">comment 1014524 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/server-side-scripting/guestbook-creation-asp-using-activex-jscript-posted-lloydhass#comment-1014521</link>
    <description> &lt;p&gt;lloyd,&lt;br /&gt;
 Isn&#039;t that Jscript???&lt;br /&gt;
 Later &lt;/p&gt;
&lt;p&gt; Joe Thong&lt;/p&gt;
&lt;p&gt;----------&lt;br /&gt;
&lt;a href=&quot;http://phpdb.linuxbox.com/&quot; class=&quot;bb-url&quot;&gt;http://phpdb.linuxbox.com/&lt;/a&gt;&lt;br /&gt;
A free database wrapper project!&lt;/p&gt;
 </description>
     <pubDate>Thu, 04 Nov 1999 20:36:00 +0000</pubDate>
 <dc:creator>elara</dc:creator>
 <guid isPermaLink="false">comment 1014521 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
