<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="https://syndication.webwiz.net/rss_namespace/">
 <channel>
  <title>Codejock Developer Community : Combo Box??!!</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : Combo Box??!!]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sun, 31 May 2026 14:22:31 +0000</pubDate>
  <lastBuildDate>Wed, 18 Aug 2010 04:20:38 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 12.04</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>forum.codejock.com/RSS_post_feed.asp?TID=17038</WebWizForums:feedURL>
  <image>
   <title><![CDATA[Codejock Developer Community]]></title>
   <url>http://forum.codejock.com/forum_images/codejock-logo.gif</url>
   <link>http://forum.codejock.com/</link>
  </image>
  <item>
   <title><![CDATA[Combo Box??!! :      Hi,When setting up a...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17038&amp;PID=59804&amp;title=combo-box#59804</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2960">Xander75</a><br /><strong>Subject:</strong> 17038<br /><strong>Posted:</strong> 18 August 2010 at 4:20am<br /><br />Hi,<br><br>When setting up a Combobox in the Commandbar use the following code example to add items. There are a few ways in which you can add items...<br><br><table width="99%"><tr><td><pre class="BBcode"><br><font color="#000099">Dim </font>Combo <font color="#000099">As </font>XtremeCommandBars.CommandBarComboBox<br><font color="#000099">Set </font>Combo = .Add(xtpControlComboBox, ID_GOES_HERE, "")<br><br><font color="#006600">' Adding items manually, i.e. a static list of data</font><br><font color="#000099">With </font>Combo<br>&nbsp;&nbsp;&nbsp; .AddItem = "Row 1"<br>&nbsp;&nbsp;&nbsp; .AddItem = "Row 2"<br><font color="#000099">End With</font><br><br><font color="#006600">' Adding items using a For Loop</font><br><font color="#000099">For </font>i = 1 <font color="#000099">To </font>10<br>&nbsp;&nbsp;&nbsp; Combo.AddItem "Item " &amp; i<br><font color="#000099">Next</font><br><br><font color="#000099">Dim </font>rs <font color="#000099">As New</font> ADODB.Recordset<br><font color="#000099">Set </font>rs = cnConn.Execute("SQL Query goes here...")<br><br><font color="#006600">' Adding items using a Recordset</font><br><font color="#000099">Do While Not</font> rs.EOF<br>&nbsp;&nbsp;&nbsp; Combo.AddItem rs("Value")<br>&nbsp;&nbsp;&nbsp; rs.MoveNext<br><font color="#000099">Loop</font><br></pre></td></tr></table><br>Hope this helps!<br><br>]]>
   </description>
   <pubDate>Wed, 18 Aug 2010 04:20:38 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17038&amp;PID=59804&amp;title=combo-box#59804</guid>
  </item> 
  <item>
   <title><![CDATA[Combo Box??!! :  Hey, Just wondering...what is...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17038&amp;PID=59551&amp;title=combo-box#59551</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6277">anthony_pacitto</a><br /><strong>Subject:</strong> 17038<br /><strong>Posted:</strong> 31 July 2010 at 12:30am<br /><br />Hey, Just wondering...what is the correct code in VB6 to add items to a xtpControlComboBox (ComboBox) that i have located inside my command bar. I need it so that when the form loads it will automatically add items to the combobox...How do i do this! Please help! Thnx.]]>
   </description>
   <pubDate>Sat, 31 Jul 2010 00:30:04 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17038&amp;PID=59551&amp;title=combo-box#59551</guid>
  </item> 
 </channel>
</rss>