<?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>Michael Sync &#187; Classic VB</title>
	<atom:link href="http://michaelsync.net/category/classic-vb/feed" rel="self" type="application/rss+xml" />
	<link>http://michaelsync.net</link>
	<description>Sharing our knowledge</description>
	<lastBuildDate>Tue, 10 Jan 2012 02:18:12 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
<atom:link rel="hub" href="http://pubsubhubbub.appspot.com"/><atom:link rel="hub" href="http://superfeedr.com/hubbub"/>		<item>
		<title>Moving Form By Dragging</title>
		<link>http://michaelsync.net/2006/07/20/moving-form-by-dragging</link>
		<comments>http://michaelsync.net/2006/07/20/moving-form-by-dragging#comments</comments>
		<pubDate>Thu, 20 Jul 2006 05:28:43 +0000</pubDate>
		<dc:creator>Michael Sync</dc:creator>
				<category><![CDATA[Classic VB]]></category>

		<guid isPermaLink="false">http://michaelsync.net/2006/07/20/moving-form-by-dragging</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<p>Private Declare Sub ReleaseCapture Lib “user32″ ()<br />
Private Declare Function SendMessage Lib _<br />
“user32″ Alias “SendMessageA” (ByVal hwnd As Long, _<br />
  ByVal wMsg As Long, ByVal wParam As Integer, _<br />
  ByVal lParam As Long) As Long</p>
