<?xml version="1.0" encoding="ISO-8859-1"?>

<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/">
	<channel>
		<title>Bytes - answers</title>
		<link>http://bytes.com</link>
		<description>Visual Basic programming language and IDE - Get answers to questions about rapid application development, GUI, database access, DAO, RDO, ADO, Active X Controls, objects, Microsoft Visual Basic 4/5/6.  For VB.NET questions go to VB.NET.</description>
		<language>en</language>
		<lastBuildDate>Fri, 20 Nov 2009 22:31:42 GMT</lastBuildDate>
		<generator>vBulletin</generator>
		<ttl>60</ttl>
		<image>
			<url>http://bytes.com/images/misc/rss.jpg</url>
			<title>Bytes - answers</title>
			<link>http://bytes.com</link>
		</image>
		<item>
			<title><![CDATA[recordsource >= string]]></title>
			<link>http://bytes.com/topic/visual-basic/answers/877378-recordsource-string</link>
			<pubDate>Fri, 20 Nov 2009 16:54:15 GMT</pubDate>
			<description>Hi, 
 
I was wondering if anyone could possibly help me wih this issue. I have an access database. In this database I have a massive table that I...</description>
			<content:encoded><![CDATA[<div>Hi,<br />
<br />
I was wondering if anyone could possibly help me wih this issue. I have an access database. In this database I have a massive table that I have created a query off of in order to be able to edit the data because the actual data is write protected. <br />
<br />
I am trying to search for certain dates in the table that have been input ex. from m/d/yyyy to m/d/yyyy. I would like to run a query that would filter the results for me. <br />
<br />
My basic assumptions would lead me to think that I can run a query as follows; <br />
<br />
data1.recordsource = &quot;Select * from [table] where (value in column) &gt;= &quot; &amp; date1 &amp; &quot; and (value in column) &lt;= &quot; &amp; date2 &amp; &quot;&quot;<br />
data1.refresh <br />
<br />
however, this is not working for me. Any ideas??<br />
<br />
Thanks</div>

]]></content:encoded>
			<category domain="http://bytes.com/topic/visual-basic/answers/">answers</category>
			<dc:creator>kbbauman</dc:creator>
			<guid isPermaLink="true">http://bytes.com/topic/visual-basic/answers/877378-recordsource-string</guid>
		</item>
		<item>
			<title>what is the sql statement for insert into when using the script editor from ms access</title>
			<link>http://bytes.com/topic/visual-basic/answers/877373-what-sql-statement-insert-into-when-using-script-editor-ms-access</link>
			<pubDate>Fri, 20 Nov 2009 16:13:18 GMT</pubDate>
			<description>I have the database test.mdb with a table named tabel  
The table contains 2 fields: nume and prenume 
 
I have created a data access page that has 2...</description>
			<content:encoded><![CDATA[<div>I have the database test.mdb with a table named tabel <br />
The table contains 2 fields: nume and prenume<br />
<br />
I have created a data access page that has 2 textboxes: text0 and text1 and also a button: command0<br />
 <br />
what is the code that i need in the onclik event from ms script editor so that the values from text0 and text1 to be inserted into fields (nume and prenume)<br />
<br />
sory for my bad english</div>

]]></content:encoded>
			<category domain="http://bytes.com/topic/visual-basic/answers/">answers</category>
			<dc:creator>alcoool</dc:creator>
			<guid isPermaLink="true">http://bytes.com/topic/visual-basic/answers/877373-what-sql-statement-insert-into-when-using-script-editor-ms-access</guid>
		</item>
		<item>
			<title>EXCEL - accessing workbook.A.userform  from workbook.B</title>
			<link>http://bytes.com/topic/visual-basic/answers/877370-excel-accessing-workbook-userform-workbook-b</link>
			<pubDate>Fri, 20 Nov 2009 15:38:33 GMT</pubDate>
			<description><![CDATA[Hello 
 
What I want to do is: 
from this workbook (thisWB), I want to access a userform's properties that are in another Workbook (toolWB)   
 
I...]]></description>
			<content:encoded><![CDATA[<div>Hello<br />
<br />
What I want to do is:<br />
from this workbook (thisWB), I want to access a userform's properties that are in another Workbook (toolWB)  <br />
<br />
I can do this for worksheets, but I want to do it as well for the userform<br />
<br />
I have searched the help files, forums and went through all of the properties of workbooks and worksheets to no avail.<br />
<br />
I have a way to go around my problem but not without rewriting a lot of code. <br />
<br />
If someone has any ideas on the subject, please let me know.<br />
<br />
<!-- CODE -->
<div id="codeHolder" class="codeHolder" style="width: 500px;">
<div class="codeHeader">
	<span class="codeLink" onclick="Blur(this, this.parentNode.parentNode, getChildren(this),true);">Expand</span><span class="codeDivider">|</span><span class="codeLink" onclick="selectAll(this);">Select</span><span class="codeDivider">|</span><span class="codeLink" onclick="WordWrap(this);">Wrap</span><span class="codeDivider">|</span><span class="codeLink" onclick="LineNumbers(this);">Line Numbers</span>
</div>

<div class="codeContent" style="display: block; width: 500px; white-space: nowrap;">
	<ol START="1" highlight="true">

<li class="codeLI">Option&nbsp;Explicit&nbsp;'&nbsp;this&nbsp;code&nbsp;is&nbsp;on&nbsp;a&nbsp;thisWB&nbsp;module</li>
<li class="codeLI">
Public&nbsp;toolWB&nbsp;As&nbsp;Workbook</li>
<li class="codeLI">
Public&nbsp;deskSHEET&nbsp;As&nbsp;Worksheet</li>
<li class="codeLI">
Public&nbsp;deskFRM&nbsp;As&nbsp;UserForm</li>
<li class="codeLI">
Sub&nbsp;setToolWB()</li>
<li class="codeLI">
&nbsp;&nbsp;&nbsp;&nbsp;Set&nbsp;toolWB&nbsp;=&nbsp;toolWB</li>
<li class="codeLI">
&nbsp;&nbsp;&nbsp;&nbsp;Set&nbsp;deskSHEET&nbsp;=&nbsp;toolWB.Sheets(&quot;Desk&nbsp;Bureau&quot;)&nbsp;'&nbsp;this&nbsp;works</li>
<li class="codeLI">
&nbsp;&nbsp;&nbsp;&nbsp;Set&nbsp;deskFRM&nbsp;=&nbsp;toolWB.[???]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'&nbsp;HELP!</li>
<li class="codeLI">
End&nbsp;Sub</li>

	</ol>
</div>
</div>
<!-- /CODE -->


Thanks<br />
<br />
<br />
P :oD</div>

]]></content:encoded>
			<category domain="http://bytes.com/topic/visual-basic/answers/">answers</category>
			<dc:creator>pod</dc:creator>
			<guid isPermaLink="true">http://bytes.com/topic/visual-basic/answers/877370-excel-accessing-workbook-userform-workbook-b</guid>
		</item>
		<item>
			<title>How to create Animation in VB6?</title>
			<link>http://bytes.com/topic/visual-basic/answers/877347-how-create-animation-vb6</link>
			<pubDate>Fri, 20 Nov 2009 06:38:07 GMT</pubDate>
			<description>Hi i am a computer science students in the Philippines. 
 
