<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>CodeItBetter Programming</title>
	
	<link>http://www.codeitbetter.com</link>
	<description>Another VB Programming Blog</description>
	<lastBuildDate>Mon, 26 Jul 2010 16:16:18 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/Codeitbetter" /><feedburner:info uri="codeitbetter" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><feedburner:emailServiceId>Codeitbetter</feedburner:emailServiceId><feedburner:feedburnerHostname>http://feedburner.google.com</feedburner:feedburnerHostname><item>
		<title>How to limit selections in a listbox control</title>
		<link>http://feedproxy.google.com/~r/Codeitbetter/~3/3nN8MXbJ_Aw/</link>
		<comments>http://www.codeitbetter.com/limit-selections-listbox-control/#comments</comments>
		<pubDate>Mon, 26 Jul 2010 16:09:55 +0000</pubDate>
		<dc:creator>John</dc:creator>
				<category><![CDATA[Controls]]></category>
		<category><![CDATA[how-to]]></category>
		<category><![CDATA[limit selections in listbox control]]></category>
		<category><![CDATA[list box control]]></category>
		<category><![CDATA[vb6 code]]></category>
		<category><![CDATA[visual basic code]]></category>

		<guid isPermaLink="false">http://www.codeitbetter.com/limit-selections-listbox-control/</guid>
		<description>Sometimes you may require to limit the number of items which can be selected by the user in run time. Here is one of the way I can think of in VB6:
In this example, we are going to limit the number of selections in list box control to three. If the user tries to select [...]&lt;p&gt;&lt;a href="http://www.codeitbetter.com/limit-selections-listbox-control/"&gt;How to limit selections in a listbox control&lt;/a&gt; is a post from: &lt;a href="http://www.codeitbetter.com"&gt;CodeItBetter Programming&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/KkxAzVMKfYTCtsznMcPUf2gwU00/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/KkxAzVMKfYTCtsznMcPUf2gwU00/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/KkxAzVMKfYTCtsznMcPUf2gwU00/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/KkxAzVMKfYTCtsznMcPUf2gwU00/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/Codeitbetter/~4/3nN8MXbJ_Aw" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://www.codeitbetter.com/limit-selections-listbox-control/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.codeitbetter.com/limit-selections-listbox-control/</feedburner:origLink></item>
		<item>
		<title>How to add Horizontal ScrollBar to list box control using API</title>
		<link>http://feedproxy.google.com/~r/Codeitbetter/~3/rwyQt9qi3Zs/</link>
		<comments>http://www.codeitbetter.com/add-horizontal-scrollbar-list/#comments</comments>
		<pubDate>Wed, 07 Jul 2010 16:05:45 +0000</pubDate>
		<dc:creator>John</dc:creator>
				<category><![CDATA[System & API]]></category>
		<category><![CDATA[add Horizontal ScrollBar]]></category>
		<category><![CDATA[API]]></category>
		<category><![CDATA[how-to]]></category>
		<category><![CDATA[list box control]]></category>
		<category><![CDATA[vb6 code]]></category>

		<guid isPermaLink="false">http://www.codeitbetter.com/add-horizontal-scrollbar-list/</guid>
		<description>Here is the way of adding Horizontal ScrollBar to a ListBox control. It uses SendMessage API function.
Instructions:

Create a new Project
Add a new Form to it and name it as Form1
Add a list box control to it and name it as list1

Now, copy the following code to Form1:

1
2
3
4
5
6
7
8
9
10
Option Explicit
&amp;#160;
Private Declare Function SendMessage Lib &amp;#34;user32&amp;#34; Alias &amp;#34;SendMessageA&amp;#34; [...]&lt;p&gt;&lt;a href="http://www.codeitbetter.com/add-horizontal-scrollbar-list/"&gt;How to add Horizontal ScrollBar to list box control using API&lt;/a&gt; is a post from: &lt;a href="http://www.codeitbetter.com"&gt;CodeItBetter Programming&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/4M3q9T1rv4GNgS7m4f731RC03_8/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/4M3q9T1rv4GNgS7m4f731RC03_8/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/4M3q9T1rv4GNgS7m4f731RC03_8/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/4M3q9T1rv4GNgS7m4f731RC03_8/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/Codeitbetter/~4/rwyQt9qi3Zs" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://www.codeitbetter.com/add-horizontal-scrollbar-list/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.codeitbetter.com/add-horizontal-scrollbar-list/</feedburner:origLink></item>
		<item>
		<title>How to add items to combo box control using API</title>
		<link>http://feedproxy.google.com/~r/Codeitbetter/~3/yF32_zxFmDo/</link>
		<comments>http://www.codeitbetter.com/add-items-combo-box-control-api/#comments</comments>
		<pubDate>Wed, 07 Jul 2010 15:50:56 +0000</pubDate>
		<dc:creator>John</dc:creator>
				<category><![CDATA[System & API]]></category>

		<guid isPermaLink="false">http://www.codeitbetter.com/add-items-combo-box-control-api/</guid>
		<description>Using API is one of way of adding items to combo box control. Using API is much faster comparing with regular add item method.
