<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Archaic Binary; Intelligent Disorder &#187; Close Application VB6 Module</title>
	<atom:link href="http://www.archaicbinary.net/tag/vb6/feed" rel="self" type="application/rss+xml" />
	<link>http://www.archaicbinary.net</link>
	<description>...Or something like it.</description>
	<lastBuildDate>Sun, 05 Feb 2012 15:19:51 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Close Application VB6 Module</title>
		<link>http://www.archaicbinary.net/code/close-application-vb6-module.html</link>
		<comments>http://www.archaicbinary.net/code/close-application-vb6-module.html#comments</comments>
		<pubDate>Mon, 21 Jun 2010 13:25:33 +0000</pubDate>
		<dc:creator>zharvek</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[kill]]></category>
		<category><![CDATA[vb6]]></category>

		<guid isPermaLink="false">http://www.archaicbinary.net/?p=135</guid>
		<description><![CDATA[Simple module for your VB6 projects. This will gracefully close any application you specify. Close Application VB6 Module]]></description>
			<content:encoded><![CDATA[<p>Simple module for your VB6 projects. This will gracefully close any application you specify.</p>
<p><a href='http://www.archaicbinary.net/wp-content/uploads/KillApp.zip'>Close Application VB6 Module</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.archaicbinary.net/code/close-application-vb6-module.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Kill Process VB6 Module</title>
		<link>http://www.archaicbinary.net/code/kill-process-vb6-module.html</link>
		<comments>http://www.archaicbinary.net/code/kill-process-vb6-module.html#comments</comments>
		<pubDate>Sun, 20 Jun 2010 13:24:30 +0000</pubDate>
		<dc:creator>zharvek</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[kill]]></category>
		<category><![CDATA[vb6]]></category>

		<guid isPermaLink="false">http://www.archaicbinary.net/?p=132</guid>
		<description><![CDATA[Simple module that adds function: killprocess(&#8220;name.exe&#8221;) KillProc VB6 Module]]></description>
			<content:encoded><![CDATA[<p>Simple module that adds function: killprocess(&#8220;name.exe&#8221;)</p>
<p><a href='http://www.archaicbinary.net/wp-content/uploads/KillProc.zip'>KillProc VB6 Module</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.archaicbinary.net/code/kill-process-vb6-module.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Find the CRC of OBDII Packet VB6</title>
		<link>http://www.archaicbinary.net/code/find-the-crc-of-obdii-packet-vb6.html</link>
		<comments>http://www.archaicbinary.net/code/find-the-crc-of-obdii-packet-vb6.html#comments</comments>
		<pubDate>Sat, 19 Jun 2010 13:22:58 +0000</pubDate>
		<dc:creator>zharvek</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[crc]]></category>
		<category><![CDATA[obd2]]></category>
		<category><![CDATA[obdii]]></category>
		<category><![CDATA[vb6]]></category>

		<guid isPermaLink="false">http://www.archaicbinary.net/?p=130</guid>
		<description><![CDATA[Function FindCRC(Value) Dim val(5) As Byte value1 = Left(Value, 2) value2 = Mid(Value, 4, 2) value3 = Mid(Value, 7, 2) value4 = Mid(Value, 10, 2) value5 = Right(Value, 2) val(1) = &#8220;&#038;H&#8221; &#038; value1 val(2) = &#8220;&#038;H&#8221; &#038; value2 val(3) = &#8220;&#038;H&#8221; &#038; value3 val(4) = &#8220;&#038;H&#8221; &#038; value4 val(5) = &#8220;&#038;H&#8221; &#038; value5 FindCRC [...]]]></description>
			<content:encoded><![CDATA[<blockquote><p>Function FindCRC(Value)<br />
   Dim val(5) As Byte<br />
   value1 = Left(Value, 2)<br />
   value2 = Mid(Value, 4, 2)<br />
   value3 = Mid(Value, 7, 2)<br />
   value4 = Mid(Value, 10, 2)<br />
   value5 = Right(Value, 2)<br />
   val(1) = &#8220;&#038;H&#8221; &#038; value1<br />
   val(2) = &#8220;&#038;H&#8221; &#038; value2<br />
   val(3) = &#8220;&#038;H&#8221; &#038; value3<br />
   val(4) = &#8220;&#038;H&#8221; &#038; value4<br />
   val(5) = &#8220;&#038;H&#8221; &#038; value5<br />
   FindCRC = Hex(CalcCRC(val))<br />
End Function</p></blockquote>
<p>Function for VB6, (place it in a module) to find the CRC of incoming data on the BR-3 OBDII module.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.archaicbinary.net/code/find-the-crc-of-obdii-packet-vb6.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Calculate the OBD CRC Packet VB6</title>
		<link>http://www.archaicbinary.net/code/calculate-the-obd-crc-packet-vb6.html</link>
		<comments>http://www.archaicbinary.net/code/calculate-the-obd-crc-packet-vb6.html#comments</comments>
		<pubDate>Sat, 19 Jun 2010 13:20:39 +0000</pubDate>
		<dc:creator>zharvek</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[crc]]></category>
		<category><![CDATA[obd2]]></category>
		<category><![CDATA[obdii]]></category>
		<category><![CDATA[vb6]]></category>

		<guid isPermaLink="false">http://www.archaicbinary.net/?p=126</guid>
		<description><![CDATA[Function CalcCRC(s() As Byte) As Byte checksum = 0 crcreg = 255 length = UBound(s) &#8211; LBound(s) For i = 1 To length bitpoint = 128 x = s(i) For k = 0 To 7 If bitpoint And x Then If crcreg And 128 Then poly = 1 Else poly = 28 End If crcreg [...]]]></description>
			<content:encoded><![CDATA[<blockquote><p>
Function CalcCRC(s() As Byte) As Byte<br />
   checksum = 0<br />
   crcreg = 255<br />
   length = UBound(s) &#8211; LBound(s)<br />
   For i = 1 To length<br />
       bitpoint = 128<br />
       x = s(i)<br />
       For k = 0 To 7<br />
           If bitpoint And x Then<br />
               If crcreg And 128 Then<br />
                   poly = 1<br />
               Else<br />
                   poly = 28<br />
               End If<br />
               crcreg = (((crcreg * 2) Or 1) Xor poly) And 255<br />
           Else<br />
               If crcreg And 128 Then<br />
                   poly = 29<br />
               Else<br />
                   poly = 0<br />
               End If<br />
               crcreg = ((crcreg * 2) Xor poly) And 255<br />
           End If<br />
           bitpoint = bitpoint \ 2<br />
       Next k<br />
   Next<br />
   CalcCRC = (Not crcreg) And 255<br />
End Function
</p></blockquote>
<p>VB6 function, (place it in a module) that will calculate the crc hex packet to use with the BR-3 OBDII unit.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.archaicbinary.net/code/calculate-the-obd-crc-packet-vb6.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>VB6 Volume Controls Module</title>
		<link>http://www.archaicbinary.net/code/vb6-volume-controls-module.html</link>
		<comments>http://www.archaicbinary.net/code/vb6-volume-controls-module.html#comments</comments>
		<pubDate>Sat, 19 Jun 2010 13:19:25 +0000</pubDate>
		<dc:creator>zharvek</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[vb6]]></category>
		<category><![CDATA[volume]]></category>

		<guid isPermaLink="false">http://www.archaicbinary.net/?p=123</guid>
		<description><![CDATA[Simple module I use in the front-end interface program to control volume. Provides functions: GetVolume() SetVolume() GetMute() SetMute() Controls the master volume in Windows 2000, XP. VB6 Volume Control Mixer]]></description>
			<content:encoded><![CDATA[<p>Simple module I use in the front-end interface program to control volume.</p>
<p>Provides functions:<br />
GetVolume()<br />
SetVolume()<br />
GetMute()<br />
SetMute()</p>
<p>Controls the master volume in Windows 2000, XP.</p>
<p><a href='http://www.archaicbinary.net/wp-content/uploads/Mixer.zip'>VB6 Volume Control Mixer</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.archaicbinary.net/code/vb6-volume-controls-module.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Android Notifier</title>
		<link>http://www.archaicbinary.net/code/android-notifier.html</link>
		<comments>http://www.archaicbinary.net/code/android-notifier.html#comments</comments>
		<pubDate>Wed, 09 Jun 2010 13:06:28 +0000</pubDate>
		<dc:creator>zharvek</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[android]]></category>
		<category><![CDATA[evo]]></category>
		<category><![CDATA[htc]]></category>
		<category><![CDATA[vb6]]></category>

		<guid isPermaLink="false">http://www.archaicbinary.net/?p=104</guid>
		<description><![CDATA[Simple Windows program I created really quick in VB6 that will accept simple messages from the Android running the &#8216;android-notifier&#8216; application. Since the author has not written a Windows application yet, I made this small ghetto client to hold off some at the office, and use the code in the CarputerGTP project. Attached is the [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.archaicbinary.net/wp-content/uploads/android.png"><img src="http://www.archaicbinary.net/wp-content/uploads/android.png" alt="" title="Android" width="133" height="115" class="alignleft size-full" /></a>Simple Windows program I created really quick in VB6 that will accept simple messages from the Android running the &#8216;<a href="http://code.google.com/p/android-notifier/">android-notifier</a>&#8216; application.</p>
<p>Since the author has not written a Windows application yet, I made this small ghetto client to hold off some at the office, and use the code in the CarputerGTP project.</p>
<p><a href="http://www.archaicbinary.net/wp-content/uploads/popup-example.png"><img src="http://www.archaicbinary.net/wp-content/uploads/popup-example.png" alt="Android-Notifier Popup Example" title="Android-Notifier Popup Example" width="246" height="100" class="alignright size-full" /></a>Attached is the program itself, the source code for any interested, and the Microsoft Winsock component. You must place the MSWINSCK.OCX file in your C:\Windows\System32 folder.</p>
<p><a href='http://www.archaicbinary.net/wp-content/uploads/Android-Notifier.exe'>Android-Notifier (Program Only)</a> | <a href='http://www.archaicbinary.net/wp-content/uploads/Android-Notifier.zip'>Android-Notifier (Source Code)</a> | <a href='http://www.archaicbinary.net/wp-content/uploads/MSWINSCK.zip'>MSWINSCK.ZIP (Winsock Component)</a></p>
<p>On the android, connect to the wireless network, and choose a custom IP. Key in the IP of the machine running this program. Done.</p>
<p>At the moment I only have it displaying tooltip popups for PING (Testing connection packets), SMS (Test Messages), and RING (Incoming calls).</p>
]]></content:encoded>
			<wfw:commentRss>http://www.archaicbinary.net/code/android-notifier.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Control Winamp 2.X in VB6</title>
		<link>http://www.archaicbinary.net/code/control-winamp-2-x-in-vb6.html</link>
		<comments>http://www.archaicbinary.net/code/control-winamp-2-x-in-vb6.html#comments</comments>
		<pubDate>Sun, 25 Apr 2010 02:33:04 +0000</pubDate>
		<dc:creator>zharvek</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[media]]></category>
		<category><![CDATA[vb6]]></category>
		<category><![CDATA[winamp]]></category>

		<guid isPermaLink="false">http://www.archaicbinary.net/?p=79</guid>
		<description><![CDATA[Attached in a simple VB6 module that will help you control an running Winamp instance. I lost this awhile back, and could not find a module that came close to the features that this one offers. Digging around I found it on an old backup drive and decided to post it here. Winamp VB6 Module [...]]]></description>
			<content:encoded><![CDATA[<p>Attached in a simple VB6 module that will help you control an running Winamp instance. I lost this awhile back, and could not find a module that came close to the features that this one offers. Digging around I found it on an old backup drive and decided to post it here.</p>
<p><a href='http://www.archaicbinary.net/wp-content/uploads/WinAmp.txt'>Winamp VB6 Module</a><br />
You will need to change the extension from .txt to .bas and then add it into your project.</p>
<p>Currently I am using this code in my project to control Winamp, along with the <a href="http://sourceforge.net/projects/lcdplugin/">Winamp LCD Display Plugin</a> to display information on my 2&#215;16 serial LCD above the DIC. Working great so far, but I need to find some option or other way of telling the plugin to clear the LCD screen when it loads up, since the LCD remembers data sent and does not clear old data, leaving characters where there should be nothing but blank spots.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.archaicbinary.net/code/control-winamp-2-x-in-vb6.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

