<?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>VBForums - Visual Basic 6 and Earlier</title>
		<link>http://www.vbforums.com/</link>
		<description><![CDATA[This forum is for all your Visual Basic (versions 3, 4, 5, & 6) coding questions that do not fit into one of the more specific forums below.]]></description>
		<language>en</language>
		<lastBuildDate>Wed, 22 May 2013 17:06:53 GMT</lastBuildDate>
		<generator>vBulletin</generator>
		<ttl>60</ttl>
		<image>
			<url>http://www.vbforums.com/images/misc/rss.png</url>
			<title>VBForums - Visual Basic 6 and Earlier</title>
			<link>http://www.vbforums.com/</link>
		</image>
		<item>
			<title>How to send CTRL+W to an IE8 Browser base in Tab Title</title>
			<link>http://www.vbforums.com/showthread.php?722495-How-to-send-CTRL-W-to-an-IE8-Browser-base-in-Tab-Title&amp;goto=newpost</link>
			<pubDate>Wed, 22 May 2013 15:37:40 GMT</pubDate>
			<description><![CDATA[Hi Forum members, 

Im trying to work out how to send a CTRL+W command to a specific tab that can be defined by a variable. I have written such a script in AutoIT, however, cant seem to get this working in just straight forward VB. Please see below my AutoIT script if it helps.

$var1 = "eSeries Logon"

#include <IE.au3>
Local $oIE = _IEAttach($var1)
#include <IE.au3>
_IEQuit($oIE)


Thanks
Hari]]></description>
			<content:encoded><![CDATA[<div>Hi Forum members, <br />
<br />
Im trying to work out how to send a CTRL+W command to a specific tab that can be defined by a variable. I have written such a script in AutoIT, however, cant seem to get this working in just straight forward VB. Please see below my AutoIT script if it helps.<br />
<br />
$var1 = &quot;eSeries Logon&quot;<br />
<br />
#include &lt;IE.au3&gt;<br />
Local $oIE = _IEAttach($var1)<br />
#include &lt;IE.au3&gt;<br />
_IEQuit($oIE)<br />
<br />
<br />
Thanks<br />
Hari</div>

]]></content:encoded>
			<category domain="http://www.vbforums.com/forumdisplay.php?1-Visual-Basic-6-and-Earlier">Visual Basic 6 and Earlier</category>
			<dc:creator>Harikara</dc:creator>
			<guid isPermaLink="true">http://www.vbforums.com/showthread.php?722495-How-to-send-CTRL-W-to-an-IE8-Browser-base-in-Tab-Title</guid>
		</item>
		<item>
			<title>Check for internet connection gives error in windows 8</title>
			<link>http://www.vbforums.com/showthread.php?722487-Check-for-internet-connection-gives-error-in-windows-8&amp;goto=newpost</link>
			<pubDate>Wed, 22 May 2013 14:53:12 GMT</pubDate>
			<description><![CDATA[I Have a vb6 code which is used to test whether internet connection is there or not for a PC.I make use of checking google DNS for it.It works fine in Windows XP.But in Windows 8 if internet is connected or not it always returns success(Internet is connected). I am making use of Below is part of coding

Code:
---------
Private Function CheckForInternet(ByVal ServerIP As String, ByRef IsTimedOut As Boolean) A

s Boolean
On Error GoTo CheckForInternet_EH

Dim Reply As ICMP_ECHO_REPLY
Dim lngSuccess As Long
Dim strIPAddress As String
Dim a As String
Dim startTimer As Single
Dim EndTimer As Single
Const Time_out_in_ms As Integer = 1000
'Get the sockets ready.
If SocketsInitialize() Then
    'Address to ping
    strIPAddress = ServerIP

    'Ping the IP that is passing the address and get a reply.
    lngSuccess = ping(strIPAddress, Time_out_in_ms, Reply)

    'Clean up the sockets.
    SocketsCleanup

    ''Return Value
    If lngSuccess = ICMP_SUCCESS Then
        CheckForInternet = True
    ElseIf lngSuccess = ICMP_STATUS_REQUEST_TIMED_OUT Then
        IsTimedOut = True
    End If
'Else
'    'Winsock error failure, initializing the sockets.
'    Debug.Print WINSOCK_ERROR
End If

Exit Function
CheckForInternet_EH:
Call msglog(Err.Description & Space(10) & "CheckForInternet", False)
End Function
---------
And below is ping procedure

Code:
---------
Public Function ping(ByVal sAddress As String, ByVal time_out As Long, Reply As ICMP_ECHO_REPLY) As Long
On Error GoTo ping_EH

Dim hIcmp As Long
Dim lAddress As Long
Dim lTimeOut As Long
Dim StringToSend As String

'Short string of data to send
StringToSend = "hello"

'ICMP (ping) timeout
lTimeOut = time_out ''ms

'Convert string address to a long representation.
lAddress = inet_addr(sAddress)

If (lAddress <> -1) And (lAddress <> 0) Then

    'Create the handle for ICMP requests.
    hIcmp = IcmpCreateFile()

    If hIcmp Then
        'Ping the destination IP address.
        Call IcmpSendEcho(hIcmp, lAddress, StringToSend, Len(StringToSend), 0, Reply, Len(Reply), lTimeOut)

        'Reply status
        ping = Reply.Status

        'Close the Icmp handle.
        IcmpCloseHandle hIcmp
    Else
        'Debug.Print "failure opening icmp handle."
        ping = -1
    End If
Else
    ping = -1
End If
Exit Function
ping_EH:
Call msglog(Err.Description & Space(10) & "ping", False)
End Function
---------
It is only a part of coding(I do pass parameters properly such as sAddress with DNS of google etc).Now i have observed that when internet connection is there in windows xp ping = Reply.Status returns 0 (which is for success).Same is the case in Windows 8 also.But when internet connection is not there windows xp returns ping value as 11003(which means no internet connection).But in windows 8 it still returns 0 which is for success.

So i think it is problem with IcmpSendEcho function which returns wrong value

i have defined following also 


Code:
---------
Private Declare Function IcmpSendEcho Lib "icmp.dll" _
   (ByVal IcmpHandle As Long, _
    ByVal DestinationAddress As Long, _
    ByVal RequestData As String, _
    ByVal RequestSize As Long, _
    ByVal RequestOptions As Long, _
    ReplyBuffer As ICMP_ECHO_REPLY, _
    ByVal ReplySize As Long, _
    ByVal Timeout As Long) As Long

'This structure describes the options that will be included in the header of an IP packet.
'http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wcetcpip/htm/cerefIP_OPTION_INFORMATION.asp
Private Type IP_OPTION_INFORMATION
   Ttl             As Byte
   Tos             As Byte
   Flags           As Byte
   OptionsSize     As Byte
   OptionsData     As Long
End Type

'This structure describes the data that is returned in response to an echo request.
'http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wcesdkr/htm/_wcesdk_icmp_echo_reply.asp
Public Type ICMP_ECHO_REPLY
   address         As Long
   Status          As Long
   RoundTripTime   As Long
   DataSize        As Long
   Reserved        As Integer
   ptrData                 As Long
   Options        As IP_OPTION_INFORMATION
   Data            As String * 250
End Type
---------
	

Hint:also in link IcmpSendEcho (http://msdn.microsoft.com/en-us/library/windows/desktop/aa366050%28v=vs.85%29.aspx) IP_OPTION_INFORMATION for 64 bit pc is different etc.. etc..

So please help me to solve the problem]]></description>
			<content:encoded><![CDATA[<div>I Have a vb6 code which is used to test whether internet connection is there or not for a PC.I make use of checking google DNS for it.It works fine in Windows XP.But in Windows 8 if internet is connected or not it always returns success(Internet is connected). I am making use of Below is part of coding<br />
<div class="bbcode_container">
	<div class="bbcode_description">Code:</div>
	<hr /><code class="bbcode_code">Private Function CheckForInternet(ByVal ServerIP As String, ByRef IsTimedOut As Boolean) A<br />
<br />
s Boolean<br />
On Error GoTo CheckForInternet_EH<br />
<br />
Dim Reply As ICMP_ECHO_REPLY<br />
Dim lngSuccess As Long<br />
Dim strIPAddress As String<br />
Dim a As String<br />
Dim startTimer As Single<br />
Dim EndTimer As Single<br />
Const Time_out_in_ms As Integer = 1000<br />
'Get the sockets ready.<br />
If SocketsInitialize() Then<br />
&nbsp; &nbsp; 'Address to ping<br />
&nbsp; &nbsp; strIPAddress = ServerIP<br />
<br />
&nbsp; &nbsp; 'Ping the IP that is passing the address and get a reply.<br />
&nbsp; &nbsp; lngSuccess = ping(strIPAddress, Time_out_in_ms, Reply)<br />
<br />
&nbsp; &nbsp; 'Clean up the sockets.<br />
&nbsp; &nbsp; SocketsCleanup<br />
<br />
&nbsp; &nbsp; ''Return Value<br />
&nbsp; &nbsp; If lngSuccess = ICMP_SUCCESS Then<br />
&nbsp; &nbsp; &nbsp; &nbsp; CheckForInternet = True<br />
&nbsp; &nbsp; ElseIf lngSuccess = ICMP_STATUS_REQUEST_TIMED_OUT Then<br />
&nbsp; &nbsp; &nbsp; &nbsp; IsTimedOut = True<br />
&nbsp; &nbsp; End If<br />
'Else<br />
'&nbsp; &nbsp; 'Winsock error failure, initializing the sockets.<br />
'&nbsp; &nbsp; Debug.Print WINSOCK_ERROR<br />
End If<br />
<br />
Exit Function<br />
CheckForInternet_EH:<br />
Call msglog(Err.Description &amp; Space(10) &amp; &quot;CheckForInternet&quot;, False)<br />
End Function</code><hr />
</div>And below is ping procedure<br />
<div class="bbcode_container">
	<div class="bbcode_description">Code:</div>
	<hr /><code class="bbcode_code">Public Function ping(ByVal sAddress As String, ByVal time_out As Long, Reply As ICMP_ECHO_REPLY) As Long<br />
On Error GoTo ping_EH<br />
<br />
Dim hIcmp As Long<br />
Dim lAddress As Long<br />
Dim lTimeOut As Long<br />
Dim StringToSend As String<br />
<br />
'Short string of data to send<br />
StringToSend = &quot;hello&quot;<br />
<br />
'ICMP (ping) timeout<br />
lTimeOut = time_out ''ms<br />
<br />
'Convert string address to a long representation.<br />
lAddress = inet_addr(sAddress)<br />
<br />
If (lAddress &lt;&gt; -1) And (lAddress &lt;&gt; 0) Then<br />
<br />
&nbsp; &nbsp; 'Create the handle for ICMP requests.<br />
&nbsp; &nbsp; hIcmp = IcmpCreateFile()<br />
<br />
&nbsp; &nbsp; If hIcmp Then<br />
&nbsp; &nbsp; &nbsp; &nbsp; 'Ping the destination IP address.<br />
&nbsp; &nbsp; &nbsp; &nbsp; Call IcmpSendEcho(hIcmp, lAddress, StringToSend, Len(StringToSend), 0, Reply, Len(Reply), lTimeOut)<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; 'Reply status<br />
&nbsp; &nbsp; &nbsp; &nbsp; ping = Reply.Status<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; 'Close the Icmp handle.<br />
&nbsp; &nbsp; &nbsp; &nbsp; IcmpCloseHandle hIcmp<br />
&nbsp; &nbsp; Else<br />
&nbsp; &nbsp; &nbsp; &nbsp; 'Debug.Print &quot;failure opening icmp handle.&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; ping = -1<br />
&nbsp; &nbsp; End If<br />
Else<br />
&nbsp; &nbsp; ping = -1<br />
End If<br />
Exit Function<br />
ping_EH:<br />
Call msglog(Err.Description &amp; Space(10) &amp; &quot;ping&quot;, False)<br />
End Function</code><hr />
</div>It is only a part of coding(I do pass parameters properly such as sAddress with DNS of google etc).Now i have observed that when internet connection is there in windows xp ping = Reply.Status returns 0 (which is for success).Same is the case in Windows 8 also.But when internet connection is not there windows xp returns ping value as 11003(which means no internet connection).But in windows 8 it still returns 0 which is for success.<br />
<br />
So i think it is problem with IcmpSendEcho function which returns wrong value<br />
<br />
i have defined following also <br />
<br />
<div class="bbcode_container">
	<div class="bbcode_description">Code:</div>
	<hr /><code class="bbcode_code">Private Declare Function IcmpSendEcho Lib &quot;icmp.dll&quot; _<br />
&nbsp;  (ByVal IcmpHandle As Long, _<br />
&nbsp; &nbsp; ByVal DestinationAddress As Long, _<br />
&nbsp; &nbsp; ByVal RequestData As String, _<br />
&nbsp; &nbsp; ByVal RequestSize As Long, _<br />
&nbsp; &nbsp; ByVal RequestOptions As Long, _<br />
&nbsp; &nbsp; ReplyBuffer As ICMP_ECHO_REPLY, _<br />
&nbsp; &nbsp; ByVal ReplySize As Long, _<br />
&nbsp; &nbsp; ByVal Timeout As Long) As Long<br />
<br />
'This structure describes the options that will be included in the header of an IP packet.<br />
'http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wcetcpip/htm/cerefIP_OPTION_INFORMATION.asp<br />
Private Type IP_OPTION_INFORMATION<br />
&nbsp;  Ttl&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  As Byte<br />
&nbsp;  Tos&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  As Byte<br />
&nbsp;  Flags&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  As Byte<br />
&nbsp;  OptionsSize&nbsp; &nbsp;  As Byte<br />
&nbsp;  OptionsData&nbsp; &nbsp;  As Long<br />
End Type<br />
<br />
'This structure describes the data that is returned in response to an echo request.<br />
'http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wcesdkr/htm/_wcesdk_icmp_echo_reply.asp<br />
Public Type ICMP_ECHO_REPLY<br />
&nbsp;  address&nbsp; &nbsp; &nbsp; &nbsp;  As Long<br />
&nbsp;  Status&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; As Long<br />
&nbsp;  RoundTripTime&nbsp;  As Long<br />
&nbsp;  DataSize&nbsp; &nbsp; &nbsp; &nbsp; As Long<br />
&nbsp;  Reserved&nbsp; &nbsp; &nbsp; &nbsp; As Integer<br />
&nbsp;  ptrData&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  As Long<br />
&nbsp;  Options&nbsp; &nbsp; &nbsp; &nbsp; As IP_OPTION_INFORMATION<br />
&nbsp;  Data&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; As String * 250<br />
End Type</code><hr />
</div>	<br />
<br />
Hint:also in link <a rel="nofollow" href="http://msdn.microsoft.com/en-us/library/windows/desktop/aa366050%28v=vs.85%29.aspx" target="_blank">IcmpSendEcho</a> IP_OPTION_INFORMATION for 64 bit pc is different etc.. etc..<br />
<br />
So please help me to solve the problem</div>

]]></content:encoded>
			<category domain="http://www.vbforums.com/forumdisplay.php?1-Visual-Basic-6-and-Earlier">Visual Basic 6 and Earlier</category>
			<dc:creator>winman</dc:creator>
			<guid isPermaLink="true">http://www.vbforums.com/showthread.php?722487-Check-for-internet-connection-gives-error-in-windows-8</guid>
		</item>
		<item>
			<title>Apostrophe in String Data causes error.</title>
			<link>http://www.vbforums.com/showthread.php?722477-Apostrophe-in-String-Data-causes-error&amp;goto=newpost</link>
			<pubDate>Wed, 22 May 2013 11:17:50 GMT</pubDate>
			<description><![CDATA[Hi

I am a noob to VB6 but am supporting some code written by another person a long time ago. Upto now I have been doing OK but I recently hit an issue that is outside of my experience and I was hoping someone could point me in the right direction. The program in question is auto-processing emails (the client is Outlook) and performing actions based upon the content of the email. 

The issue I have hit however is that for the first time we received an email from an sender who's email address contained an apostrophe character > '  < e.g. rosie.o'grady@domain.com which crashed the email lookup function. The failing code is as follows:

Private Function FindRecord(EmlDBObj As Object, SQLSearchString As String)
    If EmlDBObj.RecordCount > 0 Then
        EmlDBObj.MoveFirst
        EmlDBObj.Find SQLSearchString, , adSearchForward
    End If

I would greatly appreciate any suggestions of how to handle the apostrophe issue.

Thanks in advance .... Colin]]></description>
			<content:encoded><![CDATA[<div>Hi<br />
<br />
I am a noob to VB6 but am supporting some code written by another person a long time ago. Upto now I have been doing OK but I recently hit an issue that is outside of my experience and I was hoping someone could point me in the right direction. The program in question is auto-processing emails (the client is Outlook) and performing actions based upon the content of the email. <br />
<br />
The issue I have hit however is that for the first time we received an email from an sender who's email address contained an apostrophe character &gt; '  &lt; e.g. rosie.o'grady@domain.com which crashed the email lookup function. The failing code is as follows:<br />
<br />
Private Function FindRecord(EmlDBObj As Object, SQLSearchString As String)<br />
    If EmlDBObj.RecordCount &gt; 0 Then<br />
        EmlDBObj.MoveFirst<br />
        EmlDBObj.Find SQLSearchString, , adSearchForward<br />
    End If<br />
<br />
I would greatly appreciate any suggestions of how to handle the apostrophe issue.<br />
<br />
Thanks in advance .... Colin</div>

]]></content:encoded>
			<category domain="http://www.vbforums.com/forumdisplay.php?1-Visual-Basic-6-and-Earlier">Visual Basic 6 and Earlier</category>
			<dc:creator>kolw</dc:creator>
			<guid isPermaLink="true">http://www.vbforums.com/showthread.php?722477-Apostrophe-in-String-Data-causes-error</guid>
		</item>
		<item>
			<title>SSTAB (Microsoft Tabbed Dialoge Control) Tutorial</title>
			<link>http://www.vbforums.com/showthread.php?722465-SSTAB-(Microsoft-Tabbed-Dialoge-Control)-Tutorial&amp;goto=newpost</link>
			<pubDate>Wed, 22 May 2013 08:33:11 GMT</pubDate>
			<description>Hi,
Anyone can give / suggest the tutorial of SSTAB Control</description>
			<content:encoded><![CDATA[<div>Hi,<br />
Anyone can give / suggest the tutorial of SSTAB Control</div>

]]></content:encoded>
			<category domain="http://www.vbforums.com/forumdisplay.php?1-Visual-Basic-6-and-Earlier">Visual Basic 6 and Earlier</category>
			<dc:creator>hafizfarooq</dc:creator>
			<guid isPermaLink="true">http://www.vbforums.com/showthread.php?722465-SSTAB-(Microsoft-Tabbed-Dialoge-Control)-Tutorial</guid>
		</item>
		<item>
			<title>winsock multiple client wiht same ip and different port with a server</title>
			<link>http://www.vbforums.com/showthread.php?722453-winsock-multiple-client-wiht-same-ip-and-different-port-with-a-server&amp;goto=newpost</link>
			<pubDate>Wed, 22 May 2013 05:35:55 GMT</pubDate>
			<description><![CDATA[HIIIII

i am using winsock with as server and multiple client its working fine

Now in my project i want multiple client to be created so i have created multiple client with same  ip but having different port no

Can winsock send data to such client possessing same IP but different port 

i want to create multiple dummy client at same PC can it be done & can winsock send data to all those client carrying same ip

Or is there any alternative to do this]]></description>
			<content:encoded><![CDATA[<div>HIIIII<br />
<br />
i am using winsock with as server and multiple client its working fine<br />
<br />
Now in my project i want multiple client to be created so i have created multiple client with same  ip but having different port no<br />
<br />
Can winsock send data to such client possessing same IP but different port <br />
<br />
i want to create multiple dummy client at same PC can it be done &amp; can winsock send data to all those client carrying same ip<br />
<br />
Or is there any alternative to do this</div>

]]></content:encoded>
			<category domain="http://www.vbforums.com/forumdisplay.php?1-Visual-Basic-6-and-Earlier">Visual Basic 6 and Earlier</category>
			<dc:creator>bhavik</dc:creator>
			<guid isPermaLink="true">http://www.vbforums.com/showthread.php?722453-winsock-multiple-client-wiht-same-ip-and-different-port-with-a-server</guid>
		</item>
		<item>
			<title><![CDATA[[RESOLVED] Highlighting Complete Row of FlexGrid]]></title>
			<link>http://www.vbforums.com/showthread.php?722447-RESOLVED-Highlighting-Complete-Row-of-FlexGrid&amp;goto=newpost</link>
			<pubDate>Wed, 22 May 2013 05:03:48 GMT</pubDate>
			<description>Hi,
I want to highlight the complete row of flexgrid, i m using the below code to search and highlight but it starting the highlight from 2nd column. I have 5 columns, last one of them is hidden as its colwodth is 0

Code:
---------
Dim Target As String
Dim z As Integer

    
    Target = LCase$(Srch)
    For z = 1 To msh.Rows - 1
        If InStr(1, LCase$(msh.TextMatrix(z, 0)), Target) Then
            With msh
                Dim y As Integer
                    For y = 1 To .Cols - 1
                        .Row = z
                        .Col = y
                        .CellBackColor = RGB(145, 175, 210)
                        .CellFontBold = True
                    Next y
            End With
        End If
    Next z
---------
</description>
			<content:encoded><![CDATA[<div>Hi,<br />
I want to highlight the complete row of flexgrid, i m using the below code to search and highlight but it starting the highlight from 2nd column. I have 5 columns, last one of them is hidden as its colwodth is 0<br />
<div class="bbcode_container">
	<div class="bbcode_description">Code:</div>
	<hr /><code class="bbcode_code">Dim Target As String<br />
Dim z As Integer<br />
<br />
&nbsp; &nbsp; <br />
&nbsp; &nbsp; Target = LCase$(Srch)<br />
&nbsp; &nbsp; For z = 1 To msh.Rows - 1<br />
&nbsp; &nbsp; &nbsp; &nbsp; If InStr(1, LCase$(msh.TextMatrix(z, 0)), Target) Then<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; With msh<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Dim y As Integer<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; For y = 1 To .Cols - 1<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; .Row = z<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; .Col = y<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; .CellBackColor = RGB(145, 175, 210)<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; .CellFontBold = True<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Next y<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; End With<br />
&nbsp; &nbsp; &nbsp; &nbsp; End If<br />
&nbsp; &nbsp; Next z</code><hr />
</div></div>

]]></content:encoded>
			<category domain="http://www.vbforums.com/forumdisplay.php?1-Visual-Basic-6-and-Earlier">Visual Basic 6 and Earlier</category>
			<dc:creator>hafizfarooq</dc:creator>
			<guid isPermaLink="true">http://www.vbforums.com/showthread.php?722447-RESOLVED-Highlighting-Complete-Row-of-FlexGrid</guid>
		</item>
		<item>
			<title>printing msflexgrid data excluding empty rows</title>
			<link>http://www.vbforums.com/showthread.php?722439-printing-msflexgrid-data-excluding-empty-rows&amp;goto=newpost</link>
			<pubDate>Wed, 22 May 2013 02:07:31 GMT</pubDate>
			<description>I am in a progress of making point of sale program.now,my problem is when i print the data in msflexgrid as a receipt the empty rows will also give a space.what i wanted to happen is to print data in the msflexgrid without having space for the empty rows..can someone help me please..thank you..</description>
			<content:encoded><![CDATA[<div>I am in a progress of making point of sale program.now,my problem is when i print the data in msflexgrid as a receipt the empty rows will also give a space.what i wanted to happen is to print data in the msflexgrid without having space for the empty rows..can someone help me please..thank you..</div>

]]></content:encoded>
			<category domain="http://www.vbforums.com/forumdisplay.php?1-Visual-Basic-6-and-Earlier">Visual Basic 6 and Earlier</category>
			<dc:creator>jumjum</dc:creator>
			<guid isPermaLink="true">http://www.vbforums.com/showthread.php?722439-printing-msflexgrid-data-excluding-empty-rows</guid>
		</item>
		<item>
			<title>help making this software : little tired cant think strait</title>
			<link>http://www.vbforums.com/showthread.php?722437-help-making-this-software-little-tired-cant-think-strait&amp;goto=newpost</link>
			<pubDate>Wed, 22 May 2013 01:41:36 GMT</pubDate>
			<description>i have this paid service running online many users make online request i carry out there request then get paid now , i wish to make things more smooth easy fast as possible to handle many customers same time


what i need a tool that can

add username
request info
$ payment info how much has been paid and owed
and save the data.

after request has been completed by our staff we need to inform user he needs to pay remaining amount owed.

i will off course make a client and server so i can send and retrieve data.

i got some ideas just thought il make this post and get some more ideas out of you:pplz</description>
			<content:encoded><![CDATA[<div>i have this paid service running online many users make online request i carry out there request then get paid now , i wish to make things more smooth easy fast as possible to handle many customers same time<br />
<br />
<br />
what i need a tool that can<br />
<br />
add username<br />
request info<br />
$ payment info how much has been paid and owed<br />
and save the data.<br />
<br />
after request has been completed by our staff we need to inform user he needs to pay remaining amount owed.<br />
<br />
i will off course make a client and server so i can send and retrieve data.<br />
<br />
i got some ideas just thought il make this post and get some more ideas out of you:pplz</div>

]]></content:encoded>
			<category domain="http://www.vbforums.com/forumdisplay.php?1-Visual-Basic-6-and-Earlier">Visual Basic 6 and Earlier</category>
			<dc:creator>ladoo</dc:creator>
			<guid isPermaLink="true">http://www.vbforums.com/showthread.php?722437-help-making-this-software-little-tired-cant-think-strait</guid>
		</item>
		<item>
			<title>Small System Explination!</title>
			<link>http://www.vbforums.com/showthread.php?722435-Small-System-Explination!&amp;goto=newpost</link>
			<pubDate>Wed, 22 May 2013 00:08:45 GMT</pubDate>
			<description><![CDATA[I have a small visual basic program that i'd be very grateful if someone could briefly explain how it works. 

PM me and i'll send the program over.

Thanks]]></description>
			<content:encoded><![CDATA[<div>I have a small visual basic program that i'd be very grateful if someone could briefly explain how it works. <br />
<br />
PM me and i'll send the program over.<br />
<br />
Thanks</div>

]]></content:encoded>
			<category domain="http://www.vbforums.com/forumdisplay.php?1-Visual-Basic-6-and-Earlier">Visual Basic 6 and Earlier</category>
			<dc:creator>machineman</dc:creator>
			<guid isPermaLink="true">http://www.vbforums.com/showthread.php?722435-Small-System-Explination!</guid>
		</item>
		<item>
			<title><![CDATA[[RESOLVED] CommonDialog and font style]]></title>
			<link>http://www.vbforums.com/showthread.php?722431-RESOLVED-CommonDialog-and-font-style&amp;goto=newpost</link>
			<pubDate>Tue, 21 May 2013 23:17:31 GMT</pubDate>
			<description>When calling up the CommonDialog for Fonts, is there a way to NOT display the font style (bold, regular, italic, etc.)?  All I want to user to be able to select a font and size.</description>
			<content:encoded><![CDATA[<div>When calling up the CommonDialog for Fonts, is there a way to NOT display the font style (bold, regular, italic, etc.)?  All I want to user to be able to select a font and size.</div>

]]></content:encoded>
			<category domain="http://www.vbforums.com/forumdisplay.php?1-Visual-Basic-6-and-Earlier">Visual Basic 6 and Earlier</category>
			<dc:creator>mickeykelley</dc:creator>
			<guid isPermaLink="true">http://www.vbforums.com/showthread.php?722431-RESOLVED-CommonDialog-and-font-style</guid>
		</item>
		<item>
			<title><![CDATA[[RESOLVED] Help control array change borderstyle]]></title>
			<link>http://www.vbforums.com/showthread.php?722429-RESOLVED-Help-control-array-change-borderstyle&amp;goto=newpost</link>
			<pubDate>Tue, 21 May 2013 22:36:38 GMT</pubDate>
			<description><![CDATA[There are 5 images. When I click on one I want to change it's borderstyle. Only one image can have a borderstyle = 1 at any time. So how I change the previous image borderstyle back to zero.

Code:
---------
        If imgCar(Index).BorderStyle = 0 Then
            imgCar(Index).BorderStyle = 1
        Else
            imgCar(Index).BorderStyle = 0
        End If
---------
]]></description>
			<content:encoded><![CDATA[<div>There are 5 images. When I click on one I want to change it's borderstyle. Only one image can have a borderstyle = 1 at any time. So how I change the previous image borderstyle back to zero.<br />
<div class="bbcode_container">
	<div class="bbcode_description">Code:</div>
	<hr /><code class="bbcode_code">&nbsp; &nbsp; &nbsp; &nbsp; If imgCar(Index).BorderStyle = 0 Then<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; imgCar(Index).BorderStyle = 1<br />
&nbsp; &nbsp; &nbsp; &nbsp; Else<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; imgCar(Index).BorderStyle = 0<br />
&nbsp; &nbsp; &nbsp; &nbsp; End If</code><hr />
</div></div>

]]></content:encoded>
			<category domain="http://www.vbforums.com/forumdisplay.php?1-Visual-Basic-6-and-Earlier">Visual Basic 6 and Earlier</category>
			<dc:creator>firezap</dc:creator>
			<guid isPermaLink="true">http://www.vbforums.com/showthread.php?722429-RESOLVED-Help-control-array-change-borderstyle</guid>
		</item>
		<item>
			<title>Visual Basic 1 code?</title>
			<link>http://www.vbforums.com/showthread.php?722423-Visual-Basic-1-code&amp;goto=newpost</link>
			<pubDate>Tue, 21 May 2013 20:31:25 GMT</pubDate>
			<description><![CDATA[Hi, I'm completely new to visual basic, and for a contest I'm competing in I had to take a piece of code shown in a video.
Since the video was a bit unclear this is what I could read from it:

Code:
---------
470		 C+RND16+I|X=RND1639 | Y=RND|199
480		 LINE(320,100)-(X,Y),PSET,C| LINE(320,100)-(X,Y),PSET,O
490		 NEXT I
500		NEXT Z
510		   FOR Z=1 TO 5
520 '|||||<< BOX-Z >>|||||
530		 FOR I=0 TO 50
540		 J=I+2,C+(C+I)MOD8
550		 LINE(319-J,99-I)-(320+J,100+I),PSET,C,D
560		 NEXT I
570		 NEXT Z
580 '|||||<< BOX-Z >>|||||
590		FOR SS=1 TO 1000 STEP 10
600		 FOR I=0 TO 310 STEP SS
610		 J=I/3,3|C=(C+I)MOD7
620		 LINE(319-I,99-J)-(320+I,100+J),PSET,C,D
630		 NEXT I
640		NEXT SS
650 '|||||<< BOX-Z >>|||||
660		 FOR I=0 TO 100
670		 J=I/3,3
680		 LINE(319-I,99-J)-(320+I,100+J),PSET,O,D
690		 NEXT I
700 '|||||<< FLASH-3 >>|||||
710		 FOR J=1 TO 100 | C=RND16+I
720		 CONNECT(320,90)-(318,99)-(300,100)-(318,101)-(320,110)-(322,101)-322,101)-(340,100)-(322,99)-(320,90),C
730		 NEXT J
740		 FOR I=101 TO 319
750		 J=I/3,3
760		 LINE(319-I,99-J)-(320+I,100+J),PSET,O,D
770		 NEXT I
780 '|||||<< FLASH-3>>|||||
790		 FOR J=1 TO 100 | C=RND16+I
800		 CONNECT(320,90)-(318,99)-(300,100)-(318,101)-(320,110)-(322,101)(340,100)-(322,99)-(320,90),C
810		 NEXT J
820 '|||||<< STAR-3 >>|||||
830		 FOR J=1 to 100
840		 I=3,2|J
850		 C=RND16+I
860		 X1=(320-I)+RND|I| X2+RND|I+319
870		 Y1=(100+J)+RND|J|Y2+RND|J+99
880		 PSET(X1,Y1,C)|PSET(X2,Y2,C)|PSET(X1,Y2,C)|PSET(X2,Y1,C)
890		 NEXT J
900		GOTO 400
---------
I first though it was SINCLAIR basic, but someone said it looked more like Visual Basic. The video is from 1992, so I'm guessing Visual Basic 1 or so. Anyway, some characters were quite unclear so I may have been mistaken with several( like | for example).

It would be awesome if someone who knows the language well could help me fix this.

Thanks.]]></description>
			<content:encoded><![CDATA[<div>Hi, I'm completely new to visual basic, and for a contest I'm competing in I had to take a piece of code shown in a video.<br />
Since the video was a bit unclear this is what I could read from it:<br />
<div class="bbcode_container">
	<div class="bbcode_description">Code:</div>
	<hr /><code class="bbcode_code">470&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  C+RND16+I|X=RND1639 | Y=RND|199<br />
480&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  LINE(320,100)-(X,Y),PSET,C| LINE(320,100)-(X,Y),PSET,O<br />
490&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  NEXT I<br />
500&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; NEXT Z<br />
510&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  FOR Z=1 TO 5<br />
520 '|||||&lt;&lt; BOX-Z &gt;&gt;|||||<br />
530&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  FOR I=0 TO 50<br />
540&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  J=I+2,C+(C+I)MOD8<br />
550&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  LINE(319-J,99-I)-(320+J,100+I),PSET,C,D<br />
560&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  NEXT I<br />
570&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  NEXT Z<br />
580 '|||||&lt;&lt; BOX-Z &gt;&gt;|||||<br />
590&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; FOR SS=1 TO 1000 STEP 10<br />
600&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  FOR I=0 TO 310 STEP SS<br />
610&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  J=I/3,3|C=(C+I)MOD7<br />
620&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  LINE(319-I,99-J)-(320+I,100+J),PSET,C,D<br />
630&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  NEXT I<br />
640&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; NEXT SS<br />
650 '|||||&lt;&lt; BOX-Z &gt;&gt;|||||<br />
660&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  FOR I=0 TO 100<br />
670&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  J=I/3,3<br />
680&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  LINE(319-I,99-J)-(320+I,100+J),PSET,O,D<br />
690&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  NEXT I<br />
700 '|||||&lt;&lt; FLASH-3 &gt;&gt;|||||<br />
710&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  FOR J=1 TO 100 | C=RND16+I<br />
720&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  CONNECT(320,90)-(318,99)-(300,100)-(318,101)-(320,110)-(322,101)-322,101)-(340,100)-(322,99)-(320,90),C<br />
730&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  NEXT J<br />
740&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  FOR I=101 TO 319<br />
750&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  J=I/3,3<br />
760&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  LINE(319-I,99-J)-(320+I,100+J),PSET,O,D<br />
770&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  NEXT I<br />
780 '|||||&lt;&lt; FLASH-3&gt;&gt;|||||<br />
790&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  FOR J=1 TO 100 | C=RND16+I<br />
800&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  CONNECT(320,90)-(318,99)-(300,100)-(318,101)-(320,110)-(322,101)(340,100)-(322,99)-(320,90),C<br />
810&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  NEXT J<br />
820 '|||||&lt;&lt; STAR-3 &gt;&gt;|||||<br />
830&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  FOR J=1 to 100<br />
840&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  I=3,2|J<br />
850&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  C=RND16+I<br />
860&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  X1=(320-I)+RND|I| X2+RND|I+319<br />
870&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  Y1=(100+J)+RND|J|Y2+RND|J+99<br />
880&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  PSET(X1,Y1,C)|PSET(X2,Y2,C)|PSET(X1,Y2,C)|PSET(X2,Y1,C)<br />
890&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  NEXT J<br />
900&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; GOTO 400</code><hr />
</div>I first though it was SINCLAIR basic, but someone said it looked more like Visual Basic. The video is from 1992, so I'm guessing Visual Basic 1 or so. Anyway, some characters were quite unclear so I may have been mistaken with several( like | for example).<br />
<br />
It would be awesome if someone who knows the language well could help me fix this.<br />
<br />
Thanks.</div>

]]></content:encoded>
			<category domain="http://www.vbforums.com/forumdisplay.php?1-Visual-Basic-6-and-Earlier">Visual Basic 6 and Earlier</category>
			<dc:creator>stefan bauwens</dc:creator>
			<guid isPermaLink="true">http://www.vbforums.com/showthread.php?722423-Visual-Basic-1-code</guid>
		</item>
		<item>
			<title>wall stop</title>
			<link>http://www.vbforums.com/showthread.php?722399-wall-stop&amp;goto=newpost</link>
			<pubDate>Tue, 21 May 2013 17:42:42 GMT</pubDate>
			<description>hey,