Instructions:

Create a new Project
Add a new Form to it and name it as Form1
Add a combo box control to it and name it as combo1
Add a command button control to it and [...]&lt;p&gt;&lt;a href="http://www.codeitbetter.com/add-items-combo-box-control-api/"&gt;How to add items to combo box control using API&lt;/a&gt; is a post from: &lt;a href="http://www.codeitbetter.com"&gt;CodeItBetter Programming&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/UhVr_Il_Z_qUWu1e5KG2pDTooOw/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/UhVr_Il_Z_qUWu1e5KG2pDTooOw/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/UhVr_Il_Z_qUWu1e5KG2pDTooOw/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/UhVr_Il_Z_qUWu1e5KG2pDTooOw/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/Codeitbetter/~4/yF32_zxFmDo" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://www.codeitbetter.com/add-items-combo-box-control-api/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.codeitbetter.com/add-items-combo-box-control-api/</feedburner:origLink></item>
		<item>
		<title>How to Pause our application</title>
		<link>http://feedproxy.google.com/~r/Codeitbetter/~3/5xKu5QFeHXY/</link>
		<comments>http://www.codeitbetter.com/pause-application/#comments</comments>
		<pubDate>Tue, 06 Jul 2010 13:10:14 +0000</pubDate>
		<dc:creator>John</dc:creator>
				<category><![CDATA[Coding Basics]]></category>
		<category><![CDATA[System & API]]></category>

		<guid isPermaLink="false">http://www.codeitbetter.com/pause-application/</guid>
		<description>Sometimes we might require to pause our application for some time. like there might be other processes which needs to be completed before our application proceeds further. There are few ways to achieve that. Here is one of the way to pause or wait our application:
Instructions:

Create a new Project
Add a new module to it and [...]&lt;p&gt;&lt;a href="http://www.codeitbetter.com/pause-application/"&gt;How to Pause our application&lt;/a&gt; is a post from: &lt;a href="http://www.codeitbetter.com"&gt;CodeItBetter Programming&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/YXZ2Lo_Fjnau6mdmtHX5pgxH3M8/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/YXZ2Lo_Fjnau6mdmtHX5pgxH3M8/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/YXZ2Lo_Fjnau6mdmtHX5pgxH3M8/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/YXZ2Lo_Fjnau6mdmtHX5pgxH3M8/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/Codeitbetter/~4/5xKu5QFeHXY" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://www.codeitbetter.com/pause-application/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.codeitbetter.com/pause-application/</feedburner:origLink></item>
		<item>
		<title>How to Ping an IP address</title>
		<link>http://feedproxy.google.com/~r/Codeitbetter/~3/_YzvGzDitD4/</link>
		<comments>http://www.codeitbetter.com/ping-ip-address/#comments</comments>
		<pubDate>Tue, 06 Jul 2010 12:58:00 +0000</pubDate>
		<dc:creator>John</dc:creator>
				<category><![CDATA[System & API]]></category>

		<guid isPermaLink="false">http://www.codeitbetter.com/ping-ip-address/</guid>
		<description>Here is one of the way to ping a given IP address. Check out the main procedure to call the functions:
Instructions:

Create a new Project
Add a new module to it and name it as Module1

Now, add the following code to Module1:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
Option Explicit
&amp;#160;
'Const IP_STATUS_BASE = 11000
Const IP_SUCCESS = 0
Const IP_BUF_TOO_SMALL = (11000 + 1)
Const IP_DEST_NET_UNREACHABLE = (11000 [...]&lt;p&gt;&lt;a href="http://www.codeitbetter.com/ping-ip-address/"&gt;How to Ping an IP address&lt;/a&gt; is a post from: &lt;a href="http://www.codeitbetter.com"&gt;CodeItBetter Programming&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/C3Wtyp8mmBLQiUMiDupasPLkEwU/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/C3Wtyp8mmBLQiUMiDupasPLkEwU/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/C3Wtyp8mmBLQiUMiDupasPLkEwU/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/C3Wtyp8mmBLQiUMiDupasPLkEwU/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/Codeitbetter/~4/_YzvGzDitD4" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://www.codeitbetter.com/ping-ip-address/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.codeitbetter.com/ping-ip-address/</feedburner:origLink></item>
	</channel>
</rss><!-- Dynamic page generated in 1.539 seconds. --><!-- Cached page generated by WP-Super-Cache on 2010-07-26 16:47:54 -->
