<?xml version="1.0" encoding="utf-8"?>

<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>DaniWeb IT Discussion Community - Software Development</title>
		<link>http://www.daniweb.com/forums</link>
		<description>Tech support, programming, web development, and internet marketing community. Forums to get free computer help and support.</description>
		<language>en-US</language>
		<lastBuildDate>Sun, 06 Jul 2008 22:00:32 GMT</lastBuildDate>
		<generator>vBulletin</generator>
		<ttl>60</ttl>
		<image>
			<url>http://www.daniweb.com/forums/myimages/misc/rss.jpg</url>
			<title>DaniWeb IT Discussion Community - Software Development</title>
			<link>http://www.daniweb.com/forums</link>
		</image>
		<item>
			<title>Java and embedded devices</title>
			<link>http://www.daniweb.com/forums/thread132962.html</link>
			<pubDate>Sun, 06 Jul 2008 21:14:09 GMT</pubDate>
			<description><![CDATA[Hey guys, 

Most embedded devices suc as the Amtel boards seen to require C / C++ programming, why don't they support Java? Is it question of performance? Or am I overlooking something?]]></description>
			<content:encoded><![CDATA[<div>Hey guys, <br />
<br />
Most embedded devices suc as the Amtel boards seen to require C / C++ programming, why don't they support Java? Is it question of performance? Or am I overlooking something?</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum9.html">Java</category>
			<dc:creator>Acidburn</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread132962.html</guid>
		</item>
		<item>
			<title>help with syntax commands</title>
			<link>http://www.daniweb.com/forums/thread132953.html</link>
			<pubDate>Sun, 06 Jul 2008 18:58:05 GMT</pubDate>
			<description><![CDATA[im quite new to python and have made a few programs to help me in school but i dont know how to compile them.
i have found a tutorial and have copied the code correctly but python says that the 'import' syntax is incorrect.

this is the code:
from distutils.core import setup import...]]></description>
			<content:encoded><![CDATA[<div>im quite new to python and have made a few programs to help me in school but i dont know how to compile them.<br />
i have found a tutorial and have copied the code correctly but python says that the 'import' syntax is incorrect.<br />
<br />
this is the code:<br />
<div style="margin:10px 20px 20px 20px"> <code style="margin:0px" dir="ltr" style="text-align:left">from distutils.core import setup import py2exe<br />
<br />
setup(console=['2.py'])</code> </div>
<br />
how could i fix this?</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum114.html">Python</category>
			<dc:creator>leegeorg07</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread132953.html</guid>
		</item>
		<item>
			<title>Trying to create a class</title>
			<link>http://www.daniweb.com/forums/thread132951.html</link>
			<pubDate>Sun, 06 Jul 2008 18:50:25 GMT</pubDate>
			<description><![CDATA[Hey guys, 

I come over from C, wanting to learn C++. I have a nice little book but figured I could use a project to get me going. 

So I magicly crafted code, and ran into this problem:

C:\Code\Rapture\World.h|7|error: ISO C++ forbids declaration of `Breeture' with no type|
With this...]]></description>
			<content:encoded><![CDATA[<div>Hey guys, <br />
<br />
I come over from C, wanting to learn C++. I have a nice little book but figured I could use a project to get me going. <br />
<br />
So I magicly crafted code, and ran into this problem:<br />
<br />
<div style="margin:10px 20px 20px 20px"> <code style="margin:0px" dir="ltr" style="text-align:left">C:\Code\Rapture\World.h|7|error: ISO C++ forbids declaration of `Breeture' with no type|</code> </div>
<br />
With this code:<br />
<br />
Breeture.h:<br />
<div style="margin:10px 20px 20px 20px"> <code style="margin:0px" dir="ltr" style="text-align:left"><pre class="code"><ol><li class="li1"><div class="de1"><span class="co2">#ifndef BREETUREH</span></div></li><li class="li1"><div class="de1"><span class="co2">#define BREETUREH</span></div></li><li class="li1"><div class="de1">&nbsp;</div></li><li class="li1"><div class="de1"><span class="co2">#include &lt;vector&gt;</span></div></li><li class="li2"><div class="de2"><span class="co2">#include &quot;World.h&quot;</span></div></li><li class="li1"><div class="de1"><span class="kw2">class</span> Breeture<span class="br0">&#123;</span></div></li><li class="li1"><div class="de1">&nbsp; &nbsp; <span class="kw2">friend</span> <span class="kw2">class</span> World;</div></li><li class="li1"><div class="de1">&nbsp;</div></li><li class="li1"><div class="de1">&nbsp; &nbsp; <span class="kw2">public</span>:</div></li><li class="li2"><div class="de2">&nbsp; &nbsp; <span class="co1">//Creates the breeture</span></div></li><li class="li1"><div class="de1">&nbsp; &nbsp; Breeture<span class="br0">&#40;</span><span class="br0">&#41;</span>;</div></li><li class="li1"><div class="de1">&nbsp;</div></li><li class="li1"><div class="de1">&nbsp; &nbsp; <span class="co1">//Pwns the breeture.</span></div></li><li class="li1"><div class="de1">&nbsp; &nbsp; <span class="kw4">void</span> Die<span class="br0">&#40;</span><span class="br0">&#41;</span>;</div></li><li class="li2"><div class="de2">&nbsp; &nbsp; ~Breeture<span class="br0">&#40;</span><span class="br0">&#41;</span>;</div></li><li class="li1"><div class="de1">&nbsp;</div></li><li class="li1"><div class="de1">&nbsp; &nbsp; <span class="kw4">void</span> Age<span class="br0">&#40;</span><span class="br0">&#41;</span>;</div></li><li class="li1"><div class="de1">&nbsp;</div></li><li class="li1"><div class="de1">&nbsp; &nbsp; <span class="kw4">void</span> outputDNA<span class="br0">&#40;</span><span class="br0">&#41;</span>;</div></li><li class="li2"><div class="de2">&nbsp; &nbsp; <span class="kw4">void</span> outputAge<span class="br0">&#40;</span><span class="br0">&#41;</span>;</div></li><li class="li1"><div class="de1">&nbsp;</div></li><li class="li1"><div class="de1">&nbsp; &nbsp; <span class="kw4">void</span> outputData<span class="br0">&#40;</span><span class="br0">&#41;</span>;</div></li><li class="li1"><div class="de1">&nbsp;</div></li><li class="li1"><div class="de1">&nbsp; &nbsp; <span class="kw2">private</span>:</div></li><li class="li2"><div class="de2">&nbsp; &nbsp; <span class="kw4">bool</span> alive;</div></li><li class="li1"><div class="de1">&nbsp; &nbsp; <span class="kw4">unsigned</span> <span class="kw4">int</span> number;</div></li><li class="li1"><div class="de1">&nbsp;</div></li><li class="li1"><div class="de1">&nbsp; &nbsp; <span class="kw4">unsigned</span> <span class="kw4">int</span> age;</div></li><li class="li1"><div class="de1">&nbsp; &nbsp; <span class="kw4">unsigned</span> <span class="kw4">int</span> DNA<span class="br0">&#91;</span><span class="nu0">2</span><span class="br0">&#93;</span>;</div></li><li class="li2"><div class="de2">&nbsp; &nbsp; <span class="kw4">unsigned</span> <span class="kw4">int</span> causeofdeath;</div></li><li class="li1"><div class="de1">&nbsp;</div></li><li class="li1"><div class="de1">&nbsp; &nbsp; <span class="kw4">unsigned</span> <span class="kw4">int</span> kids;</div></li><li class="li1"><div class="de1">&nbsp;</div></li><li class="li1"><div class="de1">&nbsp; &nbsp; <span class="kw4">unsigned</span> <span class="kw4">int</span> deathChance;</div></li><li class="li2"><div class="de2">&nbsp;</div></li><li class="li1"><div class="de1">&nbsp; &nbsp; vector&lt;*Breeture&gt; parents;</div></li><li class="li1"><div class="de1">&nbsp; &nbsp; vector&lt;*Breeture&gt; children;</div></li><li class="li1"><div class="de1">&nbsp; &nbsp; vector&lt;*Breeture&gt; partners;</div></li><li class="li1"><div class="de1"><span class="br0">&#125;</span>;</div></li><li class="li2"><div class="de2"><span class="co2">#endif</span></div></li></ol></pre></code> </div>
<br />
World.h:<br />
<div style="margin:10px 20px 20px 20px"> <code style="margin:0px" dir="ltr" style="text-align:left"><pre class="code"><ol><li class="li1"><div class="de1"><span class="co2">#ifndef WORLDH</span></div></li><li class="li1"><div class="de1"><span class="co2">#define WORLDH</span></div></li><li class="li1"><div class="de1"><span class="co2">#include &lt;vector&gt;</span></div></li><li class="li1"><div class="de1"><span class="co2">#include &quot;Breeture.h&quot;</span></div></li><li class="li2"><div class="de2"><span class="kw2">class</span> World<span class="br0">&#123;</span></div></li><li class="li1"><div class="de1">&nbsp; &nbsp; <span class="kw2">public</span>:</div></li><li class="li1"><div class="de1">&nbsp; &nbsp; <span class="kw4">void</span> NewBreeture<span class="br0">&#40;</span><span class="kw4">const</span> Breeture *<span class="kw4">const</span> baby<span class="br0">&#41;</span>;</div></li><li class="li1"><div class="de1">&nbsp; &nbsp; <span class="kw4">void</span> BaiBreeture<span class="br0">&#40;</span><span class="kw4">const</span> Breeture *<span class="kw4">const</span> deceased<span class="br0">&#41;</span>;</div></li><li class="li1"><div class="de1">&nbsp;</div></li><li class="li2"><div class="de2">&nbsp; &nbsp; <span class="coMULTI">/*This function ages all living breetures*/</span></div></li><li class="li1"><div class="de1">&nbsp; &nbsp; <span class="kw4">void</span> AgeBreetures<span class="br0">&#40;</span><span class="br0">&#41;</span>;</div></li><li class="li1"><div class="de1">&nbsp;</div></li><li class="li1"><div class="de1">&nbsp; &nbsp; <span class="coMULTI">/*Does a death-check. World makes Breetures die.*/</span></div></li><li class="li1"><div class="de1">&nbsp; &nbsp; <span class="kw4">void</span> DeathCheck<span class="br0">&#40;</span><span class="br0">&#41;</span>;</div></li><li class="li2"><div class="de2">&nbsp;</div></li><li class="li1"><div class="de1">&nbsp; &nbsp; <span class="coMULTI">/*World also makes breetures mate.*/</span></div></li><li class="li1"><div class="de1">&nbsp; &nbsp; <span class="kw4">void</span> BirthCheck<span class="br0">&#40;</span><span class="br0">&#41;</span>;</div></li><li class="li1"><div class="de1">&nbsp;</div></li><li class="li1"><div class="de1">&nbsp; &nbsp; <span class="co1">//int StoreFamilyTree(string *location);</span></div></li><li class="li2"><div class="de2">&nbsp;</div></li><li class="li1"><div class="de1">&nbsp; &nbsp; <span class="kw2">private</span>:</div></li><li class="li1"><div class="de1">&nbsp; &nbsp; <span class="kw4">unsigned</span> <span class="kw4">int</span> worldPopulation;</div></li><li class="li1"><div class="de1">&nbsp; &nbsp; <span class="kw4">unsigned</span> <span class="kw4">int</span> totalBreetures;</div></li><li class="li1"><div class="de1">&nbsp;</div></li><li class="li2"><div class="de2">&nbsp;</div></li><li class="li1"><div class="de1">&nbsp; &nbsp; <span class="coMULTI">/* And...</span></div></li><li class="li1"><div class="de1"><span class="coMULTI">&nbsp;&nbsp; &nbsp; &nbsp; The oldest breeture</span></div></li><li class="li1"><div class="de1"><span class="coMULTI">&nbsp;&nbsp; &nbsp; &nbsp; The breeture with the most direct-offspring*/</span></div></li><li class="li1"><div class="de1">&nbsp; &nbsp; Breeture oldest;</div></li><li class="li2"><div class="de2">&nbsp; &nbsp; Breeture mostChildren;</div></li><li class="li1"><div class="de1">&nbsp;</div></li><li class="li1"><div class="de1">&nbsp; &nbsp; <span class="coMULTI">/*Holds a vector of living creatures, for speedy aging*/</span></div></li><li class="li1"><div class="de1">&nbsp; &nbsp; vector&lt;*Breeture&gt; livingBreetures;</div></li><li class="li1"><div class="de1">&nbsp;</div></li><li class="li2"><div class="de2">&nbsp; &nbsp; <span class="coMULTI">/*Holds a tree of vector describing parent/child relationships*/</span></div></li><li class="li1"><div class="de1">&nbsp; &nbsp; vector&lt;*Breeture&gt; familyTree;</div></li><li class="li1"><div class="de1">&nbsp; &nbsp; */</div></li><li class="li1"><div class="de1"><span class="br0">&#125;</span>;</div></li><li class="li1"><div class="de1"><span class="co2">#endif</span></div></li></ol></pre></code> </div>
<br />
Why doesn't World.h know about the breeture class? <br />
<br />
Thanks in advance,<br />
Nick</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum8.html">C++</category>
			<dc:creator>Clockowl</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread132951.html</guid>
		</item>
		<item>
			<title>Make EasyIn class accessible?</title>
			<link>http://www.daniweb.com/forums/thread132949.html</link>
			<pubDate>Sun, 06 Jul 2008 18:45:47 GMT</pubDate>
			<description><![CDATA[Hey all

I recently picked up the book "Java the first semester". It uses the EasyIn class to get user input. I have downloaded the file EasyIn.java but I dont know how to make the class accessible from my programs. 
---Quote---
As long as the EasyIn class is accessible you can use all the input...]]></description>
			<content:encoded><![CDATA[<div>Hey all<br />
<br />
I recently picked up the book &quot;Java the first semester&quot;. It uses the EasyIn class to get user input. I have downloaded the file EasyIn.java but I dont know how to make the class accessible from my programs. <div style="margin:20px; margin-top:5px; "> <div class="smallfont" style="margin-bottom:2px">Quote:</div> <table cellpadding="5" cellspacing="0" border="0" width="100%"> <tr> <td class="alt2"> <hr />  As long as the EasyIn class is accessible you can use all the input methods that we have defined in this class  <hr /> </td> </tr> </table> </div>
I know I have to put<br />
import EasyIn.*;<br />
at the beginning of my code but in what directory do I put the <br />
EasyIn.java <br />
file so that my program can link to it when it is compiling?<br />
<br />
Many thanks<br />
<br />
HLA91</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum9.html">Java</category>
			<dc:creator>HLA91</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread132949.html</guid>
		</item>
		<item>
			<title>Get Last Modified Filename</title>
			<link>http://www.daniweb.com/forums/thread132942.html</link>
			<pubDate>Sun, 06 Jul 2008 18:23:02 GMT</pubDate>
			<description><![CDATA[I am using this function to download files:

def download(url):
    urllib.urlretrieve(url, url.split("/")[-1])
I am downloading files from a site, but I don't know the EXACT filename... All I know is the id for them...

Example:
download("http://site.com/files/489411/")

When i am to do that, it...]]></description>
			<content:encoded><![CDATA[<div>I am using this function to download files:<br />
<br />
<div style="margin:10px 20px 20px 20px"> <code style="margin:0px" dir="ltr" style="text-align:left"><pre class="code"><ol><li class="li1"><div class="de1"><span class="kw1">def</span> download<span class="br0">&#40;</span>url<span class="br0">&#41;</span>:</div></li><li class="li1"><div class="de1">&nbsp; &nbsp; <span class="kw3">urllib</span>.<span class="me1">urlretrieve</span><span class="br0">&#40;</span>url, url.<span class="me1">split</span><span class="br0">&#40;</span><span class="st0">&quot;/&quot;</span><span class="br0">&#41;</span><span class="br0">&#91;</span><span class="nu0">-1</span><span class="br0">&#93;</span><span class="br0">&#41;</span></div></li></ol></pre></code> </div>
<br />
I am downloading files from a site, but I don't know the EXACT filename... All I know is the id for them...<br />
<br />
Example:<br />
download(&quot;http://site.com/files/489411/&quot;)<br />
<br />
When i am to do that, it automatically resolves the appropriate filename and it will download it to my current directory.<br />
<br />
It could be &quot;Magics.ext&quot;, but I don't know that, all I know is that it (should be) is the last modified file.<br />
<br />
=================================================<br />
<br />
I need a function that takes nothing and returns the last modified filename for me. It does NOT have to return the directory information with it as well (ex. C:\\shadow\z\d\file.ext).<br />
<br />
=================================================<br />
<br />
I found a way how to do what I needed!<br />
<br />
Here it is, for people with same problem:<br />
<br />
<div style="margin:10px 20px 20px 20px"> <code style="margin:0px" dir="ltr" style="text-align:left"><pre class="code"><ol><li class="li1"><div class="de1"><span class="kw1">import</span> <span class="kw3">os</span></div></li><li class="li1"><div class="de1">&nbsp;</div></li><li class="li1"><div class="de1"><span class="kw1">def</span> getlatestfile<span class="br0">&#40;</span><span class="br0">&#41;</span>:</div></li><li class="li1"><div class="de1">&nbsp; &nbsp; files = <span class="kw3">os</span>.<span class="me1">popen</span> <span class="br0">&#40;</span>r<span class="st0">&quot;dir /od /b *.*&quot;</span><span class="br0">&#41;</span>.<span class="me1">read</span> <span class="br0">&#40;</span><span class="br0">&#41;</span>.<span class="me1">splitlines</span> <span class="br0">&#40;</span><span class="br0">&#41;</span></div></li><li class="li2"><div class="de2">&nbsp; &nbsp; <span class="co1"># dir /od /a-d /b # to avoid directories</span></div></li><li class="li1"><div class="de1">&nbsp; &nbsp; <span class="kw1">return</span> files<span class="br0">&#91;</span><span class="nu0">-1</span><span class="br0">&#93;</span></div></li></ol></pre></code> </div></div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum114.html">Python</category>
			<dc:creator>Shadow14l</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread132942.html</guid>
		</item>
		<item>
			<title>Help With Game Engine!</title>
			<link>http://www.daniweb.com/forums/thread132939.html</link>
			<pubDate>Sun, 06 Jul 2008 18:15:56 GMT</pubDate>
			<description>I want to make an engine similar to Unreal (http://unreal.com) for PC, 360, And PS3. Who Wants to help?</description>
			<content:encoded><![CDATA[<div>I want to make an engine similar to <a rel="nofollow" class="t" href="http://unreal.com" target="_blank">Unreal</a> for PC, 360, And PS3. Who Wants to help?</div>  <br /> <div style="padding:5px">    <fieldset class="fieldset"> <legend>Attached Images</legend> <table cellpadding="0" cellspacing="5" border="0"> <tr> <td><img class="inlineimg" src="http://www.daniweb.com/forums//forums/myimages/attach/bmp.gif" alt="File Type: bmp" width="16" height="16" border="0" style="vertical-align:baseline" /></td> <td><a href="http://www.daniweb.com/forums/attachment.php?attachmentid=6535&amp;d=1215368193" class="thickbox" title="elf.bmp" rel="attach641681">elf.bmp</a> (38.7 KB)</td> </tr> </table> </fieldset>   </div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum71.html">Game Development</category>
			<dc:creator>camthalion95</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread132939.html</guid>
			<enclosure url="http://www.daniweb.com/forums/attachment.php/6535/elf.bmp" length="39606" type="image/bmp" />
		</item>
		<item>
			<title>cxGrid row colour Change</title>
			<link>http://www.daniweb.com/forums/thread132934.html</link>
			<pubDate>Sun, 06 Jul 2008 18:00:22 GMT</pubDate>
			<description><![CDATA[Good day

I'd like to find out how to change the color of a row on a page startup in Delphi 7 pro with an Express Quantum grid 6

What i am trying to achieve is this

if Quantity in stock = >10 row color should be green...
if Quantity in stock = <10 and >5 row color should be Yellow...
if Quantity...]]></description>
			<content:encoded><![CDATA[<div>Good day<br />
<br />
I'd like to find out how to change the color of a row on a page startup in Delphi 7 pro with an Express Quantum grid 6<br />
<br />
What i am trying to achieve is this<br />
<br />
if Quantity in stock = &gt;10 row color should be green...<br />
if Quantity in stock = &lt;10 and &gt;5 row color should be Yellow...<br />
if Quantity in stock = &gt;5 row color should be Red..<br />
<br />
Any help would be appreciated</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum124.html">Pascal and Delphi</category>
			<dc:creator>cVz</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread132934.html</guid>
		</item>
		<item>
			<title>Need Your help please</title>
			<link>http://www.daniweb.com/forums/thread132933.html</link>
			<pubDate>Sun, 06 Jul 2008 17:56:36 GMT</pubDate>
			<description><![CDATA[Hai,
Iam designing a software which includes invoicing, as iam new to c# (Or Software Development), i dont know how to design an invoice specially the table view which we use to enter products and rates etc.  I dont know what to do.  I saw many commercial software's invoices with professional look...]]></description>
			<content:encoded><![CDATA[<div>Hai,<br />
Iam designing a software which includes invoicing, as iam new to c# (Or Software Development), i dont know how to design an invoice specially the table view which we use to enter products and rates etc.  I dont know what to do.  I saw many commercial software's invoices with professional look for entering data's.  Is it possible to do that in c# or how.  Please help i need to complete my project soon because this is my first project.<br />
<br />
By<br />
Sharravanan</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum61.html">C#</category>
			<dc:creator>sharravanan</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread132933.html</guid>
		</item>
		<item>
			<title>Python memory limitations in Windows</title>
			<link>http://www.daniweb.com/forums/thread132923.html</link>
			<pubDate>Sun, 06 Jul 2008 16:40:03 GMT</pubDate>
			<description>Hello I have written code using python and C extensions which performs object detection on 3D data sets. The code was originally developed under Linux and has since been used under Windows XP where I continuously get MemoryError crashes when assembling a list of 78566400 integers. There is nothing...</description>
			<content:encoded><![CDATA[<div>Hello I have written code using python and C extensions which performs object detection on 3D data sets. The code was originally developed under Linux and has since been used under Windows XP where I continuously get MemoryError crashes when assembling a list of 78566400 integers. There is nothing wrong with the code since it runs perfectly under Linux with the exception of using 75% of the available 3.5 Gb of memory. When we get the memory error crash in windows there is still roughly 1.5GB of available memory. My only guess is that Windows will not let a program consume huge amounts of memory??<br />
<br />
Any thoughts/suggestions are appreciated.</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum114.html">Python</category>
			<dc:creator>arkane</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread132923.html</guid>
		</item>
		<item>
			<title>refreshing datagrid contents</title>
			<link>http://www.daniweb.com/forums/thread132919.html</link>
			<pubDate>Sun, 06 Jul 2008 16:13:57 GMT</pubDate>
			<description><![CDATA[I'm trying to update/refresh my data grid but it doesn't seem to update whenever there's a new entry. I've search the net about it and they were talking about databind(). I can't seem to have that in my datagrid. My intellisense only shows DataBindings not databind(). here's my code (when button is...]]></description>
			<content:encoded><![CDATA[<div>I'm trying to update/refresh my data grid but it doesn't seem to update whenever there's a new entry. I've search the net about it and they were talking about databind(). I can't seem to have that in my datagrid. My intellisense only shows DataBindings not databind(). here's my code (when button is clicked):<br />
<br />
            <div style="margin:10px 20px 20px 20px"> <code style="margin:0px" dir="ltr" style="text-align:left">dataGridRecords.DataSource = null;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; dataGridAlarm.DataSource = null;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; dataGridViolations.DataSource = null;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; dataGridDriverInf.DataSource = null;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; dataGridRecords.DataSource = dbc.ds.Tables[&quot;Records&quot;].DefaultView;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; dataGridViolations.DataSource = dbc.ds.Tables[&quot;Violations&quot;].DefaultView;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; dataGridDriverInf.DataSource = dbc.ds.Tables[&quot;DriverInfo&quot;].DefaultView;</code> </div>
<br />
then i also tried this (i've also tried refresh(),refreshedit()):<br />
<br />
            <div style="margin:10px 20px 20px 20px"> <code style="margin:0px" dir="ltr" style="text-align:left">dataGridRecords.DataSource = null;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; dataGridAlarm.DataSource = null;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; dataGridViolations.DataSource = null;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; dataGridDriverInf.DataSource = null;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; dataGridRecords.Update();<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; dataGridViolations.Update();<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; dataGridDriverInf.Update();<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; dataGridRecords.DataSource = dbc.ds.Tables[&quot;Records&quot;].DefaultView;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; dataGridViolations.DataSource = dbc.ds.Tables[&quot;Violations&quot;].DefaultView;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; dataGridDriverInf.DataSource = dbc.ds.Tables[&quot;DriverInfo&quot;].DefaultView;</code> </div>
<br />
can anyone tell me how to get this right? it's not updating.</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum61.html">C#</category>
			<dc:creator>harcaype</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread132919.html</guid>
		</item>
		<item>
			<title>Function</title>
			<link>http://www.daniweb.com/forums/thread132916.html</link>
			<pubDate>Sun, 06 Jul 2008 15:17:06 GMT</pubDate>
			<description>I have an assignment for my class that asks to modify my previous assignment to include a function for both A and B. The function for A should have the quantity of numbers passed in as a parameter and needs to return the largest number. The function for B should have no parameters and return the...</description>
			<content:encoded><![CDATA[<div>I have an assignment for my class that asks to modify my previous assignment to include a function for both A and B. The function for A should have the quantity of numbers passed in as a parameter and needs to return the largest number. The function for B should have no parameters and return the smallest number.<br />
<br />
Here is some pseudo-code for your greatest function: <br />
<div style="margin:10px 20px 20px 20px"> <code style="margin:0px" dir="ltr" style="text-align:left">int Greatest(int count) <br />
{<br />
// Initialize final result variable to largest number possible<br />
//<br />
// start a loop, increment from 0 to count <br />
// Read next number<br />
// Compare number to final result variable<br />
// if number is greater than final result variable, then<br />
// store in final result variable<br />
// end of loop<br />
// return final result<br />
}// end of function greatest<br />
<br />
//Here is what I have so far. The application seems to run well without the Void function. I am new to programming, and I am finding it difficult to handle this assignment. I am looking for a clear path of explanation in order to learn.<br />
<br />
#include &lt;iostream&gt;<br />
using namespace std; <br />
void smallest();<br />
int main ()<br />
<br />
{ <br />
char choice;<br />
int quantity;<br />
int num1;<br />
int num2;<br />
int largest;<br />
int smallest;<br />
double larger(double x, double y);<br />
double smaller(double x, double y); <br />
do <br />
{ <br />
cout&lt;&lt;&quot;Please choose one of the following options&quot;&lt;&lt;endl;<br />
cout&lt;&lt;&quot;A - Find the largest number within a known quatity of numbers&quot;&lt;&lt;endl;<br />
cout&lt;&lt;&quot;B - Find the smallest number within an unknown quantity of numbers&quot;&lt;&lt;endl;<br />
cout&lt;&lt;&quot;C - Quit&quot;&lt;&lt;endl;<br />
cout&lt;&lt;&quot;Please enter your choice: &quot;;<br />
cin&gt;&gt;choice;<br />
cout&lt;&lt;endl;<br />
switch (choice)<br />
{<br />
case'a':<br />
case 'A': <br />
//gave both lower case and capital 'a' to allow for user freedom of choice<br />
cout&lt;&lt;&quot;A - find the largest number within a known quatity of numbers&quot;&lt;&lt;endl;<br />
cout&lt;&lt;&quot;How many numbers would you like to use? &quot;;<br />
cin&gt;&gt;quantity;<br />
for(quantity;quantity &gt; 0; quantity--)<br />
{<br />
cout&lt;&lt;&quot;Please enter a number: &quot;;<br />
cin&gt;&gt;largest;<br />
cout&lt;&lt;endl;<br />
for(quantity;quantity &gt; 1; quantity--)<br />
{<br />
cout&lt;&lt;&quot;Please enter a number: &quot;;<br />
cin&gt;&gt;num1;<br />
cout&lt;&lt;endl;<br />
if(largest&lt;=num1)<br />
largest=num1;<br />
}<br />
}<br />
cout&lt;&lt;&quot;The largest number entered is (&quot;&lt;&lt;largest&lt;&lt;&quot;)&quot;&lt;&lt;endl; <br />
break;<br />
case 'b':<br />
case 'B':<br />
//gave both lower case and capital 'b' to allow for user freedom of choice<br />
cout&lt;&lt;&quot;B - Find the smallest number within an unknown quantity of numbers&quot; &lt;&lt;endl;<br />
cout&lt;&lt;&quot;Enter your first number: &quot;;<br />
cin&gt;&gt;num2;<br />
cout&lt;&lt;endl;<br />
smallest=num2;<br />
cout&lt;&lt;&quot;To get result and return to main menu enter (-999) for your number&quot; &lt;&lt;endl;<br />
//used sentinel to allow user to initiate close of process<br />
while (num2 !=-999)<br />
{<br />
cout&lt;&lt;&quot;Please enter another number: &quot;;<br />
cin&gt;&gt;num2;<br />
cout&lt;&lt;endl;<br />
if (num2 != -999)<br />
if (num2&lt;smallest)<br />
smallest=num2;<br />
}//keeps prompting until sentinel is input<br />
cout&lt;&lt;&quot;The smallest number you entered is: (&quot; &lt;&lt;smallest&lt;&lt;&quot;)&quot;&lt;&lt;endl;<br />
break; <br />
case'c':<br />
case'C':<br />
//gave both lower case and capital 'c' to allow for user freedom of choice<br />
exit('c');<br />
default:<br />
cout&lt;&lt;&quot;The letter you entered is not valid&quot;&lt;&lt;endl;<br />
//this works well in case of user input error during the menu. <br />
//Does not help with user input error during the different parts of application.<br />
}<br />
if (choice == 'b')<br />
{<br />
cout &lt;&lt; &quot;Enter quantity of numbers: &quot;;<br />
cin &gt;&gt; quantity;<br />
count = quantity;<br />
larger (quantity);<br />
} if (choice == 'b')<br />
<br />
{<br />
cout &lt;&lt; &quot;Enter quantity of numbers: &quot;;<br />
cin &gt;&gt; qty;<br />
count = qty;<br />
larger (qty);<br />
}<br />
}<br />
while(choice !='c');<br />
//end of do while loop <br />
return 0;<br />
}<br />
<br />
double largest (double x, double y)<br />
<br />
{<br />
double max = x;<br />
if ( y &gt; max)<br />
max = y;<br />
return max;<br />
}<br />
void smallest()<br />
{<br />
int smallest(int quantity); <br />
for (count = 1; count &gt; qty; count++)<br />
{<br />
cout &lt;&lt; &quot;Enter &quot; &lt;&lt; qty &lt;&lt; &quot; numbers: &quot;;<br />
cin &gt;&gt; num2;<br />
max = smallet(min, num2);<br />
done = false;<br />
}<br />
cout &lt;&lt; &quot;The largest number is: &quot; &lt;&lt; min;<br />
}void smallest()</code> </div></div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum8.html">C++</category>
			<dc:creator>swingkitty</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread132916.html</guid>
		</item>
		<item>
			<title>Chat System</title>
			<link>http://www.daniweb.com/forums/thread132912.html</link>
			<pubDate>Sun, 06 Jul 2008 14:19:47 GMT</pubDate>
			<description>Hello everyone!!! I just want to ask if is it possible to create a chat program that send and receive message, audio and video for Local Area Network... 

    I want to create a program similar to yahoo messenger that includes the future of voice and video but the difference is I am doing this...</description>
			<content:encoded><![CDATA[<div>Hello everyone!!! I just want to ask if is it possible to create a chat program that send and receive message, audio and video for Local Area Network... <br />
<br />
    I want to create a program similar to yahoo messenger that includes the future of voice and video but the difference is I am doing this program for Local Area Network,,,<br />
 <br />
                Is this possible? If yes, please help me how to do it or give me some sites where i can learn ..<br />
     Thank you very much....</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum8.html">C++</category>
			<dc:creator>jk_bscomp</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread132912.html</guid>
		</item>
		<item>
			<title>Project help</title>
			<link>http://www.daniweb.com/forums/thread132909.html</link>
			<pubDate>Sun, 06 Jul 2008 14:13:36 GMT</pubDate>
			<description>*generate a 5-day timetable for a school (multiple classsrooms)
be able to assign students to specific courses to certain rooms/teachers at a specific time interval (without clashing with other classes)
it must use a database as a medium (ODBC)

this is a project that i need some drastic help in...</description>
			<content:encoded><![CDATA[<div><b>generate a 5-day timetable for a school (multiple classsrooms)<br />
be able to assign students to specific courses to certain rooms/teachers at a specific time interval (without clashing with other classes)<br />
it must use a database as a medium (ODBC)<br />
<br />
this is a project that i need some drastic help in it's due on the 23rd of july...<br />
<br />
Kindly assist</b><br />
<br />
Any solutions can be sent to this email addy  &lt;email snipped&gt;</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum9.html">Java</category>
			<dc:creator>roshantheman</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread132909.html</guid>
		</item>
		<item>
			<title>Java newb w/ code problem</title>
			<link>http://www.daniweb.com/forums/thread132902.html</link>
			<pubDate>Sun, 06 Jul 2008 13:13:37 GMT</pubDate>
			<description><![CDATA[Hi everyone !

This is my first new post, I have a problem with my Java code. I am trying to make a first applet, and have gotten this code from a book, "Java - An Introduction To Problem Solving & Programming", by Walter Savitch and Frank Carrano :

 <div class="codeblock"> <div class="spaced">...]]></description>
			<content:encoded><![CDATA[<div>Hi everyone !<br />
<br />
This is my first new post, I have a problem with my Java code. I am trying to make a first applet, and have gotten this code from a book, &quot;Java - An Introduction To Problem Solving &amp; Programming&quot;, by Walter Savitch and Frank Carrano :<br />
<br />
<div style="margin:10px 20px 20px 20px"> <code style="margin:0px" dir="ltr" style="text-align:left"><br />
<br />
import javax.swing.JApplet;<br />
import java.awt.Graphics;<br />
public class HappyFace extends JApplet<br />
{<br />
&nbsp; &nbsp; &nbsp; public void paint(Graphics canvas)<br />
&nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; canvas.drawOval(100, 50, 200, 200);<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; canvas.fillOval(155, 100, 10, 20);<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; canvas.fillOval(230, 100, 10, 20);<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; canvas.drawArc(150, 160, 100, 50, 180, 180);<br />
&nbsp; &nbsp; &nbsp;  }<br />
}<br />
<br />
<br />
</code> </div>
<br />
Any ideas why I keep getting an error message coming from NetBeans 5.5.1 that it can't find &quot;HappyFacemain.class&quot; ? Thanks in advance !<br />
<br />
-dtfan6</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum9.html">Java</category>
			<dc:creator>dtfan6</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread132902.html</guid>
		</item>
		<item>
			<title>Enum vlues into Combo</title>
			<link>http://www.daniweb.com/forums/thread132900.html</link>
			<pubDate>Sun, 06 Jul 2008 13:12:04 GMT</pubDate>
			<description><![CDATA[Hi,
Code below retrieves some of the enum values, not all. 
Why?
Thanks

 <div class="codeblock"> <div class="spaced"> <div class="light" style="float:right"> <a href="/forums/misc.php?do=explaincode&amp;TB_iframe=true&amp;height=400&amp;width=680" class="thickbox" title="Help with Code Tags"...]]></description>
			<content:encoded><![CDATA[<div>Hi,<br />
Code below retrieves some of the enum values, not all. <br />
Why?<br />
Thanks<br />
<br />
<div style="margin:10px 20px 20px 20px"> <code style="margin:0px" dir="ltr" style="text-align:left">Dim RST As New ADODB.RecordSet<br />
Combo1.Clear<br />
RST.Open &quot;Select Distinct Title From MyTable&quot;,Conn<br />
If Not RST.EOF&nbsp; Then&nbsp; &nbsp; <br />
RST.MoveFirst&nbsp;  <br />
Do While Not RST.EOF<br />
&nbsp; &nbsp; &nbsp;  Combo1.AddItem RST(0) &amp; &quot;&quot;<br />
&nbsp; &nbsp; &nbsp;  RST.MoveNext<br />
&nbsp;  Loop<br />
End If</code> </div></div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum4.html">Visual Basic 4 / 5 / 6</category>
			<dc:creator>veledrom</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread132900.html</guid>
		</item>
	</channel>
</rss>