And I am having difficulties on how to create a simple animation 
for our Thesis. 
 
Our...</description>
			<content:encoded><![CDATA[<div>Hi i am a computer science students in the Philippines.<br />
<br />
And I am having difficulties on how to create a simple animation<br />
for our Thesis.<br />
<br />
Our Topic Is Simulation of Searching Algorithms.<br />
<br />
Anybody could help me in creating simple animations about searching algorithms.<br />
<br />
thank you so much<br />
<br />
jander</div>

]]></content:encoded>
			<category domain="http://bytes.com/topic/visual-basic/answers/">answers</category>
			<dc:creator>leander013</dc:creator>
			<guid isPermaLink="true">http://bytes.com/topic/visual-basic/answers/877347-how-create-animation-vb6</guid>
		</item>
		<item>
			<title>Data Report using VB6</title>
			<link>http://bytes.com/topic/visual-basic/answers/877295-data-report-using-vb6</link>
			<pubDate>Thu, 19 Nov 2009 08:50:17 GMT</pubDate>
			<description>Hi Every body 
 
 
I had a problem with data Reports 
 
I am using MS Access as backend and VB 6.0 
 
by Database name is = Cust 
 
The tables are</description>
			<content:encoded><![CDATA[<div>Hi Every body<br />
<br />
<br />
I had a problem with data Reports<br />
<br />
I am using MS Access as backend and VB 6.0<br />
<br />
by Database name is = Cust<br />
<br />
The tables are<br />
<br />
Table Name    		The filelds are<br />
 inv                 		custname, invno, invdt, invamt<br />
<br />
Items_detail_transactions	custname, invno, invdt, invamt, paiddt, paidamt<br />
<br />
From the above two tables i want the report like<br />
<br />
Customer Name   MSV COMPUTERS<br />
================================<br />
Inv No	invdate 	invamt	paiddt	paidamt	total Due<br />
MSV/123	11-Oct-09	4,850.00					4,850.00<br />
                   				16-Nov-09	3,000.00	1,850.00<br />
						18-Nov-09	1,000.00	   850.00<br />
<br />
<br />
MSV/X1	15-Nov-09	9,375.00	                                9,375.00<br />
						0.00		0.00		9,375.00<br />
<br />
<br />
custname	SURAKSHA INFOTECH	<br />
================================<br />
Inv No	invdate 	invamt	paiddt	paidamt	total Due <br />
SI-2345	11-Dec-09	10,750.00	                                10,750.00	<br />
						0.00		0.00		10,750.00<br />
  <br />
<br />
I want this without using dataenvironment<br />
It is very urgent <br />
some please help<br />
</div>


	<br />
	<div style="padding:6px">

	

	

	

	
		<fieldset class="fieldset">
			<legend>Attached Files</legend>
			<table cellpadding="0" cellspacing="3" border="0">
			<tr>
	<td><img class="inlineimg" src="http://bytes.com/images/attach/txt.gif" alt="File Type: txt" width="16" height="16" border="0" style="vertical-align:baseline" /></td>
	<td><a href="http://bytes.com/attachments/attachment/2440d1258620558/help-report.txt">help report.txt</a> (892 Bytes)</td>
</tr>
			</table>
		</fieldset>
	

	</div>
]]></content:encoded>
			<category domain="http://bytes.com/topic/visual-basic/answers/">answers</category>
			<dc:creator>saiabhi</dc:creator>
			<guid isPermaLink="true">http://bytes.com/topic/visual-basic/answers/877295-data-report-using-vb6</guid>
		</item>
		<item>
			<title>OnCOmm event does not trigger.</title>
			<link>http://bytes.com/topic/visual-basic/answers/877268-oncomm-event-does-not-trigger</link>
			<pubDate>Wed, 18 Nov 2009 20:55:14 GMT</pubDate>
			<description>I have a basic program to test key click and reception of data on RS232 port. Computer1 is running this program and computer2 is running...</description>
			<content:encoded><![CDATA[<div>I have a basic program to test key click and reception of data on RS232 port. Computer1 is running this program and computer2 is running hyperterminal. When I send the data out from computer1, i can see the data on computer2; however, no onComm event triggers when data is received. KeyClick does not work either.<br />
Does anyone know what needs to be modified?<br />
<br />
Thanks in advance.<br />
Boomer<br />
<br />
--------------------------CODE---------------------------------<br />
<!-- CODE -->
<div id="codeHolder" class="codeHolder" style="width: 500px;">
<div class="codeHeader">
	<span class="codeLink" onclick="Blur(this, this.parentNode.parentNode, getChildren(this),true);">Expand</span><span class="codeDivider">|</span><span class="codeLink" onclick="selectAll(this);">Select</span><span class="codeDivider">|</span><span class="codeLink" onclick="WordWrap(this);">Wrap</span><span class="codeDivider">|</span><span class="codeLink" onclick="LineNumbers(this);">Line Numbers</span>
</div>

<div class="codeContent" style="display: block; width: 500px; white-space: nowrap;">
	<ol START="1" highlight="true">

<li class="codeLI">
Imports&nbsp;MSCommLib.OnCommConstants</li>
<li class="codeLI">&nbsp;</li>
<li class="codeLI">
Public&nbsp;Class&nbsp;Form1</li>
<li class="codeLI">&nbsp;</li>
<li class="codeLI">
&nbsp;&nbsp;&nbsp;&nbsp;Private&nbsp;Sub&nbsp;Form1_Load(ByVal&nbsp;sender&nbsp;As&nbsp;System.Object,&nbsp;ByVal&nbsp;e&nbsp;As&nbsp;System.EventArgs)&nbsp;Handles&nbsp;MyBase.Load</li>
<li class="codeLI">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;AxMSComm1.CommPort&nbsp;=&nbsp;1&nbsp;'&nbsp;Use&nbsp;COM1.</li>
<li class="codeLI">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;AxMSComm1.Settings&nbsp;=&nbsp;&quot;9600,N,8,1&quot;&nbsp;'&nbsp;9600&nbsp;baud,&nbsp;no&nbsp;parity,&nbsp;8&nbsp;data,</li>
<li class="codeLI">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'&nbsp;and&nbsp;1&nbsp;stop&nbsp;bit.</li>
<li class="codeLI">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;AxMSComm1.InputLen&nbsp;=&nbsp;0&nbsp;'&nbsp;Read&nbsp;entire&nbsp;buffer&nbsp;when&nbsp;Input</li>
<li class="codeLI">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'&nbsp;is&nbsp;used</li>
<li class="codeLI">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;AxMSComm1.PortOpen&nbsp;=&nbsp;True&nbsp;'&nbsp;Open&nbsp;port</li>
<li class="codeLI">
&nbsp;&nbsp;&nbsp;&nbsp;End&nbsp;Sub</li>
<li class="codeLI">
&nbsp;&nbsp;&nbsp;&nbsp;Private&nbsp;Sub&nbsp;Form1_KeyPress(ByVal&nbsp;KeyAscii&nbsp;As&nbsp;Integer)</li>
<li class="codeLI">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;AxMSComm1.Output&nbsp;=&nbsp;KeyAscii</li>
<li class="codeLI">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;TextBox1.Text&nbsp;=&nbsp;KeyAscii</li>
<li class="codeLI">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;AxMSComm1.Output&nbsp;=&nbsp;&quot;This&nbsp;is&nbsp;tested&quot;</li>
<li class="codeLI">
&nbsp;&nbsp;&nbsp;&nbsp;End&nbsp;Sub</li>
<li class="codeLI">&nbsp;</li>
<li class="codeLI">
&nbsp;&nbsp;&nbsp;&nbsp;Private&nbsp;Sub&nbsp;Button1_Click(ByVal&nbsp;sender&nbsp;As&nbsp;System.Object,&nbsp;ByVal&nbsp;e&nbsp;As&nbsp;System.EventArgs)&nbsp;Handles&nbsp;Button1.Click</li>
<li class="codeLI">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;End</li>
<li class="codeLI">
&nbsp;&nbsp;&nbsp;&nbsp;End&nbsp;Sub</li>
<li class="codeLI">&nbsp;</li>
<li class="codeLI">
&nbsp;&nbsp;&nbsp;&nbsp;Private&nbsp;Sub&nbsp;AxMSComm1_OnComm(ByVal&nbsp;sender&nbsp;As&nbsp;System.Object,&nbsp;ByVal&nbsp;e&nbsp;As&nbsp;System.EventArgs)&nbsp;Handles&nbsp;AxMSComm1.OnComm</li>
<li class="codeLI">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;If&nbsp;(AxMSComm1.CommEvent&nbsp;=&nbsp;comEvReceive)&nbsp;Then</li>
<li class="codeLI">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;TextBox2.Text&nbsp;=&nbsp;AxMSComm1.Input</li>
<li class="codeLI">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;End&nbsp;If</li>
<li class="codeLI">
&nbsp;&nbsp;&nbsp;&nbsp;End&nbsp;Sub</li>
<li class="codeLI">&nbsp;</li>
<li class="codeLI">
&nbsp;&nbsp;&nbsp;&nbsp;Private&nbsp;Sub&nbsp;Button2_Click(ByVal&nbsp;sender&nbsp;As&nbsp;System.Object,&nbsp;ByVal&nbsp;e&nbsp;As&nbsp;System.EventArgs)&nbsp;Handles&nbsp;Button2.Click</li>
<li class="codeLI">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;AxMSComm1.Output&nbsp;=&nbsp;&quot;This&nbsp;is&nbsp;tested&nbsp;\n&nbsp;\r&nbsp;&quot;</li>
<li class="codeLI">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'Dim&nbsp;inputt&nbsp;As&nbsp;String</li>
<li class="codeLI">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'While&nbsp;(1)</li>
<li class="codeLI">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'&nbsp;&nbsp;&nbsp;&nbsp;inputt&nbsp;=&nbsp;AxMSComm1.Input</li>
<li class="codeLI">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'End&nbsp;While</li>
<li class="codeLI">&nbsp;</li>
<li class="codeLI">
&nbsp;&nbsp;&nbsp;&nbsp;End&nbsp;Sub</li>
<li class="codeLI">
End&nbsp;Class</li>

	</ol>
</div>
</div>
<!-- /CODE -->


</div>

]]></content:encoded>
			<category domain="http://bytes.com/topic/visual-basic/answers/">answers</category>
			<dc:creator>Boomeral</dc:creator>
			<guid isPermaLink="true">http://bytes.com/topic/visual-basic/answers/877268-oncomm-event-does-not-trigger</guid>
		</item>
		<item>
			<title><![CDATA[how to solve "runtime error 13: type mismatch"?]]></title>
			<link>http://bytes.com/topic/visual-basic/answers/877245-how-solve-runtime-error-13-type-mismatch</link>
			<pubDate>Wed, 18 Nov 2009 14:16:35 GMT</pubDate>
			<description><![CDATA[Hello, 
 
VBA gives an error on the indicated line. "tblparameters" is a database which exists. 
 
 
Code: 
--------- 
Option Compare Database 
...]]></description>
			<content:encoded><![CDATA[<div>Hello,<br />
<br />
VBA gives an error on the indicated line. &quot;tblparameters&quot; is a database which exists.<br />
<br />
<!-- CODE -->
<div id="codeHolder" class="codeHolder" style="width: 500px;">
<div class="codeHeader">
	<span class="codeLink" onclick="Blur(this, this.parentNode.parentNode, getChildren(this),true);">Expand</span><span class="codeDivider">|</span><span class="codeLink" onclick="selectAll(this);">Select</span><span class="codeDivider">|</span><span class="codeLink" onclick="WordWrap(this);">Wrap</span><span class="codeDivider">|</span><span class="codeLink" onclick="LineNumbers(this);">Line Numbers</span>
</div>

<div class="codeContent" style="display: block; width: 500px; white-space: nowrap;">
	<ol START="1" highlight="true">

<li class="codeLI">Option&nbsp;Compare&nbsp;Database</li>
<li class="codeLI">&nbsp;</li>
<li class="codeLI">
Option&nbsp;Explicit</li>
<li class="codeLI">&nbsp;</li>
<li class="codeLI">
Sub&nbsp;fill_parameters()</li>
<li class="codeLI">&nbsp;</li>
<li class="codeLI">
Dim&nbsp;rstfill&nbsp;As&nbsp;Recordset</li>
<li class="codeLI">
Dim&nbsp;DB2&nbsp;As&nbsp;Database</li>
<li class="codeLI">&nbsp;</li>
<li class="codeLI">
Set&nbsp;DB2&nbsp;=&nbsp;CurrentDb</li>
<li class="codeLI">
====&gt;&nbsp;Set&nbsp;rstfill&nbsp;=&nbsp;DB2.OpenRecordset(&quot;tblparameters&quot;)</li>
<li class="codeLI">&nbsp;</li>
<li class="codeLI">
With&nbsp;rstfill</li>
<li class="codeLI">&nbsp;</li>
<li class="codeLI">
While&nbsp;Not&nbsp;.EOF</li>
<li class="codeLI">&nbsp;</li>
<li class="codeLI">
Forms(&quot;frminput&quot;)!Txtchoisirleparam.SetFocus</li>
<li class="codeLI">
If&nbsp;Forms(&quot;frminput&quot;)!Txtchoisirleparam.Text&nbsp;=&nbsp;rstfill![Reference]&nbsp;Then</li>
<li class="codeLI">&nbsp;</li>
<li class="codeLI">
Forms(&quot;frminput&quot;)!Txttauxactua.SetFocus</li>
<li class="codeLI">
Forms(&quot;frminput&quot;)!Txttauxactua.Text&nbsp;=&nbsp;rstfill![taux&nbsp;d'actualisation]</li>
<li class="codeLI">&nbsp;</li>
<li class="codeLI">
Forms(&quot;frminput&quot;)!Txttauxinfla.SetFocus</li>
<li class="codeLI">
Forms(&quot;frminput&quot;)!Txttauxinfla.Text&nbsp;=&nbsp;rstfill![inflation]</li>
<li class="codeLI">&nbsp;</li>
<li class="codeLI">
Forms(&quot;frminput&quot;)!TxtDDC.SetFocus</li>
<li class="codeLI">
Forms(&quot;frminput&quot;)!TxtDDC.Text&nbsp;=&nbsp;rstfill![DDC]</li>
<li class="codeLI">&nbsp;</li>
<li class="codeLI">
Forms(&quot;frminput&quot;)!Txtageretraiteroulant.SetFocus</li>
<li class="codeLI">
Forms(&quot;frminput&quot;)!Txtageretraiteroulant.Text&nbsp;=&nbsp;rstfill![age&nbsp;retraite&nbsp;roulant]</li>
<li class="codeLI">&nbsp;</li>
<li class="codeLI">
Forms(&quot;frminput&quot;)!Txtageretraitenonroulant.SetFocus</li>
<li class="codeLI">
Forms(&quot;frminput&quot;)!Txtageretraitenonroulant.Text&nbsp;=&nbsp;rstfill![age&nbsp;retraite&nbsp;non-roulant]</li>
<li class="codeLI">&nbsp;</li>
<li class="codeLI">
Forms(&quot;frminput&quot;)!Txttest.SetFocus</li>
<li class="codeLI">
Forms(&quot;frminput&quot;)!Txttest.Text&nbsp;=&nbsp;rstfill![test]</li>
<li class="codeLI">&nbsp;</li>
<li class="codeLI">
Forms(&quot;frminput&quot;)!Txttestid.SetFocus</li>
<li class="codeLI">
Forms(&quot;frminput&quot;)!Txttestid.Text&nbsp;=&nbsp;rstfill![testID]</li>
<li class="codeLI">&nbsp;</li>
<li class="codeLI">
Forms(&quot;frminput&quot;)!Txtfileinput.SetFocus</li>
<li class="codeLI">
Forms(&quot;frminput&quot;)!Txtfileinput.Text&nbsp;=&nbsp;rstfill![input&nbsp;file]</li>
<li class="codeLI">&nbsp;</li>
<li class="codeLI">
Forms(&quot;frminput&quot;)!Txtfileoutput.SetFocus</li>
<li class="codeLI">
Forms(&quot;frminput&quot;)!Txtfileoutput.Text&nbsp;=&nbsp;rstfill![output&nbsp;file]</li>
<li class="codeLI">&nbsp;</li>
<li class="codeLI">
Forms(&quot;frminput&quot;)!Txtfileoutputtest.SetFocus</li>
<li class="codeLI">
Forms(&quot;frminput&quot;)!Txtfileoutputtest.Text&nbsp;=&nbsp;rstfill![output&nbsp;test]</li>
<li class="codeLI">&nbsp;</li>
<li class="codeLI">
Forms(&quot;frminput&quot;)!Txtfileoutputtotal.SetFocus</li>
<li class="codeLI">
Forms(&quot;frminput&quot;)!Txtfileoutputtotal.Text&nbsp;=&nbsp;rstfill![output&nbsp;file&nbsp;total]</li>
<li class="codeLI">&nbsp;</li>
<li class="codeLI">
End&nbsp;If</li>
<li class="codeLI">&nbsp;</li>
<li class="codeLI">
rstfill.MoveNext</li>
<li class="codeLI">&nbsp;</li>
<li class="codeLI">
Wend</li>
<li class="codeLI">
End&nbsp;With</li>
<li class="codeLI">&nbsp;</li>
<li class="codeLI">
End&nbsp;Sub</li>
<li class="codeLI">&nbsp;</li>

	</ol>
</div>
</div>
<!-- /CODE -->


Can someone solve this problem?<br />
<br />
Thanks</div>

]]></content:encoded>
			<category domain="http://bytes.com/topic/visual-basic/answers/">answers</category>
			<dc:creator>brboga</dc:creator>
			<guid isPermaLink="true">http://bytes.com/topic/visual-basic/answers/877245-how-solve-runtime-error-13-type-mismatch</guid>
		</item>
		<item>
			<title>need a small help here- urgent</title>
			<link>http://bytes.com/topic/visual-basic/answers/877217-need-small-help-here-urgent</link>
			<pubDate>Wed, 18 Nov 2009 05:47:02 GMT</pubDate>
			<description><![CDATA[Hello all, 
 
I have a very big SQL query which is having lots of conditions, inner and outer join and  have to place in Adodc1.RecordSource = " " ...]]></description>
			<content:encoded><![CDATA[<div>Hello all,<br />
<br />
I have a very big SQL query which is having lots of conditions, inner and outer join and  have to place in Adodc1.RecordSource = &quot; &quot; <br />
so it can not be placed in one single line... <br />
would you plz tel me how to go to the next line and continue wit the query? (attach two or more lines together in VB6) <br />
<br />
thank u very much</div>

]]></content:encoded>
			<category domain="http://bytes.com/topic/visual-basic/answers/">answers</category>
			<dc:creator>squrel</dc:creator>
			<guid isPermaLink="true">http://bytes.com/topic/visual-basic/answers/877217-need-small-help-here-urgent</guid>
		</item>
		<item>
			<title>Excel: Populating a range with a formula</title>
			<link>http://bytes.com/topic/visual-basic/answers/877188-excel-populating-range-formula</link>
			<pubDate>Tue, 17 Nov 2009 17:22:50 GMT</pubDate>
			<description><![CDATA[Hey all, 
 
Here's the culprit: 
 
 
Code: 
--------- 
Sub PopulateRange(Cell_Range As Range) 
 
Dim v]]></description>
			<content:encoded><![CDATA[<div>Hey all,<br />
<br />
Here's the culprit:<br />
<br />
<!-- CODE -->
<div id="codeHolder" class="codeHolder" style="width: 500px;">
<div class="codeHeader">
	<span class="codeLink" onclick="Blur(this, this.parentNode.parentNode, getChildren(this),true);">Expand</span><span class="codeDivider">|</span><span class="codeLink" onclick="selectAll(this);">Select</span><span class="codeDivider">|</span><span class="codeLink" onclick="WordWrap(this);">Wrap</span><span class="codeDivider">|</span><span class="codeLink" onclick="LineNumbers(this);">Line Numbers</span>
</div>

<div class="codeContent" style="display: block; width: 500px; white-space: nowrap;">
	<ol START="1" highlight="true">

<li class="codeLI">Sub&nbsp;PopulateRange(Cell_Range&nbsp;As&nbsp;Range)</li>
<li class="codeLI">&nbsp;</li>
<li class="codeLI">
Dim&nbsp;v</li>
<li class="codeLI">
Dim&nbsp;i&nbsp;As&nbsp;Long</li>
<li class="codeLI">
Dim&nbsp;j&nbsp;As&nbsp;Long</li>
<li class="codeLI">
Application.ScreenUpdating&nbsp;=&nbsp;False</li>
<li class="codeLI">
ReDim&nbsp;v(1&nbsp;To&nbsp;Cell_Range.Rows.Count,&nbsp;1&nbsp;To&nbsp;Cell_Range.Columns.Count)</li>
<li class="codeLI">
For&nbsp;i&nbsp;=&nbsp;1&nbsp;To&nbsp;Cell_Range.Rows.Count</li>
<li class="codeLI">
For&nbsp;j&nbsp;=&nbsp;1&nbsp;To&nbsp;Cell_Range.Columns.Count</li>
<li class="codeLI">&nbsp;</li>
<li class="codeLI">
'only&nbsp;takes&nbsp;last&nbsp;8&nbsp;chars&nbsp;of&nbsp;data&nbsp;cell</li>
<li class="codeLI">
v(i,&nbsp;j)&nbsp;=&nbsp;&quot;=RIGHT(G&quot;&nbsp;&amp;&nbsp;i&nbsp;&amp;&nbsp;&quot;,&nbsp;8)&quot;</li>
<li class="codeLI">
'fills&nbsp;the&nbsp;cells&nbsp;in&nbsp;Z&nbsp;column&nbsp;a&nbsp;calculation&nbsp;that&nbsp;calculates&nbsp;based&nbsp;off&nbsp;the&nbsp;information&nbsp;in&nbsp;the&nbsp;cell&nbsp;that&nbsp;is&nbsp;filled&nbsp;by&nbsp;the&nbsp;above&nbsp;line</li>
<li class="codeLI">
v(i&nbsp;+&nbsp;1,&nbsp;j)&nbsp;=&nbsp;&quot;=ExtractNumber(Z&quot;&nbsp;&amp;&nbsp;i&nbsp;&amp;&nbsp;&quot;,&nbsp;,&nbsp;True)&quot;</li>
<li class="codeLI">
Next&nbsp;j</li>
<li class="codeLI">
Next&nbsp;i</li>
<li class="codeLI">
Cell_Range.Value&nbsp;=&nbsp;v</li>
<li class="codeLI">
Application.ScreenUpdating&nbsp;=&nbsp;True</li>
<li class="codeLI">
End&nbsp;Sub</li>

	</ol>
</div>
</div>
<!-- /CODE -->


What should happen:<br />
I pass in the range and it fills that range with two calculation I have (already made it and verified it words &quot;ExtractNumber&quot;) which calculates some stuff to the left of it brilliantly and everyone at my office loves me.<br />
<br />
What happens:<br />
Doesn't do anything all all... but when error testing it's popping up my MsgBox with exactly what I want to have placed in the range but doesn't populate it and everyone at my office hates me.</div>

]]></content:encoded>
			<category domain="http://bytes.com/topic/visual-basic/answers/">answers</category>
			<dc:creator>CoreyReynolds</dc:creator>
			<guid isPermaLink="true">http://bytes.com/topic/visual-basic/answers/877188-excel-populating-range-formula</guid>
		</item>
		<item>
			<title>Interacting with .csv files in excel vba</title>
			<link>http://bytes.com/topic/visual-basic/answers/877186-interacting-csv-files-excel-vba</link>
			<pubDate>Tue, 17 Nov 2009 17:11:20 GMT</pubDate>
			<description>I am writing a code that will use data that is saved in a .csv file. How do I call the file in VBA without opening it? I want to reference specific...</description>
			<content:encoded><![CDATA[<div>I am writing a code that will use data that is saved in a .csv file. How do I call the file in VBA without opening it? I want to reference specific data within these csv files, for example, I have a matrix that is 30 columns by 30 rows, how can I run an operation on a specific cell in the matrix (i.e. Column A, Row 7) with VBA without opening the csv file?</div>

]]></content:encoded>
			<category domain="http://bytes.com/topic/visual-basic/answers/">answers</category>
			<dc:creator>bbrooks</dc:creator>
			<guid isPermaLink="true">http://bytes.com/topic/visual-basic/answers/877186-interacting-csv-files-excel-vba</guid>
		</item>
		<item>
			<title>Sending xmxl file over http in VB6</title>
			<link>http://bytes.com/topic/visual-basic/answers/877162-sending-xmxl-file-over-http-vb6</link>
			<pubDate>Tue, 17 Nov 2009 11:40:46 GMT</pubDate>
			<description>I am currently working on a project that needs to send xml files over http and receive response in an xml file. I need vb6 help</description>
			<content:encoded><![CDATA[<div>I am currently working on a project that needs to send xml files over http and receive response in an xml file. I need vb6 help</div>

]]></content:encoded>
			<category domain="http://bytes.com/topic/visual-basic/answers/">answers</category>
			<dc:creator>luckymdu</dc:creator>
			<guid isPermaLink="true">http://bytes.com/topic/visual-basic/answers/877162-sending-xmxl-file-over-http-vb6</guid>
		</item>
		<item>
			<title>Serial Port Timeout</title>
			<link>http://bytes.com/topic/visual-basic/answers/877117-serial-port-timeout</link>
			<pubDate>Mon, 16 Nov 2009 18:12:38 GMT</pubDate>
			<description><![CDATA[I have this code to read from a serial port.  I set the timeout to 6.5 seconds.  Quite often I have an issue where I don't get a response from the...]]></description>
			<content:encoded><![CDATA[<div>I have this code to read from a serial port.  I set the timeout to 6.5 seconds.  Quite often I have an issue where I don't get a response from the device because system resources are being hogged by something else.  Alot of times it takes way longer than 6.5 seconds to throw the timeout exception.  <br />
<br />
<!-- CODE -->
<div id="codeHolder" class="codeHolder" style="width: 500px;">
<div class="codeHeader">
	<span class="codeLink" onclick="Blur(this, this.parentNode.parentNode, getChildren(this),true);">Expand</span><span class="codeDivider">|</span><span class="codeLink" onclick="selectAll(this);">Select</span><span class="codeDivider">|</span><span class="codeLink" onclick="WordWrap(this);">Wrap</span><span class="codeDivider">|</span><span class="codeLink" onclick="LineNumbers(this);">Line Numbers</span>
</div>

<div class="codeContent" style="display: block; width: 500px; white-space: nowrap;">
	<ol START="1" highlight="true">

<li class="codeLI">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;_serialPort.ReadTimeout&nbsp;=&nbsp;6500</li>
<li class="codeLI">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Do</li>
<li class="codeLI">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;i&nbsp;=&nbsp;_serialPort.ReadByte</li>
<li class="codeLI">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;bytes.Add(CByte(i))</li>
<li class="codeLI">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Loop&nbsp;Until&nbsp;i&nbsp;=&nbsp;3&nbsp;AndAlso&nbsp;_serialPort.BytesToRead&nbsp;=&nbsp;1</li>
<li class="codeLI">&nbsp;</li>

	</ol>
</div>
</div>
<!-- /CODE -->


Is there a way to lock down the system resources to only be doing this loop?</div>

]]></content:encoded>
			<category domain="http://bytes.com/topic/visual-basic/answers/">answers</category>
			<dc:creator>Matt Nunnally</dc:creator>
			<guid isPermaLink="true">http://bytes.com/topic/visual-basic/answers/877117-serial-port-timeout</guid>
		</item>
		<item>
			<title>VBScript - wait until file has been uploaded then execute script</title>
			<link>http://bytes.com/topic/visual-basic/answers/877094-vbscript-wait-until-file-has-been-uploaded-then-execute-script</link>
			<pubDate>Mon, 16 Nov 2009 11:51:16 GMT</pubDate>
			<description>Good day, I need help.  
 
I have an application that uses aspx pages together with vbscript window for developer coding.  
 
Now the page has an ...</description>
			<content:encoded><![CDATA[<div>Good day, I need help. <br />
<br />
I have an application that uses aspx pages together with vbscript window for developer coding. <br />
<br />
Now the page has an <!-- CODE -->
<div id="codeHolder" class="codeHolder" style="width: 500px;">
<div class="codeHeader">
	<span class="codeLink" onclick="Blur(this, this.parentNode.parentNode, getChildren(this),true);">Expand</span><span class="codeDivider">|</span><span class="codeLink" onclick="selectAll(this);">Select</span><span class="codeDivider">|</span><span class="codeLink" onclick="WordWrap(this);">Wrap</span><span class="codeDivider">|</span><span class="codeLink" onclick="LineNumbers(this);">Line Numbers</span>
</div>

<div class="codeContent" style="display: block; width: 500px; white-space: nowrap;">
	<ol START="1" highlight="true">

<li class="codeLI">&lt;input&nbsp;type='file'&gt;</li>

	</ol>
</div>
</div>
<!-- /CODE -->


 upload object. <br />
<br />
The problem is that on the same page submit button  i'm uploading the file AND executing vbscript command that renames &amp; emails the file that is been loaded. <br />
<br />
It keeps on crashing as when it looks for the file to rename the file has not uploaded yet. <br />
<br />
Is there a way in vbscript where i wait untill the file exists &amp; then continue with the other vbscript code. The uploaded file is given a unique name on the server eg: test.txt would be given a uniqueid+test.txt<br />
<br />
But importantly the code behind on sthe submit button should not just ignore &amp; continue - it should wait untill the wiating/checking script to execute first.<br />
<br />
I'm not sure if what i'm asking is possible.<br />
<br />
<br />
Please Assist</div>

]]></content:encoded>
			<category domain="http://bytes.com/topic/visual-basic/answers/">answers</category>
			<dc:creator>ismailc</dc:creator>
			<guid isPermaLink="true">http://bytes.com/topic/visual-basic/answers/877094-vbscript-wait-until-file-has-been-uploaded-then-execute-script</guid>
		</item>
		<item>
			<title>increasing argument in the procedure</title>
			<link>http://bytes.com/topic/visual-basic/answers/877079-increasing-argument-procedure</link>
			<pubDate>Mon, 16 Nov 2009 05:43:48 GMT</pubDate>
			<description>Hi guys, can you help me with this, 
 
i have this subroutine in my mini program 
 
Code: 
--------- 
    Public Sub tabla(ByVal rowX As Integer,...</description>
			<content:encoded><![CDATA[<div>Hi guys, can you help me with this,<br />
<br />
i have this subroutine in my mini program<br />
<!-- CODE -->
<div id="codeHolder" class="codeHolder" style="width: 500px;">
<div class="codeHeader">
	<span class="codeLink" onclick="Blur(this, this.parentNode.parentNode, getChildren(this),true);">Expand</span><span class="codeDivider">|</span><span class="codeLink" onclick="selectAll(this);">Select</span><span class="codeDivider">|</span><span class="codeLink" onclick="WordWrap(this);">Wrap</span><span class="codeDivider">|</span><span class="codeLink" onclick="LineNumbers(this);">Line Numbers</span>
</div>

<div class="codeContent" style="display: block; width: 500px; white-space: nowrap;">
	<ol START="1" highlight="true">

<li class="codeLI">&nbsp;&nbsp;&nbsp;&nbsp;Public&nbsp;Sub&nbsp;tabla(ByVal&nbsp;rowX&nbsp;As&nbsp;Integer,&nbsp;ByVal&nbsp;colY&nbsp;As&nbsp;Integer,&nbsp;ByVal&nbsp;valueXY&nbsp;As&nbsp;String)</li>
<li class="codeLI">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Dim&nbsp;txt(,)&nbsp;As&nbsp;String</li>
<li class="codeLI">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Dim&nbsp;counterX&nbsp;As&nbsp;Integer&nbsp;=&nbsp;0</li>
<li class="codeLI">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Dim&nbsp;counterY&nbsp;As&nbsp;Integer</li>
<li class="codeLI">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ReDim&nbsp;txt(rowX,&nbsp;colY)</li>
<li class="codeLI">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Do&nbsp;Until&nbsp;rowX&nbsp;=&nbsp;counterX</li>
<li class="codeLI">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;counterY&nbsp;=&nbsp;0</li>
<li class="codeLI">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Do&nbsp;Until&nbsp;colY&nbsp;=&nbsp;counterY</li>
<li class="codeLI">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;txt(counterX,&nbsp;counterY)&nbsp;=&nbsp;valueXY</li>
<li class="codeLI">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;counterY&nbsp;+=&nbsp;1</li>
<li class="codeLI">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Loop</li>
<li class="codeLI">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;counterX&nbsp;+=&nbsp;1</li>
<li class="codeLI">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Loop</li>
<li class="codeLI">
&nbsp;&nbsp;&nbsp;&nbsp;End&nbsp;Sub</li>
<li class="codeLI">&nbsp;</li>
<li class="codeLI">&nbsp;</li>

	</ol>
</div>
</div>
<!-- /CODE -->


This will assign the same string value declare on valueXY. <br />
Problem is, if i want to assign different string in each txt, what will i do?<br />
I know it's possible to assign diffent value on txt by codes like this<br />
<br />
'if txt is txt(2,2)<br />
txt(0, 0) = &quot;Dog&quot;<br />
txt(0, 1) = &quot;Cat&quot;<br />
txt(1, 0) = &quot;Bulldog&quot;<br />
txt(1, 1) = &quot;Burma&quot;<br />
<br />
but is it possible to increse the arguments in valueXY instead (if i called sub tabla and assign 5 in rowx and 3 on coly,  the next argument will be the value of each array)?<br />
this is the example output<br />
<br />
dog,cat,bird,fish<br />
bulldog,burma,parrot,gold fish<br />
bone,tuna,cracker,pellet</div>

]]></content:encoded>
			<category domain="http://bytes.com/topic/visual-basic/answers/">answers</category>
			<dc:creator>evilson</dc:creator>
			<guid isPermaLink="true">http://bytes.com/topic/visual-basic/answers/877079-increasing-argument-procedure</guid>
		</item>
		<item>
			<title>Deploy cr10 with vb6</title>
			<link>http://bytes.com/topic/visual-basic/answers/877022-deploy-cr10-vb6</link>
			<pubDate>Sat, 14 Nov 2009 12:40:08 GMT</pubDate>
			<description>I had created an application with vb6 +  CR10 + MS access , now i want to deoploy this project to user machine , searching the net i get that merge...</description>
			<content:encoded><![CDATA[<div>I had created an application with vb6 +  CR10 + MS access , now i want to deoploy this project to user machine , searching the net i get that merge modules are necessary with CR10 , but i donot know where to downlod these merge moudules and how to add them to my deployment pakage ,<br />
<br />
Any help?</div>

]]></content:encoded>
			<category domain="http://bytes.com/topic/visual-basic/answers/">answers</category>
			<dc:creator>muddasirmunir</dc:creator>
			<guid isPermaLink="true">http://bytes.com/topic/visual-basic/answers/877022-deploy-cr10-vb6</guid>
		</item>
	</channel>
</rss>
