<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="FeedCreator 1.8" -->
<?xml-stylesheet href="https://wiki.plecko.hr/lib/exe/css.php?s=feed" type="text/css"?>
<rdf:RDF
    xmlns="http://purl.org/rss/1.0/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel rdf:about="https://wiki.plecko.hr/feed.php">
        <title>Eureka Moment development:vbs</title>
        <description></description>
        <link>https://wiki.plecko.hr/</link>
        <image rdf:resource="https://wiki.plecko.hr/lib/tpl/bootstrap3/images/favicon.ico" />
       <dc:date>2026-04-15T10:55:43+00:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="https://wiki.plecko.hr/doku.php?id=development:vbs:random_string&amp;rev=1572509100&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.plecko.hr/doku.php?id=development:vbs:sr_enc&amp;rev=1572509100&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.plecko.hr/doku.php?id=development:vbs:start&amp;rev=1572509100&amp;do=diff"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="https://wiki.plecko.hr/lib/tpl/bootstrap3/images/favicon.ico">
        <title>Eureka Moment</title>
        <link>https://wiki.plecko.hr/</link>
        <url>https://wiki.plecko.hr/lib/tpl/bootstrap3/images/favicon.ico</url>
    </image>
    <item rdf:about="https://wiki.plecko.hr/doku.php?id=development:vbs:random_string&amp;rev=1572509100&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2019-10-31T09:05:00+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>development:vbs:random_string</title>
        <link>https://wiki.plecko.hr/doku.php?id=development:vbs:random_string&amp;rev=1572509100&amp;do=diff</link>
        <description>VBScript: Random string


Function RndStr( ByVal intLen )
    Dim tmp
    Dim intRnd
	Const constCHARS = &quot;ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789!#%&amp;/()=?*+'\&lt;&gt;;:_,.-&quot;
    Randomize
	intRnd=Len(constCHARS)+1
    For i = 1 to intLen
		do until intRnd&lt;Len(constCHARS)+1 and intRnd&gt;0
			intRnd = int(Rnd*100)
		loop
		tmp = tmp &amp; Mid( constCHARS, intRnd ,1 )
		intRnd=Len(constCHARS)+1
    Next
    RndStr = tmp
End Function</description>
    </item>
    <item rdf:about="https://wiki.plecko.hr/doku.php?id=development:vbs:sr_enc&amp;rev=1572509100&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2019-10-31T09:05:00+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>development:vbs:sr_enc</title>
        <link>https://wiki.plecko.hr/doku.php?id=development:vbs:sr_enc&amp;rev=1572509100&amp;do=diff</link>
        <description>VisualBasic .net streamreader encoding

Reading text files that don't have default encoding (your system default) can be a pain. Here is how you do it - with full list of encodings


Dim SR As System.IO.StreamReader = New StreamReader(&quot;in.txt&quot;, Encoding.GetEncoding(&quot;ibm852&quot;))
Dim strtmp As String
While Not SR.EndOfStream
    strtmp = SR.ReadLine()
    'Do something with this line
End While
SR.Close()
SR.Dispose()
SR = Nothing</description>
    </item>
    <item rdf:about="https://wiki.plecko.hr/doku.php?id=development:vbs:start&amp;rev=1572509100&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2019-10-31T09:05:00+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>development:vbs:start</title>
        <link>https://wiki.plecko.hr/doku.php?id=development:vbs:start&amp;rev=1572509100&amp;do=diff</link>
        <description>VBS




	* VBScript: Random string
	* VisualBasic .net streamreader encoding</description>
    </item>
</rdf:RDF>