<p>Public Sub FormDrag(theForm As Form)<br />
  ReleaseCapture<br />
  Call SendMessage(theForm.hwnd, &#038;HA1, 2, 0&#038;)<br />
End Sub</p>
<p>Private Sub Form_MouseDown(Button AsInteger, _<br />
Shift As Integer, X AsSingle, Y As Single)</p>
<p>  FormDrag Me ”Dragging<br />
End Sub</p>
<div class='kouguu_fb_like_button'><iframe src="http://www.facebook.com/plugins/like.php?href=http://michaelsync.net/2006/07/20/moving-form-by-dragging&#038;layout=standard&#038;show_faces=false&#038;width=450&#038;height=25&#038;action=like&#038;colorscheme=light&#038;" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:450px; height:25px;"></iframe></div>
]]></content:encoded>
			<wfw:commentRss>http://michaelsync.net/2006/07/20/moving-form-by-dragging/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Useful Links for Visual Basic</title>
		<link>http://michaelsync.net/2006/04/03/useful-links-for-visual-basic</link>
		<comments>http://michaelsync.net/2006/04/03/useful-links-for-visual-basic#comments</comments>
		<pubDate>Mon, 03 Apr 2006 12:54:01 +0000</pubDate>
		<dc:creator>Michael Sync</dc:creator>
				<category><![CDATA[Classic VB]]></category>

		<guid isPermaLink="false">http://michaelsync.net/2006/04/03/useful-links-for-visual-basic</guid>
		<description><![CDATA[MVP(s) Brad Martinez Steve McMahon Eduardo A. Morcillo VBSpeed Randy Birch Karl E. Peterson Libraries VBCorLib Steve McMahon Eduardo A. Morcillo VBSpeed Randy Birch Karl E. Peterson API, Hooking and SubClassing Book &#34;Hardcore Visual Basic&#34; AllAPI.net AllAPI.net : API List &#8230; <a href="http://michaelsync.net/2006/04/03/useful-links-for-visual-basic">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><font face="Verdana" size="2"><br />
<b>MVP(s)</b> </font></p>
<ul><font face="Verdana" size="2"></p>
<li><a href="http://btmtz.mvps.org">Brad Martinez</a></li>
<li><a href="http://www.vbaccelerator.com">Steve McMahon</a></li>
<li><a href="http://www.mvps.org/emorcillo/en/index.shtml">Eduardo A. Morcillo</a></li>
<li><a href="http://xbeat.net/vbspeed/index.htm">VBSpeed</a></li>
<li><a href="http://vbnet.mvps.org/index.html?welcome.htm">Randy Birch</a></li>
<li><a href="http://vb.mvps.org">Karl E. Peterson</a></li>
<p></font></ul>
<p><font face="Verdana" size="2"><br />
<b>Libraries</b><br />
</font></p>
<ul><font face="Verdana" size="2"></p>
<li><a href="http://www.kellyethridge.com/vbcorlib">VBCorLib</a></li>
<li><a href="http://www.vbaccelerator.com">Steve McMahon</a></li>
<li><a href="http://www.mvps.org/emorcillo/en/index.shtml">Eduardo A. Morcillo</a></li>
<li><a href="http://xbeat.net/vbspeed/index.htm">VBSpeed</a></li>
<li><a href="http://vbnet.mvps.org/index.html?welcome.htm">Randy Birch</a></li>
<li><a href="http://vb.mvps.org">Karl E. Peterson</a></li>
<p></font></ul>
<p><font face="Verdana" size="2"><br />
<b>API, Hooking and SubClassing</b><br />
</font></p>
<ul><font face="Verdana" size="2"></p>
<li><a href="http://vb.mvps.org/hardcore">Book &quot;Hardcore Visual Basic&quot;</a></li>
<li><a href="http://www.allapi.net">AllAPI.net</a></li>
<li><a href="http://www.allapi.net/apilist/apilist.php">AllAPI.net : API List</a></li>
<li><a href="http://www.xbeat.net/vbspeed/i_VBVM6Lib.html">Hidden Gems for Free : Exposing undocumented memory access functions in Visual  Basic 6<br />
(By Michel Butten)</a></li>
<li><a href="http://www.shitalshah.com/vbxlr/codelib/imalloc/imalloc.htm">A COM object you can use in VB providing equivalent functions to C runtime&#39;s  malloc, free and delete</a></li>
<li><a href="http://www.shitalshah.com/vbxlr/codelib/imalloc/objstore.htm">Object Store</a></li>
<li><a href="http://www.vbdiamond.com/ViewCategories.aspx?Type=VB&amp;cbCategory=12&amp;CategoryName=Mouse%2FKeyboard">Keyboard and Mourse</a></li>
<p></font></ul>
<p><font face="Verdana" size="2"><br />
<b>Helper Tools &#8211; Add-In</b><br />
</font></p>
<ul><font face="Verdana" size="2"></p>
<li><a href="http://www.mztools.com">MzTool 3.0</a></li>
<p></font></ul>
<p><font face="Verdana" size="2"><b>XML</b><br />
</font></p>
<ul><font face="Verdana" size="2"></p>
<li><a href="http://www.microsoft.com/downloads/details.aspx?familyid=993C0BCF-3BCF-4009-BE21-27E85E1857B1&amp;displaylang=en">Microsoft Core XML Services (MSXML) 6.0</a></li>
<li><a href="http://abstractvb.com/code.asp?A=813">Performing XML Transformations using MSXML</a></li>
<li><a href="http://www.topxml.com">Top XML</a></li>
<p></font></ul>
<p><font face="Verdana" size="2"><br />
<b>Database</b><br />
</font></p>
<ul><font face="Verdana" size="2"></p>
<li><a href="http://support.microsoft.com/?kbid=210486">ACC2000: Reading, Storing, and Writing Binary Large Objects (BLOBs)</a></li>
<li><a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnvbpj01/html/gs0102.asp">Store Images in Your Database</a></li>
<p></font></ul>
<p><font face="Verdana" size="2"><br />
<b>Documentation Tools</b><br />
</font></p>
<ul><font face="Verdana" size="2"></p>
<li><a href="http://vbdox.sourceforge.net">VBDox</a></li>
<p></font></ul>
<p><font face="Verdana" size="2"><i>Notes : Please inform me if you found any broken link. I do appreciated  for your help. </i></font></p>
<p><font face="Verdana" size="2">&nbsp;</font>
<div class='kouguu_fb_like_button'><iframe src="http://www.facebook.com/plugins/like.php?href=http://michaelsync.net/2006/04/03/useful-links-for-visual-basic&#038;layout=standard&#038;show_faces=false&#038;width=450&#038;height=25&#038;action=like&#038;colorscheme=light&#038;" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:450px; height:25px;"></iframe></div>
]]></content:encoded>
			<wfw:commentRss>http://michaelsync.net/2006/04/03/useful-links-for-visual-basic/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Differences between Image and PictureBox</title>
		<link>http://michaelsync.net/2006/04/03/differences-between-image-and-picturebox</link>
		<comments>http://michaelsync.net/2006/04/03/differences-between-image-and-picturebox#comments</comments>
		<pubDate>Mon, 03 Apr 2006 09:50:26 +0000</pubDate>
		<dc:creator>Michael Sync</dc:creator>
				<category><![CDATA[Classic VB]]></category>

		<guid isPermaLink="false">http://michaelsync.net/2006/04/03/differences-between-image-and-picturebox</guid>
		<description><![CDATA[Image control a &#34;lightweight&#34; control that has no device context (or hDC) or it&#39;s own. can display a gif file loaded into the picture property with a transparent background. flicker when moved at runtime. can only be z-ordered (layered) over &#8230; <a href="http://michaelsync.net/2006/04/03/differences-between-image-and-picturebox">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><font face="Verdana" size="2"><br />
<b>Image control</b></font></p>
<ul>
<li><font face="Verdana" size="2">a &quot;lightweight&quot; control that has no device  	context (or hDC) or it&#39;s own.</font></li>
<li><font face="Verdana" size="2">can display a gif file loaded into the  	picture property with a transparent background.</font></li>
<li><font face="Verdana" size="2">flicker when moved at runtime.</font></li>
<li><font face="Verdana" size="2">can only be z-ordered (layered) over  	another lighweight control.</font></li>
<li><font face="Verdana" size="2">has Stretch property. Otherwise,  	ImageControl can stretch the image.</font></li>
<li><font face="Verdana" size="2">No AutoSize Property.</font></li>
<li><font face="Verdana" size="2">is not a container control.</font></li>
<li><font face="Verdana" size="2">no OLE drag/drop.</font></li>
<li><font face="Verdana" size="2">PaintPicture doesnt&#39; work. and no drawing  	or printing ability (printing to the image contained therein)</font></li>
</ul>
<p><font face="Verdana" size="2"><b>Image control</b></font></p>
<ul>
<li><font face="Verdana" size="2">Has Hwnd and Hdc.</font></li>
<li><font face="Verdana" size="2">no transparent background.</font></li>
<li><font face="Verdana" size="2">doesn&#39;t flicker when moved at runtime.</font></li>
<li><font face="Verdana" size="2">No layered.</font></li>
<li><font face="Verdana" size="2">No Stretch Property</font></li>
<li><font face="Verdana" size="2">Has Autosize Property</font></li>
<li><font face="Verdana" size="2">is a container control.</font></li>
<li><font face="Verdana" size="2">OLEDrag/Drop</font></li>
<li><font face="Verdana" size="2">Work with PaintPicture.</font></li>
</ul>
<p><i><font face="Verdana" size="2">References URL(s) ~</p>
<p><a href="http://www.codecomments.com/message729787.html"> http://www.codecomments.com/message729787.html</a><br />
<a href="http://www.xtremevbtalk.com/showthread.php?t=247820"> http://www.xtremevbtalk.com/showthread.php?t=247820</a></font></i></p>
<p><i><font face="Verdana" size="2"><br />
&nbsp;</font></i>
<div class='kouguu_fb_like_button'><iframe src="http://www.facebook.com/plugins/like.php?href=http://michaelsync.net/2006/04/03/differences-between-image-and-picturebox&#038;layout=standard&#038;show_faces=false&#038;width=450&#038;height=25&#038;action=like&#038;colorscheme=light&#038;" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:450px; height:25px;"></iframe></div>
]]></content:encoded>
			<wfw:commentRss>http://michaelsync.net/2006/04/03/differences-between-image-and-picturebox/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>VB6 &#8211; Detecting whether the program is running under the control of Visual Studio or not..</title>
		<link>http://michaelsync.net/2005/12/22/vb6-detecting-whether-the-program-is-running-under-the-control-of-visual-studio-or-not</link>
		<comments>http://michaelsync.net/2005/12/22/vb6-detecting-whether-the-program-is-running-under-the-control-of-visual-studio-or-not#comments</comments>
		<pubDate>Thu, 22 Dec 2005 12:39:03 +0000</pubDate>
		<dc:creator>Michael Sync</dc:creator>
				<category><![CDATA[Classic VB]]></category>

		<guid isPermaLink="false">http://michaelsync.net/2005/12/22/vb6-detecting-whether-the-program-is-running-under-the-control-of-visual-studio-or-not</guid>
		<description><![CDATA[Drag Article : Moved from Old Blog Another way to do is to detect whether the Visual Studio 6 IDE open or not using some API. References Link Question: How can I test whether a program is running at design &#8230; <a href="http://michaelsync.net/2005/12/22/vb6-detecting-whether-the-program-is-running-under-the-control-of-visual-studio-or-not">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><font color="red">Drag Article : Moved from Old Blog</font></p>
<pre class="brush: vb; title: ; notranslate">
Private Declare Function GetModuleHandle _
Lib &quot;kernel32&quot; Alias _
&quot;GetModuleHandleA&quot; _
(ByVal lpModuleName As String) As Long &lt;/span&gt;
&lt;span style=&quot;font-family: verdana; font-size: 85%&quot;&gt;
Public Function TestEnvironment() As Boolean
Dim ModuleHandle As String
Dim EnvFileName As String
Dim EnvVal As Variant
Dim ReturnVal As Long
Dim i As Long
EnvVal = _
Array(&quot;vb.exe&quot;, _
&quot;vb32.exe&quot;, _
&quot;vb5.exe&quot;, _
&quot;vb6.exe&quot;)
For i = LBound(EnvVal) To UBound(EnvVal)
ModuleHandle = EnvVal(i)
ReturnVal = GetModuleHandle(ModuleHandle)
If ReturnVal  0 Then
EnvFileName = ModuleHandle
TestEnvironment = True
Exit For
End If
Next
End Function

Private Sub Command1_Click()
If TestEnvironment() = True Then
MsgBox (&quot;Running under IDE&quot;)
Else
MsgBox (&quot;Running as EXE&quot;)
End If
End Sub
</pre>
<p>Another way to do is to detect whether the Visual Studio 6 IDE open or not using some API.</p>
<p><em>References Link</em><br />
<a href="http://visualbasic.about.com/od/usevb6/l/blfaq0012a.htm">Question: How can I test whether a program is running at design time or run time using VB6? </a>
<div class='kouguu_fb_like_button'><iframe src="http://www.facebook.com/plugins/like.php?href=http://michaelsync.net/2005/12/22/vb6-detecting-whether-the-program-is-running-under-the-control-of-visual-studio-or-not&#038;layout=standard&#038;show_faces=false&#038;width=450&#038;height=25&#038;action=like&#038;colorscheme=light&#038;" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:450px; height:25px;"></iframe></div>
]]></content:encoded>
			<wfw:commentRss>http://michaelsync.net/2005/12/22/vb6-detecting-whether-the-program-is-running-under-the-control-of-visual-studio-or-not/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

