<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/">
	<channel>
		<title>Need help with Visual Basic 6</title>
		<link>https://www.lotterypost.com/thread/155945</link>
		<atom:link href="https://www.lotterypost.com/rss/topic/155945" rel="self" type="application/rss+xml" />
		<description>Lottery Post Forum Topic: Need help with Visual Basic 6</description>
		<dc:language>en-us</dc:language>
		<generator>Lottery Post RSS Generator</generator>
		<item>
			<title>Reply #3</title>
			<link>https://www.lotterypost.com/thread/155945/829328</link>
			<guid isPermaLink="true">https://www.lotterypost.com/thread/155945/829328</guid>
			<pubDate>Sun, 13 May 2007 16:13:29 GMT</pubDate>
			<dc:creator>hypersoniq</dc:creator>
			<description><![CDATA[<p>Thanks for the input!<br /><br />What I ended up doing was hard-coding the number of draws and the resulting array loading code is...<br /><br />Dim intFileNumber As Integer<br /><br />Dim B1 As Integer<br /><br />Dim B2 As Integer<br /><br />Dim B3 As Integer<br /><br />intReadFileNumber = FreeFile<br /><br />Open  C:\P3.csv  For Input As intReadFileNumber<br /><br />Dim intLoadArray As Integer<br /><br />For intLoadArray = 1 To 10382 Step 1<br /><br />Input #intReadFileNumber, B1<br /><br />Input #intReadFileNumber, B2<br /><br />Input #intReadFileNumber, B3<br /><br />intDrawHistory(intLoadArray, 1</p>]]></description>
			<category>hypersoniq</category>
		</item>
		<item>
			<title>Reply #2</title>
			<link>https://www.lotterypost.com/thread/155945/829230</link>
			<guid isPermaLink="true">https://www.lotterypost.com/thread/155945/829230</guid>
			<pubDate>Sun, 13 May 2007 10:51:20 GMT</pubDate>
			<dc:creator>paurths</dc:creator>
			<description><![CDATA[<p>Hi hypersoniq,<br /><br />first, you should create a multidimensional array as should be done,<br /><br />meaning that the second dimension is the one that is flexible (i don&#x27;t know the correct word in English, sorry...)<br /><br />dim intDrawHistory () as Integer<br /><br />Then you can redim it, using preserve, to the correct size<br /><br />Redim intDrawHistory(3,AnyVariableHere)  &#x27;--&#x3e; 3 represents each digit of the number<br /><br />Here is an example, where a textfile is saved as  example.csv  at  c:\example.csv<br /><br />This is what is in the fi... &#x5b;&#xa0;<a href="https://www.lotterypost.com/thread/155945/829230">More</a>&#xa0;&#x5d;</p>]]></description>
			<category>paurths</category>
		</item>
		<item>
			<title>Reply #1</title>
			<link>https://www.lotterypost.com/thread/155945/829050</link>
			<guid isPermaLink="true">https://www.lotterypost.com/thread/155945/829050</guid>
			<pubDate>Sun, 13 May 2007 00:31:50 GMT</pubDate>
			<dc:creator>phileight</dc:creator>
			<description><![CDATA[<p>Hypersonic<br /><br />First, I don&#x27;t program in Vbasic. I&#x27;m stuck in the past with GWBasic.<br /><br />I use basic to load data all the time, in a manner similiar to what you are doing.  So a Question ? You outer loop loads the draw #, Why do you not use an inner loop to load the draw data? see below<br /><br />for y=1 to 3 step 1 : rem i like to keep my variables simple<br /><br />get data  :rem  with gwbasic it would be input #x,z with x being the file number(previously defined   with an open statement) and z would be... &#x5b;&#xa0;<a href="https://www.lotterypost.com/thread/155945/829050">More</a>&#xa0;&#x5d;</p>]]></description>
			<category>phileight</category>
		</item>
		<item>
			<title>Need help with Visual Basic 6</title>
			<link>https://www.lotterypost.com/thread/155945</link>
			<guid isPermaLink="true">https://www.lotterypost.com/thread/155945</guid>
			<pubDate>Sat, 12 May 2007 18:14:06 GMT</pubDate>
			<dc:creator>hypersoniq</dc:creator>
			<description><![CDATA[<p>I am almost done automating a system I am working on, I need help loading a CSV file into a 2 dimensional array... here is the code I have so far...<br /><br />Dim intDrawHistory(1 To 10382, 1 To 3) As Integer<br /><br />Dim intLoadArray As Integer<br /><br />&#x27;Open statement Here<br /><br />For intLoadArray = 1 To 10382 Step 1<br /><br />&#x27;load 1stnumber here =intDrawHistory (intLoadArray,1)<br /><br />&#x27;load second number here =intDrawHistory (intLoadArray,2)<br /><br />&#x27;load third number here =intDrawHistory (intLoadArray,3)<br /><br />Next intLoadArray<br /><br />T... &#x5b;&#xa0;<a href="https://www.lotterypost.com/thread/155945">More</a>&#xa0;&#x5d;</p>]]></description>
			<category>hypersoniq</category>
		</item>
	</channel>
</rss>