I am trying to make some kind of pacman game, but I have no idea how to stop my pacman from going trough the walls.

I am using pictureboxes for pacman and for the walls. Is there some kind of code for this?</description>
			<content:encoded><![CDATA[<div>hey,<br />
<br />
I am trying to make some kind of pacman game, but I have no idea how to stop my pacman from going trough the walls.<br />
<br />
I am using pictureboxes for pacman and for the walls. Is there some kind of code for this?</div>

]]></content:encoded>
			<category domain="http://www.vbforums.com/forumdisplay.php?1-Visual-Basic-6-and-Earlier">Visual Basic 6 and Earlier</category>
			<dc:creator>maarten</dc:creator>
			<guid isPermaLink="true">http://www.vbforums.com/showthread.php?722399-wall-stop</guid>
		</item>
		<item>
			<title>How to show recordset MySQL data fast(er) in excel?</title>
			<link>http://www.vbforums.com/showthread.php?722379-How-to-show-recordset-MySQL-data-fast(er)-in-excel&amp;goto=newpost</link>
			<pubDate>Tue, 21 May 2013 14:00:23 GMT</pubDate>
			<description><![CDATA[Hi There,
Please see below code.
it takes about 0.01 seconds to get data from the MySQl database
It takes a lot longer to fill every single cell with the proper value
does any faster way exist to fill cells with the proper data?
tried playing around with the getstring option as this holds ALL data but couldn't find a proper way to use this and show data properly


Code:
---------
  mySQL = ""
    mySQL = mySQL & "SELECT ID, txtJPost, txtVolgnr, txtShipmentID, txtDateInvoice, txtAmountex, txtcur, txtROE, txtPaid"
    mySQL = mySQL & " FROM invoicedb"
    mySQL = mySQL & " WHERE txtShipmentID IN "
    mySQL = mySQL & "(SELECT shipmentID FROM shipmentdb "
    mySQL = mySQL & "WHERE InputDate >= '" & Year(Sheet1.Range("E10").Value) & "-" & Month(Sheet1.Range("E10").Value) & "-"
    mySQL = mySQL & Day(Sheet1.Range("E10").Value) & "'"
    mySQL = mySQL & " AND InputDate <= '" & Year(Sheet1.Range("G10").Value) & "-" & Month(Sheet1.Range("G10").Value) & "-"
    mySQL = mySQL & Day(Sheet1.Range("G10").Value) + 1 & "')"
    mySQL = mySQL & " ORDER BY txtShipmentID"
    'MsgBox mySQL
    myRS.Source = mySQL
    Set myRS.ActiveConnection = myconn
    myRS.CursorLocation = adUseClient
    myRS.Open
    Do While Not myRS.EOF
      Sheet2.Range("A" & Step1).Value = myRS.Fields("txtShipmentID").Value
      Sheet2.Range("B" & Step1).Value = "B"
      Sheet2.Range("C" & Step1).Value = myRS.Fields("ID").Value
      Sheet2.Range("D" & Step1).Value = myRS.Fields("txtDateInvoice").Value
      Sheet2.Range("E" & Step1).Value = myRS.Fields("txtVolgNr").Value
      Sheet2.Range("F" & Step1).Value = Replace(myRS.Fields("txtAmountEX").Value, ",", ".")
      Sheet2.Range("F" & Step1).Value = Sheet2.Range("F" & Step1).Value * -1
      Sheet2.Range("G" & Step1).Value = myRS.Fields("txtROE").Value
      Sheet2.Range("H" & Step1).Value = myRS.Fields("txtPaid").Value
      Sheet2.Range("I" & Step1).Value = myRS.Fields("txtCUR").Value
      Sheet2.Range("J" & Step1).Value = myRS.Fields("txtJPost").Value
      If myRS.Fields("txtCUR").Value <> "EUR" Then
        Sheet2.Range("F" & Step1).Value = myRS.Fields("txtAmountEX").Value * CDec(myRS.Fields("txtROE").Value)
        Sheet2.Range("F" & Step1).Value = Sheet2.Range("F" & Step1).Value * -1
      End If
      myRS.MoveNext
      Step1 = Step1 + 1
    Loop
  myRS.Close
  myconn.Close
---------
Appreciated!]]></description>
			<content:encoded><![CDATA[<div>Hi There,<br />
Please see below code.<br />
it takes about 0.01 seconds to get data from the MySQl database<br />
It takes a lot longer to fill every single cell with the proper value<br />
does any faster way exist to fill cells with the proper data?<br />
tried playing around with the getstring option as this holds ALL data but couldn't find a proper way to use this and show data properly<br />
<br />
<div class="bbcode_container">
	<div class="bbcode_description">Code:</div>
	<hr /><code class="bbcode_code">&nbsp; mySQL = &quot;&quot;<br />
&nbsp; &nbsp; mySQL = mySQL &amp; &quot;SELECT ID, txtJPost, txtVolgnr, txtShipmentID, txtDateInvoice, txtAmountex, txtcur, txtROE, txtPaid&quot;<br />
&nbsp; &nbsp; mySQL = mySQL &amp; &quot; FROM invoicedb&quot;<br />
&nbsp; &nbsp; mySQL = mySQL &amp; &quot; WHERE txtShipmentID IN &quot;<br />
&nbsp; &nbsp; mySQL = mySQL &amp; &quot;(SELECT shipmentID FROM shipmentdb &quot;<br />
&nbsp; &nbsp; mySQL = mySQL &amp; &quot;WHERE InputDate &gt;= '&quot; &amp; Year(Sheet1.Range(&quot;E10&quot;).Value) &amp; &quot;-&quot; &amp; Month(Sheet1.Range(&quot;E10&quot;).Value) &amp; &quot;-&quot;<br />
&nbsp; &nbsp; mySQL = mySQL &amp; Day(Sheet1.Range(&quot;E10&quot;).Value) &amp; &quot;'&quot;<br />
&nbsp; &nbsp; mySQL = mySQL &amp; &quot; AND InputDate &lt;= '&quot; &amp; Year(Sheet1.Range(&quot;G10&quot;).Value) &amp; &quot;-&quot; &amp; Month(Sheet1.Range(&quot;G10&quot;).Value) &amp; &quot;-&quot;<br />
&nbsp; &nbsp; mySQL = mySQL &amp; Day(Sheet1.Range(&quot;G10&quot;).Value) + 1 &amp; &quot;')&quot;<br />
&nbsp; &nbsp; mySQL = mySQL &amp; &quot; ORDER BY txtShipmentID&quot;<br />
&nbsp; &nbsp; 'MsgBox mySQL<br />
&nbsp; &nbsp; myRS.Source = mySQL<br />
&nbsp; &nbsp; Set myRS.ActiveConnection = myconn<br />
&nbsp; &nbsp; myRS.CursorLocation = adUseClient<br />
&nbsp; &nbsp; myRS.Open<br />
&nbsp; &nbsp; Do While Not myRS.EOF<br />
&nbsp; &nbsp; &nbsp; Sheet2.Range(&quot;A&quot; &amp; Step1).Value = myRS.Fields(&quot;txtShipmentID&quot;).Value<br />
&nbsp; &nbsp; &nbsp; Sheet2.Range(&quot;B&quot; &amp; Step1).Value = &quot;B&quot;<br />
&nbsp; &nbsp; &nbsp; Sheet2.Range(&quot;C&quot; &amp; Step1).Value = myRS.Fields(&quot;ID&quot;).Value<br />
&nbsp; &nbsp; &nbsp; Sheet2.Range(&quot;D&quot; &amp; Step1).Value = myRS.Fields(&quot;txtDateInvoice&quot;).Value<br />
&nbsp; &nbsp; &nbsp; Sheet2.Range(&quot;E&quot; &amp; Step1).Value = myRS.Fields(&quot;txtVolgNr&quot;).Value<br />
&nbsp; &nbsp; &nbsp; Sheet2.Range(&quot;F&quot; &amp; Step1).Value = Replace(myRS.Fields(&quot;txtAmountEX&quot;).Value, &quot;,&quot;, &quot;.&quot;)<br />
&nbsp; &nbsp; &nbsp; Sheet2.Range(&quot;F&quot; &amp; Step1).Value = Sheet2.Range(&quot;F&quot; &amp; Step1).Value * -1<br />
&nbsp; &nbsp; &nbsp; Sheet2.Range(&quot;G&quot; &amp; Step1).Value = myRS.Fields(&quot;txtROE&quot;).Value<br />
&nbsp; &nbsp; &nbsp; Sheet2.Range(&quot;H&quot; &amp; Step1).Value = myRS.Fields(&quot;txtPaid&quot;).Value<br />
&nbsp; &nbsp; &nbsp; Sheet2.Range(&quot;I&quot; &amp; Step1).Value = myRS.Fields(&quot;txtCUR&quot;).Value<br />
&nbsp; &nbsp; &nbsp; Sheet2.Range(&quot;J&quot; &amp; Step1).Value = myRS.Fields(&quot;txtJPost&quot;).Value<br />
&nbsp; &nbsp; &nbsp; If myRS.Fields(&quot;txtCUR&quot;).Value &lt;&gt; &quot;EUR&quot; Then<br />
&nbsp; &nbsp; &nbsp; &nbsp; Sheet2.Range(&quot;F&quot; &amp; Step1).Value = myRS.Fields(&quot;txtAmountEX&quot;).Value * CDec(myRS.Fields(&quot;txtROE&quot;).Value)<br />
&nbsp; &nbsp; &nbsp; &nbsp; Sheet2.Range(&quot;F&quot; &amp; Step1).Value = Sheet2.Range(&quot;F&quot; &amp; Step1).Value * -1<br />
&nbsp; &nbsp; &nbsp; End If<br />
&nbsp; &nbsp; &nbsp; myRS.MoveNext<br />
&nbsp; &nbsp; &nbsp; Step1 = Step1 + 1<br />
&nbsp; &nbsp; Loop<br />
&nbsp; myRS.Close<br />
&nbsp; myconn.Close</code><hr />
</div>Appreciated!</div>

]]></content:encoded>
			<category domain="http://www.vbforums.com/forumdisplay.php?1-Visual-Basic-6-and-Earlier">Visual Basic 6 and Earlier</category>
			<dc:creator>Mrslow2013</dc:creator>
			<guid isPermaLink="true">http://www.vbforums.com/showthread.php?722379-How-to-show-recordset-MySQL-data-fast(er)-in-excel</guid>
		</item>
		<item>
			<title>richtx32.ocx file not found</title>
			<link>http://www.vbforums.com/showthread.php?722373-richtx32-ocx-file-not-found&amp;goto=newpost</link>
			<pubDate>Tue, 21 May 2013 13:51:38 GMT</pubDate>
			<description>I am using vb 6.0.  In one of my programs I use a rich text control.  When I loaded the program to make some changes there was an error because the rich textbox was not loaded.  It was before though.  When I tried to add this component again I got the message that the file could not be found although it is present according to Windows Explorer. 
I found somewhere that this control has been labeled unsafe by Microsoft.  Does this have something to with it?
Thanks for any help.
Peter Schoots</description>
			<content:encoded><![CDATA[<div>I am using vb 6.0.  In one of my programs I use a rich text control.  When I loaded the program to make some changes there was an error because the rich textbox was not loaded.  It was before though.  When I tried to add this component again I got the message that the file could not be found although it is present according to Windows Explorer. <br />
I found somewhere that this control has been labeled unsafe by Microsoft.  Does this have something to with it?<br />
Thanks for any help.<br />
Peter Schoots</div>

]]></content:encoded>
			<category domain="http://www.vbforums.com/forumdisplay.php?1-Visual-Basic-6-and-Earlier">Visual Basic 6 and Earlier</category>
			<dc:creator>Peter Schoots</dc:creator>
			<guid isPermaLink="true">http://www.vbforums.com/showthread.php?722373-richtx32-ocx-file-not-found</guid>
		</item>
	</channel>
</rss>
