<?xml version="1.0" encoding="utf-8" ?><?xml-stylesheet type="text/xsl" href="http://www.daniweb.com/js/rss.xsl"?><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
								</title>
		<link>http://www.daniweb.com/</link>
		<description>Online discussion community for IT professionals and enthusiasts. Technology publication meets social media.</description>
		<language>en-US</language>
		<ttl>60</ttl>
		<!-- PubSubHubbub Discovery -->
		<link rel="hub" href="http://daniweb.superfeedr.com/" xmlns="http://www.w3.org/2005/Atom" />
		<link rel="hub" href="http://pubsubhubbub.superfeedr.com/" xmlns="http://www.w3.org/2005/Atom" />
		<link rel="hub" href="http://pubsubhubbub.appspot.com/" xmlns="http://www.w3.org/2005/Atom" />
		<link rel="self" href="http://www.daniweb.com/rss/pull" xmlns="http://www.w3.org/2005/Atom" />
		<!-- End Of PubSubHubbub Discovery -->
				<item>
			<title>mido2013</title>
			<link>http://www.daniweb.com/community-center/threads/457089/mido2013</link>
			<pubDate>Thu, 20 Jun 2013 12:01:39 +0000</pubDate>
			<description>hello iam new here</description>
			<content:encoded><![CDATA[ <p>hello<br />
iam new here</p>
 ]]></content:encoded>
			<category domain="http://www.daniweb.com/community-center/3">Community Center</category>
			<dc:creator>nono2020</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/community-center/threads/457089/mido2013</guid>
		</item>
				<item>
			<title>progress bar appears multiple times</title>
			<link>http://www.daniweb.com/software-development/csharp/threads/457088/progress-bar-appears-multiple-times</link>
			<pubDate>Thu, 20 Jun 2013 11:53:55 +0000</pubDate>
			<description># I have windows form application written in c#. In this i have statusscript with a label and progressbar. When my code enters recurscive code, i get multiple instances of progressbar. I am using marquee style for progressbar. Progressbar.Visible = true; Progressbar.Style = ProgressBarStyle.Marquee #Do something Progressbar.visible=false</description>
			<content:encoded><![CDATA[ <h1>I have windows form application written in c#. In this i have statusscript with a label and progressbar. When my code enters recurscive code, i get multiple instances of progressbar. I am using marquee style for progressbar.</h1>

<pre><code class="language-cs">Progressbar.Visible = true;
Progressbar.Style = ProgressBarStyle.Marquee

#Do something        

Progressbar.visible=false
</code></pre>
 ]]></content:encoded>
			<category domain="http://www.daniweb.com/software-development/csharp/61">C#</category>
			<dc:creator>shyam47</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/software-development/csharp/threads/457088/progress-bar-appears-multiple-times</guid>
		</item>
				<item>
			<title>Reverse ssh tunnel using Cygwin and Linux</title>
			<link>http://www.daniweb.com/hardware-and-software/linux-and-unix/threads/457087/reverse-ssh-tunnel-using-cygwin-and-linux</link>
			<pubDate>Thu, 20 Jun 2013 11:50:54 +0000</pubDate>
			<description>Hi everyone! I am trying to set up a reverse ssh tunnel from a windows machine using Cygwin (openssh) , to a Linux server machine with static ip, so i can access the windows pc directly through the server from any other machine. My ultimate goal is to be able ...</description>
			<content:encoded><![CDATA[ <p>Hi everyone!<br />
I am trying to set up a reverse ssh tunnel from a windows machine using Cygwin (openssh) , to a Linux server machine with static ip, so i can access the windows pc directly through the server from any other machine.<br />
My ultimate goal is to be able to connect through remote desktop (rdp) to the windows pc from any other pc through the ubuntu server.</p>

<p>I managed to take the first step which is setup a ssh server in cygwin and to open a reverse ssh tunnel from windows pc to the server using the following command in cygwin :</p>

<pre><code>ssh -nNT -R server-ip:5000:localhost:22 username@server-ip
</code></pre>

<p>So with tunnel running i can connect from any other pc to the windows pc with the following two steps:<br />
1) connect to the linux server</p>

<pre><code>ssh username@server-ip
</code></pre>

<p>2) connect to the windows pc using the tunnel created earlier</p>

<pre><code>ssh username@localhost -p 5000
</code></pre>

<p>My first question is this :<br />
Why can't i use directly the following command from any PC to connect directly to the tunnel:</p>

<pre><code>ssh username@server-ip -p 5000
ssh: connect to host server-ip port 5000: Connection refused
</code></pre>

<p>Is there anyway to set this up?</p>

<p>Secondly, if i manage to do this, is there a way to forward rdp port so i can connect directly from any pc to the windows client using remote desktop protocol?<br />
Using something like :</p>

<pre><code>ssh -L 3390:localhost:3389 username@server-ip
</code></pre>

<p>Thanks in advance.</p>
 ]]></content:encoded>
			<category domain="http://www.daniweb.com/hardware-and-software/linux-and-unix/12">Linux and Unix</category>
			<dc:creator>ktsangop</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/hardware-and-software/linux-and-unix/threads/457087/reverse-ssh-tunnel-using-cygwin-and-linux</guid>
		</item>
				<item>
			<title>What is HTML5 ?</title>
			<link>http://www.daniweb.com/web-development/web-design-html-and-css/threads/457086/what-is-html5-</link>
			<pubDate>Thu, 20 Jun 2013 11:50:17 +0000</pubDate>
			<description>Hello Guys, Do you know, what is HTML-5? if Yes, then please share your knowledge about html5. Thanks.</description>
			<content:encoded><![CDATA[ <p>Hello Guys, Do you know, what is HTML-5? if Yes, then please share your knowledge about html5. Thanks.</p>
 ]]></content:encoded>
			<category domain="http://www.daniweb.com/web-development/web-design-html-and-css/15">Web Design, HTML and CSS</category>
			<dc:creator>carmen100</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/web-development/web-design-html-and-css/threads/457086/what-is-html5-</guid>
		</item>
				<item>
			<title>Regarding Article Submission as Guest.</title>
			<link>http://www.daniweb.com/internet-marketing/promotion-and-marketing-plans/threads/457085/regarding-article-submission-as-guest</link>
			<pubDate>Thu, 20 Jun 2013 11:40:06 +0000</pubDate>
			<description>Hello, We are making a plan for Article submission but first i want to confirm with Audiance. Which type of article submission is good for website? As a guest on like these type of website http://www.techmagz.com/essentials-of-a-web-development-company/ rather than other some free submission website. If we submitted our one article one ...</description>
			<content:encoded><![CDATA[ <p>Hello,</p>

<p>We are making a plan for Article submission but first i want to confirm with Audiance. Which type of article submission is good for website? As a guest on like these type of website <a href="http://www.techmagz.com/essentials-of-a-web-development-company/" rel="nofollow">http://www.techmagz.com/essentials-of-a-web-development-company/</a> rather than other some free submission website.</p>

<p>If we submitted our one article one time at one website so out next article should be submitt there? but we got one time back link form our submitted website.</p>

<p>Regards,<br />
Mackel</p>
 ]]></content:encoded>
			<category domain="http://www.daniweb.com/internet-marketing/promotion-and-marketing-plans/43">Promotion and Marketing Plans</category>
			<dc:creator>davidkroj</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/internet-marketing/promotion-and-marketing-plans/threads/457085/regarding-article-submission-as-guest</guid>
		</item>
				<item>
			<title>How to give accesskey to WebDataMenu controlof infragestics.</title>
			<link>http://www.daniweb.com/web-development/aspnet/threads/457084/how-to-give-accesskey-to-webdatamenu-controlof-infragestics</link>
			<pubDate>Thu, 20 Jun 2013 11:38:11 +0000</pubDate>
			<description>Is there a way to setup Access Keys in the WebDataMenu like we could in the UltraWebMenu? Any help would be appreciated in advance.</description>
			<content:encoded><![CDATA[ <p>Is there a way to setup Access Keys in the WebDataMenu like we could in the UltraWebMenu?</p>

<p>Any help would be appreciated in advance.</p>
 ]]></content:encoded>
			<category domain="http://www.daniweb.com/web-development/aspnet/18">ASP.NET</category>
			<dc:creator>Ankur_tces</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/web-development/aspnet/threads/457084/how-to-give-accesskey-to-webdatamenu-controlof-infragestics</guid>
		</item>
				<item>
			<title>JMenu and JPopupMenu</title>
			<link>http://www.daniweb.com/software-development/java/threads/457083/jmenu-and-jpopupmenu</link>
			<pubDate>Thu, 20 Jun 2013 11:35:15 +0000</pubDate>
			<description>Hi everyone, I'm dealing with both JMenu and JPopupMenu in a program. Looks good except when I switch from JMenu to JPopupMenu by right click, it doesnt work. How? Many thanks.</description>
			<content:encoded><![CDATA[ <p>Hi everyone, I'm dealing with both JMenu and JPopupMenu in a program. Looks good except when I switch from JMenu to JPopupMenu by right click, it doesnt work. How? Many thanks.</p>
 ]]></content:encoded>
			<category domain="http://www.daniweb.com/software-development/java/9">Java</category>
			<dc:creator>Petranilla</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/software-development/java/threads/457083/jmenu-and-jpopupmenu</guid>
		</item>
				<item>
			<title>How can data saved in iPhone can be secured?</title>
			<link>http://www.daniweb.com/hardware-and-software/apple/ios-iphone-os/threads/457082/how-can-data-saved-in-iphone-can-be-secured</link>
			<pubDate>Thu, 20 Jun 2013 11:19:51 +0000</pubDate>
			<description>iPhone is not the safest of the devices but certainly one of the most used devices. In the modern era smartphones are also used as a mobile data backup. As these phone can perform almost like a computer, many of the important folders are saved in iPhone. As research suggest ...</description>
			<content:encoded><![CDATA[ <p>iPhone is not the safest of the devices but certainly one of the most used devices. In the modern era smartphones are also used as a mobile data backup. As these phone can perform almost like a computer, many of the important folders are saved in iPhone. As research suggest iPhone is one of the basic sources of data loss. How can that data can be secured? Any suggestions?</p>
 ]]></content:encoded>
			<category domain="http://www.daniweb.com/hardware-and-software/apple/ios-iphone-os/101">iOS (iPhone OS)</category>
			<dc:creator>adamhmiles</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/hardware-and-software/apple/ios-iphone-os/threads/457082/how-can-data-saved-in-iphone-can-be-secured</guid>
		</item>
				<item>
			<title>Details of all cpu specificatin on network</title>
			<link>http://www.daniweb.com/hardware-and-software/networking/threads/457081/details-of-all-cpu-specificatin-on-network</link>
			<pubDate>Thu, 20 Jun 2013 11:09:26 +0000</pubDate>
			<description>Hey, I have more than 250 cpu's on network. It is too hard for me to go one by one to everyone for checking and noting the specifications of cpu on my network. How can i know all the details of cpu's which are action/on via network? any software?</description>
			<content:encoded><![CDATA[ <p>Hey,<br />
I have more than 250 cpu's on network. It is too hard for me to go one by one to everyone for checking and noting the specifications of cpu on my network.<br />
How can i know all the details of cpu's which are action/on via network?<br />
any software?</p>
 ]]></content:encoded>
			<category domain="http://www.daniweb.com/hardware-and-software/networking/13">Networking</category>
			<dc:creator>khushhappy</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/hardware-and-software/networking/threads/457081/details-of-all-cpu-specificatin-on-network</guid>
		</item>
				<item>
			<title>Put a DIV class in the middle using css</title>
			<link>http://www.daniweb.com/web-development/web-design-html-and-css/threads/457080/put-a-div-class-in-the-middle-using-css</link>
			<pubDate>Thu, 20 Jun 2013 10:57:41 +0000</pubDate>
			<description>Hello everyone, having some CSS related problem for layout issues. firstly see this screenshot: http://i.stack.imgur.com/nmw69.png Here i have used css like this: .description{font-weight:italic;} .image{float:right;} but what i want to do is to display `description` in the middle. Like this: http://i.stack.imgur.com/aX2B1.png can you tell me the css,, to postion `description` class ...</description>
			<content:encoded><![CDATA[ <p>Hello everyone, having some CSS related problem for layout issues.<br />
firstly see this screenshot: <a href="http://i.stack.imgur.com/nmw69.png" rel="nofollow">http://i.stack.imgur.com/nmw69.png</a><br />
Here i have used css like this:</p>

<pre><code class="language-xhtml">.description{font-weight:italic;}
.image{float:right;}
</code></pre>

<p>but what i want to do is to display <code>description</code> in the middle. Like this: <a href="http://i.stack.imgur.com/aX2B1.png" rel="nofollow">http://i.stack.imgur.com/aX2B1.png</a><br />
can you tell me the css,, to postion <code>description</code> class div in the middle like the second image. Thanks</p>
 ]]></content:encoded>
			<category domain="http://www.daniweb.com/web-development/web-design-html-and-css/15">Web Design, HTML and CSS</category>
			<dc:creator>rakibtg</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/web-development/web-design-html-and-css/threads/457080/put-a-div-class-in-the-middle-using-css</guid>
		</item>
				<item>
			<title>Do we only Focus on Name, Icon and Gaining Ratings of Mobile App.?</title>
			<link>http://www.daniweb.com/internet-marketing/threads/457079/do-we-only-focus-on-name-icon-and-gaining-ratings-of-mobile-app</link>
			<pubDate>Thu, 20 Jun 2013 10:53:31 +0000</pubDate>
			<description>Recently I have read an article that how to maximize chance to be famous by spending special care on your app name, icon and gaining ratings to stand out from the crowd. Its that really true that we just need to focus on only Name, Icon and Gaining Ratings of ...</description>
			<content:encoded><![CDATA[ <p>Recently I have read an article that how to maximize chance to be famous by spending special care on your app name, icon and gaining ratings to stand out from the crowd. Its that really true that we just need to focus on only Name, Icon and Gaining Ratings of Mobile App.?</p>
 ]]></content:encoded>
			<category domain="http://www.daniweb.com/internet-marketing/25">Internet Marketing</category>
			<dc:creator>edwardstandley</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/internet-marketing/threads/457079/do-we-only-focus-on-name-icon-and-gaining-ratings-of-mobile-app</guid>
		</item>
				<item>
			<title>Give me solution for this error..</title>
			<link>http://www.daniweb.com/hardware-and-software/microsoft-windows/threads/457078/give-me-solution-for-this-error</link>
			<pubDate>Thu, 20 Jun 2013 10:27:22 +0000</pubDate>
			<description>Hi Am using windows 7 ultimate..for every 15 to 20 minutes it hangs and show like this &quot;Device driver stooped stopped and recovered successfully&quot; Can anyone tell me why this happens??Its because of virus but i have installed panda antivirus and updating it regularly..please i have recover this problem please ...</description>
			<content:encoded><![CDATA[ <p>Hi<br />
Am using windows 7 ultimate..for every 15 to 20 minutes it hangs and show like this</p>

<p>"Device driver stooped stopped and recovered successfully"</p>

<p>Can anyone tell me why this happens??Its because of virus but i have installed panda antivirus and updating it regularly..please i have recover this problem please anyone help me..</p>
 ]]></content:encoded>
			<category domain="http://www.daniweb.com/hardware-and-software/microsoft-windows/99">Microsoft Windows</category>
			<dc:creator>Meir David</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/hardware-and-software/microsoft-windows/threads/457078/give-me-solution-for-this-error</guid>
		</item>
				<item>
			<title>Please tell me the benifits of link building strategy through infographics</title>
			<link>http://www.daniweb.com/internet-marketing/threads/457076/please-tell-me-the-benifits-of-link-building-strategy-through-infographics</link>
			<pubDate>Thu, 20 Jun 2013 09:59:07 +0000</pubDate>
			<description>Before our company invest money on infographic , I want to understand effectiveness of this link building strategy. Can you provide me some successful case studies regarding infographic so that i can easily convince our company boss. http://www.marketingtechblog.com/infographic-penguin-2-0-and-how-to-stay-on-googles-good-side/</description>
			<content:encoded><![CDATA[ <p>Before our company invest money on infographic , I want to understand effectiveness of this link building strategy. Can you provide me some successful case studies regarding infographic so that i can easily convince our company boss. <a href="http://www.marketingtechblog.com/infographic-penguin-2-0-and-how-to-stay-on-googles-good-side/" rel="nofollow">http://www.marketingtechblog.com/infographic-penguin-2-0-and-how-to-stay-on-googles-good-side/</a></p>
 ]]></content:encoded>
			<category domain="http://www.daniweb.com/internet-marketing/25">Internet Marketing</category>
			<dc:creator>thomasbruce</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/internet-marketing/threads/457076/please-tell-me-the-benifits-of-link-building-strategy-through-infographics</guid>
		</item>
				<item>
			<title>excel automation using vb6</title>
			<link>http://www.daniweb.com/software-development/visual-basic-4-5-6/threads/457072/excel-automation-using-vb6</link>
			<pubDate>Thu, 20 Jun 2013 09:43:05 +0000</pubDate>
			<description>I am trying to compare one column of an excel sheet with the database table.If the value in the column matches with the data in the table,the excel has to be populated with another value in the table in a new column.If match is not found the value in the ...</description>
			<content:encoded><![CDATA[ <p>I am trying to compare one column of an excel sheet with the database table.If the value in the column matches  with  the data in the table,the excel has to be populated with another value in the table in a new column.If match is not found the value in the new column should be kept as "X".<br />
Dim i As Integer<br />
i = 1<br />
datafile = "database.accdb"<br />
With cn<br />
.Provider = "microsoft.ACE.OLEDB.12.0"<br />
.ConnectionString = datafile<br />
End With<br />
cn.Open</p>

<p>Dim oXL As Object<br />
Set oXL = CreateObject("Excel.Application")<br />
Dim oBook As Object</p>

<p>Set oBook = oXL.Workbooks<br />
Dim oSheet As Object<br />
'Set oSheet = oXL.Worksheets(1)<br />
Dim vValue As Variant</p>

<p>Set oBook = oXL.Workbooks.Open("C:\s.xlsx")<br />
Set oSheet = oBook.Worksheets("Sheet1")</p>

<p>Do Until (i &gt;= 5)</p>

<p>vValue = oSheet.Cells(i, 5).Value<br />
MsgBox vValue</p>

<p>Set rs = cn.Execute("select * from table where ID = vValue ")</p>

<p>If (rs.EOF = False) Then<br />
oSheet.Cells(i, 5).Value = rs!field<br />
Else<br />
oSheet.Cells(i, 5).Value = "X"<br />
End If</p>

<p>rs.Close</p>

<p>i = i + 1</p>

<p>Loop<br />
end sub</p>
 ]]></content:encoded>
			<category domain="http://www.daniweb.com/software-development/visual-basic-4-5-6/4">Visual Basic 4 / 5 / 6</category>
			<dc:creator>ponnu</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/software-development/visual-basic-4-5-6/threads/457072/excel-automation-using-vb6</guid>
		</item>
				<item>
			<title>s3 problem</title>
			<link>http://www.daniweb.com/software-development/mobile-development/threads/457071/s3-problem</link>
			<pubDate>Thu, 20 Jun 2013 09:40:25 +0000</pubDate>
			<description>hi all i have s3 and i cannot open it because i think during the update the battery was died know i want to open the recovery mode i press the volume down and home and power but it does not open</description>
			<content:encoded><![CDATA[ <p>hi all<br />
i have s3 and i cannot open it because i think during the update the battery was died know i want to open the recovery mode i press the volume down and home and power but it does not open</p>
 ]]></content:encoded>
			<category domain="http://www.daniweb.com/software-development/mobile-development/181">Mobile Development</category>
			<dc:creator>lena1990</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/software-development/mobile-development/threads/457071/s3-problem</guid>
		</item>
				<item>
			<title>how can we create sitemap</title>
			<link>http://www.daniweb.com/internet-marketing/search-engine-optimization/threads/457070/how-can-we-create-sitemap</link>
			<pubDate>Thu, 20 Jun 2013 09:34:53 +0000</pubDate>
			<description>Hi how can we create sitemap and what is the importance of sitemap in SEO?</description>
			<content:encoded><![CDATA[ <p>Hi<br />
         how can we create sitemap and what is the importance of sitemap in SEO?</p>
 ]]></content:encoded>
			<category domain="http://www.daniweb.com/internet-marketing/search-engine-optimization/45">Search Engine Optimization</category>
			<dc:creator>jaredsdirect</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/internet-marketing/search-engine-optimization/threads/457070/how-can-we-create-sitemap</guid>
		</item>
				<item>
			<title>forms are not getting step by step</title>
			<link>http://www.daniweb.com/web-development/php/threads/457069/forms-are-not-getting-step-by-step</link>
			<pubDate>Thu, 20 Jun 2013 09:30:17 +0000</pubDate>
			<description>i want to create a form wizard, but i am not getting my forms one after another in one page. i am using `&lt;input type=&quot;hidden&quot; name=&quot;step&quot; value=&quot;1&quot; /&gt;`, `&lt;input type=&quot;hidden&quot; name=&quot;step&quot; value=&quot;2&quot; /&gt;` to get my forms step by step, when i forwarded from up_account.php to update_step1.php, then my form ...</description>
			<content:encoded><![CDATA[ <p>i want to create a form wizard, but i am not getting my forms one after another in one page. i am using <code>&lt;input type="hidden" name="step" value="1" /&gt;</code>, <code>&lt;input type="hidden" name="step" value="2" /&gt;</code> to get my forms step by step, when i forwarded from up_account.php to update_step1.php, then my form do not get update_step2.php, it goes back to up_account.php, why it is happening, help to get rid of this. advance thanx to all.</p>

<pre><code>function displayStep1() {
    include 'update_step1.php';
}
function displayStep2() {
    include 'update_step2.php';
}
function displayStep3() {
    include 'update_step3.php';
}
function displayComplete() {
    include 'update_step4.php';
}
function displaySuccess() {
    include 'update_step5.php';
}
function processStep1() {
    displayStep2();
}
function processStep2() {
    if ( isset( $_POST["continue"] ) and $_POST["continue"] =="&lt; Back" ) {
        displayStep1();
    } 
    else {
        displayStep3();
    }
}
function processStep3() {
    if ( isset( $_POST["continue"] ) and $_POST["continue"] =="&lt; Back" ) {
        displayStep2();
    } 
    else {
        displayComplete();
    }
}
function processStep4() {
    if ( isset( $_POST["complete"] ) and $_POST["complete"] =="&lt; Back" ) {
        displayStep3();
    } 
    else {
        displaySuccess();
    }
}        
if ( isset( $_POST["up_login"] ) and $_POST["up_login"] == 'up_login' ) {
    include 'forms/up_login.php';
} 
else if ( isset( $_POST["up_info"] ) and $_POST["up_info"] == 'up_info' ) {
    if ( isset( $_POST["step"] ) and $_POST["step"] &gt;= 1 and $_POST["step"]&lt;= 5 ) {
        call_user_func( "processStep" . (int)$_POST["step"] );                          
    } 
    else {
        displayStep1();
    }
}
else {
    include 'forms/up_account.php';
}
</code></pre>

<blockquote>
  <p>up_account.php</p>
</blockquote>

<pre><code>&lt;form id="add_info" action="" method="post" enctype="multipart/form-data"&gt;
&lt;ul&gt;
 &lt;li&gt;&lt;input type="submit" name="up_info" value="up_info" /&gt;&lt;/li&gt;
 &lt;li&gt;&lt;input type="submit" name="up_login" value="up_login" /&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/form&gt;
</code></pre>

<blockquote>
  <p>update_step1.php</p>
</blockquote>

<pre><code>&lt;form id="add_info" action="" method="post" enctype="multipart/form-data"&gt;
&lt;input type="hidden" name="step" value="1" /&gt;
&lt;ul&gt;
 &lt;li&gt;Email&lt;/li&gt;
 &lt;li&gt;&lt;input type="text" /&gt;&lt;/li&gt;
 &lt;li&gt;Phone&lt;/li&gt;
 &lt;li&gt;&lt;input type="text" /&gt;&lt;/li&gt;
 &lt;li&gt;&lt;input type="submit" name="continue" /&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/form&gt;
</code></pre>

<blockquote>
  <p>update_step2.php</p>
</blockquote>

<pre><code>&lt;form id="add_info" action="" method="post" enctype="multipart/form-data"&gt;
&lt;input type="hidden" name="step" value="2" /&gt;
&lt;ul&gt;
 &lt;li&gt;Age&lt;/li&gt;
 &lt;li&gt;&lt;input type="text" /&gt;&lt;/li&gt;
 &lt;li&gt;Gender&lt;/li&gt;
 &lt;li&gt;&lt;input type="text" /&gt;&lt;/li&gt;
 &lt;li&gt;&lt;input type="submit" name="continue" /&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/form&gt;
</code></pre>
 ]]></content:encoded>
			<category domain="http://www.daniweb.com/web-development/php/17">PHP</category>
			<dc:creator>adeeb.keyaam</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/web-development/php/threads/457069/forms-are-not-getting-step-by-step</guid>
		</item>
				<item>
			<title>How to become online authority into niche market segment.? Please suggest</title>
			<link>http://www.daniweb.com/internet-marketing/threads/457066/how-to-become-online-authority-into-niche-market-segment.-please-suggest</link>
			<pubDate>Thu, 20 Jun 2013 09:09:05 +0000</pubDate>
			<description>Its hard to become online authority into niche market segment. Now Google is serious about Author Authority before positioning Blog post. Do you have suggestion to improve Author Authority for our design &amp; development blog ?</description>
			<content:encoded><![CDATA[ <p>Its hard to become online authority into niche market segment. Now Google is serious about Author Authority before positioning Blog post. Do you have suggestion to improve Author Authority for our design &amp; development blog ?</p>
 ]]></content:encoded>
			<category domain="http://www.daniweb.com/internet-marketing/25">Internet Marketing</category>
			<dc:creator>williampritchar</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/internet-marketing/threads/457066/how-to-become-online-authority-into-niche-market-segment.-please-suggest</guid>
		</item>
				<item>
			<title>Please explain the output</title>
			<link>http://www.daniweb.com/software-development/cpp/threads/457065/please-explain-the-output</link>
			<pubDate>Thu, 20 Jun 2013 09:07:27 +0000</pubDate>
			<description>Hi all, Please answer this question. Why the output is ACA?? In the line obj = obj+6; the 6 should have been converted to obj type but, why it is converting the obj to int type? Please help... #include &lt;iostream&gt; using namespace std; class Base { public: Base(int m_var=1):i(m_var){ cout&lt;&lt;&quot;A&quot;; ...</description>
			<content:encoded><![CDATA[ <p>Hi all,</p>

<p>Please answer this question. Why the output is ACA??<br />
In the line obj = obj+6; the 6 should have been converted to obj type but, why it is converting the obj to int type?<br />
Please help...</p>

<pre><code>#include &lt;iostream&gt;

using namespace std;

class Base {
public:
    Base(int m_var=1):i(m_var){
        cout&lt;&lt;"A";
    }
    Base(Base&amp; Base){
        cout&lt;&lt;"B";
        i=Base.i;
    }
    operator int() {
        cout&lt;&lt;"C";
        return i;
    }
    int operator+(Base&amp; Base)
    {
        cout&lt;&lt;"D";
        return i+Base.i;
    }
private:
    int i;
};

int main()
{
    Base obj;
    obj = obj+6;
    return 0;
}
</code></pre>
 ]]></content:encoded>
			<category domain="http://www.daniweb.com/software-development/cpp/8">C++</category>
			<dc:creator>mahesh113</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/software-development/cpp/threads/457065/please-explain-the-output</guid>
		</item>
				<item>
			<title>programming</title>
			<link>http://www.daniweb.com/software-development/c/threads/457064/programming</link>
			<pubDate>Thu, 20 Jun 2013 08:09:07 +0000</pubDate>
			<description> Design and code a program in c that converts time in seconds to hours, minutes and seconds and display the results. Implement using pointers and functions. You should have at least the following functions. • Reading time in seconds. • Converting seconds to hrs, mins, secs. • Displaying results hrs, ...</description>
			<content:encoded><![CDATA[ <pre><code class="language-c">Design and code a program in c that converts time in seconds to hours, minutes and seconds and display the results.  Implement using pointers and functions. You should have at least the following functions.


    •   Reading time in seconds.


•   Converting seconds to hrs, mins, secs.




•   Displaying results hrs, mins, secs.
</code></pre>
 ]]></content:encoded>
			<category domain="http://www.daniweb.com/software-development/c/118">C</category>
			<dc:creator>charlowiz</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/software-development/c/threads/457064/programming</guid>
		</item>
				<item>
			<title>DataGrid column width in runtime</title>
			<link>http://www.daniweb.com/web-development/aspnet/threads/457063/datagrid-column-width-in-runtime</link>
			<pubDate>Thu, 20 Jun 2013 07:07:24 +0000</pubDate>
			<description>Im developing application using ASP.net + VB.net Now i want to change column width at run time. But in run time it doesn't work. This is what i did up to now. data bind in form load like this. myGrid.datasource = myDataSet.table(0) myGrid.databind() In here dataset come properly. in grid ...</description>
			<content:encoded><![CDATA[ <p>Im developing application using ASP.net + VB.net<br />
Now i want to change column width at run time. But in run time it doesn't work.</p>

<p>This is what i did up to now.<br />
data bind in form load like this.</p>

<pre><code>myGrid.datasource = myDataSet.table(0)
myGrid.databind()
</code></pre>

<p>In here dataset come properly.</p>

<p>in grid data bound event</p>

<pre><code> If e.Row.RowType = DataControlRowType.Header Then

Dim cell As TableCell = e.Row.Cells(1)
            cell.Width = New Unit(200) 'I added "200px" instead of 200. But it didn't work.
cell.text = "abc" 'This is working. It is show the header as abc

end if
</code></pre>

<p>in above code i added (as an experiment) cell.wrap = false and cell.wrap = true. that code also not effected.<br />
There is no any error. But width doesnt work.</p>
 ]]></content:encoded>
			<category domain="http://www.daniweb.com/web-development/aspnet/18">ASP.NET</category>
			<dc:creator>weeraa</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/web-development/aspnet/threads/457063/datagrid-column-width-in-runtime</guid>
		</item>
				<item>
			<title>software of food and biling system</title>
			<link>http://www.daniweb.com/software-development/c/threads/457062/software-of-food-and-biling-system</link>
			<pubDate>Thu, 20 Jun 2013 07:01:23 +0000</pubDate>
			<description>i have to make a software product on food an billing system in C language..plz help me..</description>
			<content:encoded><![CDATA[ <p>i have to make a software product on food an billing system in C language..plz help me..</p>
 ]]></content:encoded>
			<category domain="http://www.daniweb.com/software-development/c/118">C</category>
			<dc:creator>sumisimmy</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/software-development/c/threads/457062/software-of-food-and-biling-system</guid>
		</item>
				<item>
			<title>program ... constructors  without using arguments</title>
			<link>http://www.daniweb.com/software-development/cpp/threads/457061/program-...-constructors-without-using-arguments</link>
			<pubDate>Thu, 20 Jun 2013 07:00:28 +0000</pubDate>
			<description> #include&lt;iostream.h&gt; class counter { private: int count; public: counter():count(0) { count 1 } }; int main() { counter c1; return 0; } whats wrong in this program i am not able to know?</description>
			<content:encoded><![CDATA[ <pre><code class="language-cpp">#include&lt;iostream.h&gt;
class counter
{
private:
int count;
public:
counter():count(0)
{
count 1 
}
};
int main()
{
counter c1;
return 0;
}
</code></pre>

<p>whats wrong in this program i am not able to know?</p>
 ]]></content:encoded>
			<category domain="http://www.daniweb.com/software-development/cpp/8">C++</category>
			<dc:creator>Abhinisha</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/software-development/cpp/threads/457061/program-...-constructors-without-using-arguments</guid>
		</item>
				<item>
			<title>C# Implementation of base()</title>
			<link>http://www.daniweb.com/software-development/csharp/threads/457060/c-implementation-of-base</link>
			<pubDate>Thu, 20 Jun 2013 06:53:26 +0000</pubDate>
			<description>In java this is how a DerivedClass can implement it's BaseClass's constructor. public DerivedClass extends BaseClass { //some properties public DerivedClass(param) { super(param); } } I have learnt C-Sharp's *base()* does the similar thing, but when I replace *super(param)* with *base(param)*, it does not gives what I'm expecting. How can ...</description>
			<content:encoded><![CDATA[ <p>In java this is how a DerivedClass can implement it's BaseClass's constructor.</p>

<pre><code class="language-cs">public DerivedClass extends BaseClass
{
    //some properties
    public DerivedClass(param)
    {
        super(param);
    }
}
</code></pre>

<p>I have learnt C-Sharp's <em>base()</em> does the similar thing, but when I replace <em>super(param)</em> with <em>base(param)</em>, it does not gives what I'm expecting. How can I implement this code snippet in C#?</p>
 ]]></content:encoded>
			<category domain="http://www.daniweb.com/software-development/csharp/61">C#</category>
			<dc:creator>mesbahuk</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/software-development/csharp/threads/457060/c-implementation-of-base</guid>
		</item>
				<item>
			<title>C# Linq To SQL get new inserted data (Tracking)</title>
			<link>http://www.daniweb.com/software-development/csharp/threads/457059/c-linq-to-sql-get-new-inserted-data-tracking</link>
			<pubDate>Thu, 20 Jun 2013 06:45:31 +0000</pubDate>
			<description>Is it possible to have a auto-tracking event or something similar to track the database when it changes? For an example: If the database gets a new insert value from another application that I currently have: then My other application will notice it and fetch that data instead of getting ...</description>
			<content:encoded><![CDATA[ <p>Is it possible to have a auto-tracking event or something similar to track the database when it changes?<br />
For an example:</p>

<p>If the database gets a new insert value from another application that I currently have: then<br />
My other application will notice it and fetch that data instead of getting the whole table each time.</p>

<p>Currently I have a loop that just gets the whole table each second. But I need to fetch the last change of the database. Is this possible or do I have to use a trigger in the database? Because I need to fix this without the use of a trigger.</p>

<p>(I only need the new change from the table, inserts, deletion &amp; updates)</p>

<p>Thanks</p>
 ]]></content:encoded>
			<category domain="http://www.daniweb.com/software-development/csharp/61">C#</category>
			<dc:creator>shadyreal</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/software-development/csharp/threads/457059/c-linq-to-sql-get-new-inserted-data-tracking</guid>
		</item>
				<item>
			<title>You have a new PM</title>
			<link>http://www.daniweb.com/community-center/daniweb-community-feedback/threads/457054/you-have-a-new-pm</link>
			<pubDate>Thu, 20 Jun 2013 05:36:50 +0000</pubDate>
			<description>&lt;rant&gt; Does the 'You have a new Private Message' alert come with a toggle switch somewhere to turn it off? Other than dismissing it directly from the alert itself I mean? Every time I go back to the inbox after having read a PM it pops up again telling me ...</description>
			<content:encoded><![CDATA[ <p>&lt;rant&gt; Does the 'You have a new Private Message' alert come with a toggle switch somewhere to turn it off? Other than dismissing it directly from the alert itself I mean? Every time I go back to the inbox after having read a PM it pops up again telling me I have a new Pm - I <strong>know</strong> I have an unread PM, that is why I am reading my inbox. &lt;/rant&gt;</p>
 ]]></content:encoded>
			<category domain="http://www.daniweb.com/community-center/daniweb-community-feedback/26">DaniWeb Community Feedback</category>
			<dc:creator>happygeek</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/community-center/daniweb-community-feedback/threads/457054/you-have-a-new-pm</guid>
		</item>
				<item>
			<title>Prolog -transanlate</title>
			<link>http://www.daniweb.com/software-development/legacy-languages/threads/457052/prolog-transanlate</link>
			<pubDate>Thu, 20 Jun 2013 04:16:11 +0000</pubDate>
			<description>I want to transate no to Letters ,and letters to no,as a Example when germantoenglish([e,t,th],Y).Y shoul be like below Y=[1,2,3] but I get answer as false............ trans(e,1). trans(t,2). trans(th,3). germantoenglish([S|H],[G|Ta]):-trans(H,Ta). englishtogerman([J|Ta],[L|H]):-trans(H,Ta). `</description>
			<content:encoded><![CDATA[ <p>I want to transate no to Letters ,and letters to no,as a Example when germantoenglish([e,t,th],Y).Y shoul be like below</p>

<p>Y=[1,2,3]<br />
but I get answer as false............</p>

<pre><code>trans(e,1).
trans(t,2).
trans(th,3).
germantoenglish([S|H],[G|Ta]):-trans(H,Ta).
englishtogerman([J|Ta],[L|H]):-trans(H,Ta).
</code></pre>

<p>`</p>
 ]]></content:encoded>
			<category domain="http://www.daniweb.com/software-development/legacy-languages/42">Legacy Languages</category>
			<dc:creator>Dili1234</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/software-development/legacy-languages/threads/457052/prolog-transanlate</guid>
		</item>
				<item>
			<title>Require jQuery, AJAX &amp; PHP Poll script (cookies enable)</title>
			<link>http://www.daniweb.com/web-development/php/threads/457051/require-jquery-ajax-php-poll-script-cookies-enable</link>
			<pubDate>Thu, 20 Jun 2013 03:58:09 +0000</pubDate>
			<description>I tried lots of Poll scripts but one of was good one. I need Poll script with Jquery, AJAX and Admin so that I will intergrate my website.</description>
			<content:encoded><![CDATA[ <p>I tried lots of Poll scripts but one of was good one.</p>

<p>I need Poll script with Jquery, AJAX and Admin so that I will intergrate my website.</p>
 ]]></content:encoded>
			<category domain="http://www.daniweb.com/web-development/php/17">PHP</category>
			<dc:creator>edwin.thomson1</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/web-development/php/threads/457051/require-jquery-ajax-php-poll-script-cookies-enable</guid>
		</item>
				<item>
			<title>Opening excel file</title>
			<link>http://www.daniweb.com/software-development/vbnet/threads/457050/opening-excel-file</link>
			<pubDate>Thu, 20 Jun 2013 03:53:37 +0000</pubDate>
			<description>Good day folks, I've been wondering how can I open an excel file in vb.net. Can somebody help me? I always get this error below: &gt; The RPC server is unavailable. (Exception from HRESULT: 0x800706BA) Thanks in advance</description>
			<content:encoded><![CDATA[ <p>Good day folks,</p>

<p>I've been wondering how can I open an excel file in vb.net. Can somebody help me?</p>

<p>I always get this error below:</p>

<blockquote>
  <p>The RPC server is unavailable. (Exception from HRESULT: 0x800706BA)</p>
</blockquote>

<p>Thanks in advance</p>
 ]]></content:encoded>
			<category domain="http://www.daniweb.com/software-development/vbnet/58">VB.NET</category>
			<dc:creator>GeekPlease</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/software-development/vbnet/threads/457050/opening-excel-file</guid>
		</item>
				<item>
			<title>Accelerated C++ 9-1. Exercise&#039;s context</title>
			<link>http://www.daniweb.com/software-development/cpp/threads/457044/accelerated-c-9-1.-exercises-context</link>
			<pubDate>Thu, 20 Jun 2013 03:17:30 +0000</pubDate>
			<description>this is what the question said. // 9-1. Reimplement the Student_info class so that it calculates the // final grade when reading the student's record, and stores that grade // in the object. Reimplement the grade function to use this // precomputed value. this is what I thought! 1. Reimplement ...</description>
			<content:encoded><![CDATA[ <p>this is what the question said.</p>

<pre><code class="language-cpp">// 9-1. Reimplement the Student_info class so that it calculates the 
// final grade when reading the student's record, and stores that grade 
// in the object. Reimplement the grade function to use this
// precomputed value.
</code></pre>

<p>this is what I thought!</p>

<pre><code class="language-cpp">1. Reimplement Student_info class
1.1 calculate the final grade WHEN reading the student's record

2. store the result in an object.

3. reimplement grade function to use this precomputed value.
</code></pre>

<p>But, I thought the final grade is the returned result from the grade function. but now, on "3." it's telling me to reimplement grade function to use the "precomputed value".</p>

<p>There is also one variable named "final" referring to the final exam grade but the data taken raw from the user's input which is not seem to fit with "calculates" as it said in the exercise!</p>

<p>the code.<br />
<a href="http://speedy.sh/czKvs/Exercise2.9.1.rar" rel="nofollow">http://speedy.sh/czKvs/Exercise2.9.1.rar</a></p>
 ]]></content:encoded>
			<category domain="http://www.daniweb.com/software-development/cpp/8">C++</category>
			<dc:creator>Vastor</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/software-development/cpp/threads/457044/accelerated-c-9-1.-exercises-context</guid>
		</item>
				<item>
			<title>How to use .net matrik library</title>
			<link>http://www.daniweb.com/software-development/vbnet/threads/457043/how-to-use-.net-matrik-library</link>
			<pubDate>Thu, 20 Jun 2013 03:05:49 +0000</pubDate>
			<description>how to use .net matrik library to solve linear equation ?</description>
			<content:encoded><![CDATA[ <p>how to use .net matrik library to solve linear equation ?</p>
 ]]></content:encoded>
			<category domain="http://www.daniweb.com/software-development/vbnet/58">VB.NET</category>
			<dc:creator>rizkiekaputra80</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/software-development/vbnet/threads/457043/how-to-use-.net-matrik-library</guid>
		</item>
				<item>
			<title>Spiceworks is using our API!!</title>
			<link>http://www.daniweb.com/community-center/threads/457041/spiceworks-is-using-our-api</link>
			<pubDate>Thu, 20 Jun 2013 02:35:12 +0000</pubDate>
			<description>Spiceworks, one of DaniWeb's advertisers, has just rolled out their DaniWeb API integration!! Check it out here: http://www.spiceworks.com/p/daniweb Please be sure to give suggestions :)</description>
			<content:encoded><![CDATA[ <p>Spiceworks, one of DaniWeb's advertisers, has just rolled out their DaniWeb API integration!!</p>

<p>Check it out here:</p>

<p><a href="http://www.spiceworks.com/p/daniweb" rel="nofollow">http://www.spiceworks.com/p/daniweb</a></p>

<p>Please be sure to give suggestions :)</p>
 ]]></content:encoded>
			<category domain="http://www.daniweb.com/community-center/3">Community Center</category>
			<dc:creator>Dani</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/community-center/threads/457041/spiceworks-is-using-our-api</guid>
		</item>
				<item>
			<title>How to get content of input text from JSP to Java Class?</title>
			<link>http://www.daniweb.com/software-development/java/threads/457040/how-to-get-content-of-input-text-from-jsp-to-java-class</link>
			<pubDate>Thu, 20 Jun 2013 02:34:17 +0000</pubDate>
			<description>I have a JSP file and I want to get the value of the input text and send it to a java class. How can I do it? &lt;form name=&quot;boxSettingForm&quot; action=&quot;/ScanToBox/ScanJobServlet&quot; method=&quot;post&quot; &gt; &lt;div style=&quot;height: 417px; width: 790px; background-color: #ffffff; margin-left: 0px; margin-top: 0px;&quot;&gt; &lt;div style=&quot;height: 116px; &quot;&gt; &lt;br&gt;&lt;input id=&quot;boxName&quot; ...</description>
			<content:encoded><![CDATA[ <p>I have a JSP file and I want to get the value of the input text and send it to a java class. How can I do it?</p>

<pre><code class="language-java">&lt;form name="boxSettingForm" action="/ScanToBox/ScanJobServlet" method="post" &gt;
&lt;div style="height: 417px; width: 790px; background-color: #ffffff; margin-left: 0px; margin-top: 0px;"&gt;
&lt;div style="height: 116px; "&gt;
    &lt;br&gt;&lt;input id="boxName" value="BoxName" style="height: 49px; width:128px; font-size:16px; font-family:Albany; background-color:#D4D6D9" type="button" onfocus="this.blur()"&gt;
    *&lt;input id="boxName" style="text-align:left; font-size:24px; font-family:Albany; height: 47px; width: 624px" type="text" value="myBox"&gt;*
&lt;/div&gt;

&lt;input type="button" value="Start"
style="position: absolute; left: 250px; top: 220px; height: 80px; width: 280px; font-size: 16px; font-family: Albany; background-color: #D4D6D9"
onfocus="this.blur()" onclick="get_input()"&gt;&lt;/div&gt;
</code></pre>

<p>I want to get the value of the input text and send it to a java class.</p>
 ]]></content:encoded>
			<category domain="http://www.daniweb.com/software-development/java/9">Java</category>
			<dc:creator>pmark019</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/software-development/java/threads/457040/how-to-get-content-of-input-text-from-jsp-to-java-class</guid>
		</item>
				<item>
			<title>Hi , friends !!</title>
			<link>http://www.daniweb.com/community-center/community-introductions/threads/457039/hi-friends-</link>
			<pubDate>Thu, 20 Jun 2013 02:10:06 +0000</pubDate>
			<description>hi , i'm islam ,i'm studying computer science in faculty of computer and information, it's my first year , i'm 19 years old,i'm from egypt , i want to be professional in programming ,</description>
			<content:encoded><![CDATA[ <p>hi , i'm islam ,i'm studying computer science in faculty of computer and information, it's my first year , i'm 19 years old,i'm from egypt , i want to be professional in programming ,</p>
 ]]></content:encoded>
			<category domain="http://www.daniweb.com/community-center/community-introductions/165">Community Introductions</category>
			<dc:creator>islam.fci.3</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/community-center/community-introductions/threads/457039/hi-friends-</guid>
		</item>
				<item>
			<title>Removing Dual Boot.</title>
			<link>http://www.daniweb.com/hardware-and-software/microsoft-windows/windows-vista-and-windows-7-8/threads/457036/removing-dual-boot</link>
			<pubDate>Thu, 20 Jun 2013 00:21:31 +0000</pubDate>
			<description>I have Winodows 7 and 8 in dual boot. I wish to get rid of Windows 8. What should i do ?. I am aware that there are many tutorials available online. But I trust more on members of this forum. Please suggest a reliable link or steps to remove ...</description>
			<content:encoded><![CDATA[ <p>I have Winodows 7 and 8 in dual boot. I wish to get rid of Windows 8. What should i do ?.<br />
I am aware that there are many tutorials available online. But I trust more on members of this forum. Please suggest a reliable link or steps to remove Windows 8 without harming existing Windows 7.</p>

<p>Thanx.</p>
 ]]></content:encoded>
			<category domain="http://www.daniweb.com/hardware-and-software/microsoft-windows/windows-vista-and-windows-7-8/38">Windows Vista and Windows 7 / 8</category>
			<dc:creator>Rahul47</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/hardware-and-software/microsoft-windows/windows-vista-and-windows-7-8/threads/457036/removing-dual-boot</guid>
		</item>
				<item>
			<title>Set cookie with an array as a value</title>
			<link>http://www.daniweb.com/web-development/php/threads/457035/set-cookie-with-an-array-as-a-value</link>
			<pubDate>Thu, 20 Jun 2013 00:11:44 +0000</pubDate>
			<description>I need to set a cookie with an array as a value. Is the best way to run serialize() on the data?</description>
			<content:encoded><![CDATA[ <p>I need to set a cookie with an array as a value. Is the best way to run serialize() on the data?</p>
 ]]></content:encoded>
			<category domain="http://www.daniweb.com/web-development/php/17">PHP</category>
			<dc:creator>Dani</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/web-development/php/threads/457035/set-cookie-with-an-array-as-a-value</guid>
		</item>
				<item>
			<title>Comparing Arrays</title>
			<link>http://www.daniweb.com/software-development/cpp/threads/457034/comparing-arrays</link>
			<pubDate>Wed, 19 Jun 2013 23:37:01 +0000</pubDate>
			<description>Hello, I'm having trouble with one of my coding assignments. I have to compare 2 arrays to see if they're identical. My code compiles fine, but i'm not getting the correct results. Mind you I'm in a beginner's course so I cannot have any advanced coding, I appreciate those suggestions, ...</description>
			<content:encoded><![CDATA[ <p>Hello,</p>

<p>I'm having trouble with one of my coding assignments. I have to compare 2 arrays to see if they're identical. My code compiles fine, but i'm not getting the correct results. Mind you I'm in a beginner's course so I cannot have any advanced coding, I appreciate those suggestions, but again I cannot use them in my assignment.</p>

<pre><code class="language-cpp">#include &lt;iostream&gt;
#include &lt;iomanip&gt;
using namespace std;

bool compare_arrays(int a[], int b[]);


int main()
{
    int i;
    int list1[5];
    int list2[5];

    cout &lt;&lt; "Please enter a series of numbers (up to 10) for your first array: " &lt;&lt; endl;
    cin &gt;&gt; list1[5];
    cout &lt;&lt; "Please enter a series of numbers (up to 10) for your second array: " &lt;&lt; endl;
    cin &gt;&gt; list2[5];

    cout &lt;&lt; "The arrays are: "
         &lt;&lt; compare_arrays(list1, list2)
         &lt;&lt; endl;

         return 0;
}

bool compare_arrays(int a[], int b[])
{

    bool answer = true;




    for (int i = 0; i &lt; a[i]; i++)
    {

        if(a[i] == b[i])
        {   
            return true;
        }

        else 
            return false;

    }




}
</code></pre>

<p>When I enter my array values, I keep getting "The arrays are: 0" I don't know what I'm doing wrong</p>
 ]]></content:encoded>
			<category domain="http://www.daniweb.com/software-development/cpp/8">C++</category>
			<dc:creator>eldiablo1121</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/software-development/cpp/threads/457034/comparing-arrays</guid>
		</item>
				<item>
			<title>VB.NET/WPF: Loading image from a file (relative path)</title>
			<link>http://www.daniweb.com/software-development/vbnet/threads/457033/vb.netwpf-loading-image-from-a-file-relative-path</link>
			<pubDate>Wed, 19 Jun 2013 23:16:21 +0000</pubDate>
			<description>I'm having a heck of a time loading an image from the path where the program is being run. Dim image As New BitmapImage Dim imagePath As String = &quot;keepass.png&quot; image.BeginInit() image.UriSource = New Uri(imagePath, UriKind.Relative) image.EndInit() ProductImage.Source = image I can't seem to use a relative path to my ...</description>
			<content:encoded><![CDATA[ <p>I'm having a heck of a time loading an image from the path where the program is being run.</p>

<pre><code class="language-vb">    Dim image As New BitmapImage
    Dim imagePath As String = "keepass.png"
    image.BeginInit()
    image.UriSource = New Uri(imagePath, UriKind.Relative)
    image.EndInit()

    ProductImage.Source = image
</code></pre>

<p>I can't seem to use a relative path to my image. If I put an absolute value in there, it shows. I'm in debug mode and have the image in the debug folder. This <em>should</em> work, shouldn't it? I've had this problem in other projects too!</p>
 ]]></content:encoded>
			<category domain="http://www.daniweb.com/software-development/vbnet/58">VB.NET</category>
			<dc:creator>ZeroZen</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/software-development/vbnet/threads/457033/vb.netwpf-loading-image-from-a-file-relative-path</guid>
		</item>
				<item>
			<title>permission</title>
			<link>http://www.daniweb.com/web-development/aspnet/threads/457031/permission</link>
			<pubDate>Wed, 19 Jun 2013 22:13:20 +0000</pubDate>
			<description>well how can i stop accessing a folder by using in vb in the page load(request.browser......etc) i used this before but i forgot how i m not talking about authentication but if u have other way or method to do that it would be better</description>
			<content:encoded><![CDATA[ <p>well<br />
how can i stop accessing a folder by using in vb in the page load(request.browser......etc)<br />
i used this before but i forgot how<br />
i m not talking about authentication<br />
but if u have other way or method to do that it would be better</p>
 ]]></content:encoded>
			<category domain="http://www.daniweb.com/web-development/aspnet/18">ASP.NET</category>
			<dc:creator>samoslook</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/web-development/aspnet/threads/457031/permission</guid>
		</item>
				<item>
			<title>running database on another computer</title>
			<link>http://www.daniweb.com/software-development/vbnet/threads/457030/running-database-on-another-computer</link>
			<pubDate>Wed, 19 Jun 2013 21:21:16 +0000</pubDate>
			<description>I've built an application that displays the contents of an access database in a datagrid and also a form which allows a user to add a new record to the database. When I tried to run the exe in the bin folder on another computer it displays an error when ...</description>
			<content:encoded><![CDATA[ <p>I've built an application that displays the contents of an access database in a datagrid and also a form which allows a user to add a new record to the database.<br />
When I tried to run the exe in the bin folder on another computer it displays an error when I try to add a new record to the database.<br />
It allows me to view the records in the datagrid no problem but will not run my query on a different computer. Any help would be greatly appreciated</p>

<p>This is the error that appears</p>

<blockquote>
<pre><code class="language-vb">Unhandled exception has occurred in your application. If you click continue the application will ignore this error and attempt to continue. if you click Quit the application will close immediately

Disk error

See the end of this message for details on invoking 
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.Data.OleDb.OleDbException: Disk or network error.
   at System.Data.OleDb.OleDbConnectionInternal..ctor(OleDbConnectionString constr, OleDbConnection connection)
   at System.Data.OleDb.OleDbConnectionFactory.CreateConnection(DbConnectionOptions options, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningObject)
   at System.Data.ProviderBase.DbConnectionFactory.CreateNonPooledConnection(DbConnection owningConnection, DbConnectionPoolGroup poolGroup)
   at System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection)
   at System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory)
   at System.Data.OleDb.OleDbConnection.Open()
   at DTOptions.Options.Button1_Click(Object sender, EventArgs e) in D:\Visual Studio 2005\Projects\DTOptions\DTOptions\Options.vb:line 18
   at System.Windows.Forms.Control.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
   at System.Windows.Forms.Control.WmMouseUp(Message&amp; m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message&amp; m)
   at System.Windows.Forms.ButtonBase.WndProc(Message&amp; m)
   at System.Windows.Forms.Button.WndProc(Message&amp; m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message&amp; m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message&amp; m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5466 (Win7SP1GDR.050727-5400)
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
DTOptions
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///E:/DTOptions/DTOptions/bin/Debug/DTOptions.exe
----------------------------------------
Microsoft.VisualBasic
    Assembly Version: 8.0.0.0
    Win32 Version: 8.0.50727.5420 (Win7SP1.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
----------------------------------------
System.Windows.Forms
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5468 (Win7SP1GDR.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5467 (Win7SP1GDR.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5467 (Win7SP1GDR.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Runtime.Remoting
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Runtime.Remoting/2.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll
----------------------------------------
System.Data
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_32/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
System.Transactions
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
    CodeBase: file:///C:/Windows/assembly/GAC_32/System.Transactions/2.0.0.0__b77a5c561934e089/System.Transactions.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

&lt;configuration&gt;
    &lt;system.windows.forms jitDebugging="true" /&gt;
&lt;/configuration&gt;

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
</code></pre>
</blockquote>
 ]]></content:encoded>
			<category domain="http://www.daniweb.com/software-development/vbnet/58">VB.NET</category>
			<dc:creator>bryann</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/software-development/vbnet/threads/457030/running-database-on-another-computer</guid>
		</item>
				<item>
			<title>help read image and put pixel value to vector</title>
			<link>http://www.daniweb.com/software-development/cpp/threads/457029/help-read-image-and-put-pixel-value-to-vector</link>
			<pubDate>Wed, 19 Jun 2013 20:56:45 +0000</pubDate>
			<description>hello everyone, I seek help please to find a program c + + that can read images from different types bmp, jpeg, png and put the pixels values in a vector, modified pixels valus, then saved the picture change to a different location, I inform you that I am working ...</description>
			<content:encoded><![CDATA[ <p>hello everyone, I seek help please to find a program c + + that can read images from different types bmp, jpeg, png and put the pixels values in a vector, modified pixels valus, then saved the picture change to a different location, I inform you that I am working on visual c + + 2010</p>
 ]]></content:encoded>
			<category domain="http://www.daniweb.com/software-development/cpp/8">C++</category>
			<dc:creator>one-unicorn</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/software-development/cpp/threads/457029/help-read-image-and-put-pixel-value-to-vector</guid>
		</item>
				<item>
			<title>Form action page</title>
			<link>http://www.daniweb.com/web-development/web-design-html-and-css/threads/457028/form-action-page</link>
			<pubDate>Wed, 19 Jun 2013 20:52:23 +0000</pubDate>
			<description>Hello Now all the forms that i have made are like this &lt;form .... action=&quot;pagenamecheck.jsp&quot;&gt; ... &lt;/form&gt; So when someone send the form from the page 'pagename.jsp' i go to the 'pagenamecheck.jsp' and i do there the check and if there is something wrong i have to recreate all the ...</description>
			<content:encoded><![CDATA[ <p>Hello<br />
Now all the forms that i have made are like this</p>

<pre><code class="language-xhtml">&lt;form .... action="pagenamecheck.jsp"&gt;
...
&lt;/form&gt;
</code></pre>

<p>So when someone send the form from the page 'pagename.jsp' i go to the 'pagenamecheck.jsp' and i do there the check and if there is something wrong i have to recreate all the page 'pagename.jsp' to the 'pagenamecheck.jsp' to show the user the error. Is my way of having the form correct or i should change it?<br />
Thank you</p>
 ]]></content:encoded>
			<category domain="http://www.daniweb.com/web-development/web-design-html-and-css/15">Web Design, HTML and CSS</category>
			<dc:creator>xxmp</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/web-development/web-design-html-and-css/threads/457028/form-action-page</guid>
		</item>
				<item>
			<title>Displaying Data From A Drop Down List php</title>
			<link>http://www.daniweb.com/web-development/php/threads/457027/displaying-data-from-a-drop-down-list-php</link>
			<pubDate>Wed, 19 Jun 2013 20:25:58 +0000</pubDate>
			<description>I'm trying hard with displaying details from a selected option in a drop down list for my project. I have a drop down list which is populated from a MYSQLi query. I want the user to select an option and the values associated pulled from the database and displayed to ...</description>
			<content:encoded><![CDATA[ <p>I'm trying hard with displaying details from a selected option in a drop down list for my project.</p>

<p>I have a drop down list which is populated from a MYSQLi query. I want the user to select an option and the values associated pulled from the database and displayed to the user.</p>

<p>The dynamically populated drop down list is for "FirstName" of persons(Table Name) and when a user selects a name from the drop down list I want the record of that person to be to be displayed.</p>

<p>The code below is for dynamically populating the drop down list. The user clicks the button and goes on the next page which should create a table with the results. There is no Error, but no result as required too. I've tried alot now and don't know what to do.</p>

<p><strong>Drop Down list code</strong></p>

<pre><code>&lt;!DOCTYPE&gt;
&lt;html&gt;
&lt;head&gt;

&lt;title&gt;Update Data&lt;/title&gt;
&lt;/head&gt;

&lt;body&gt;

&lt;form name="form_update" method="post" action="update_test.php"&gt;

&lt;?php
$con=mysqli_connect("localhost","root","","ismat_db");
//============== check connection
if(mysqli_errno($con))
{
    echo "Can't Connect to mySQL:".mysqli_connect_error();
}
else
{
    echo "Connected to mySQL&lt;/br&gt;";
}

//=============================

//This creates the drop down box

echo "&lt;select name= 'FirstName'&gt;";
echo '&lt;option value=""&gt;'.'--- Please Select Person ---'.'&lt;/option&gt;';

//$query=mysqli_query($con,"SELECT id,FirstName FROM persons");

$query = mysqli_query($con,"SELECT FirstName FROM persons");

$query_display = mysqli_query($con,"SELECT * FROM persons");

while($row=mysqli_fetch_array($query))
{
    echo "&lt;option value='". $row['id']."'&gt;".$row['FirstName']
 .'&lt;/option&gt;';

}

echo '&lt;/select&gt;';

?&gt; &lt;input type="submit" name="submit" value="Submit"/&gt;
&lt;/form&gt;

&lt;br/&gt;&lt;br/&gt;
&lt;a href="main.html"&gt; Go back to Main Page &lt;/a&gt;
&lt;/body&gt;
&lt;/html&gt;
</code></pre>

<p><strong>Display View Code</strong></p>

<pre><code>&lt;!DOCTYPE&gt;
&lt;html&gt;
&lt;head&gt;

&lt;title&gt;Update Data&lt;/title&gt;
&lt;/head&gt;

&lt;body&gt;
&lt;!--&lt;table&gt;
&lt;tr&gt;
    &lt;td align="center"&gt; From Database &lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
    &lt;td&gt;
        &lt;table border="1"&gt;
            &lt;tr&gt;
                &lt;td&gt;First Name&lt;/td&gt;
                &lt;td&gt;Last Name &lt;/td&gt;
                &lt;td&gt; Gender &lt;/td&gt;
                &lt;td&gt; Subject &lt;/td&gt;
                &lt;td&gt; Hobbies &lt;/td&gt;
            &lt;/tr&gt;
--&gt;

&lt;?php 
$con=mysqli_connect("localhost","root","","ismat_db");
if(mysqli_errno($con))
{
    echo "Can't Connect to mySQL:".mysqli_connect_error();
}


//$name = mysqli_real_escape_string($con,$_POST['select']);
//  $fetch = mysqli_query($con,"SELECT * FROM persons WHERE FirstName='".$name."'");
//  $row_display=mysqli_fetch_assoc($fetch);

if(isset($_POST['FirstName']))
{

$name = $_POST['FirstName'];
//$name = mysqli_real_escape_string($con,$_POST['select']);
//$fetch = "SELECT * FROM persons WHERE FirstName = '".$name."'";
//$fetch="SELECT 'Firstname' FROM persons WHERE Firstname = '".$name."'";

$fetch="SELECT Firstname FROM persons WHERE Firstname = '".$name."'";

$result = mysqli_query($con,$fetch);
if(!$result)
{
echo "Error:".(mysqli_error($con));
}


//display the table
echo '&lt;table border="1"&gt;'.'&lt;tr&gt;'.'&lt;td align="center"&gt;'. 'From Database'. '&lt;/td&gt;'.'&lt;/tr&gt;';
echo '&lt;tr&gt;'.'&lt;td&gt;'.'&lt;table border="1"&gt;'.'&lt;tr&gt;'.'&lt;td&gt;'.'First Name'.'&lt;/td&gt;'.'&lt;td&gt;'.'Last Name'.'&lt;/td&gt;'.'&lt;td&gt;'. 'Gender' .'&lt;/td&gt;'.'&lt;td&gt;'. 'Subject'. '&lt;/td&gt;'.'&lt;td&gt;'. 'Hobbies' .'&lt;/td&gt;'.'&lt;/tr&gt;';


//while($data = mysqli_fetch_row($fetch))
while($data=mysqli_fetch_row($result))  
    {
    echo ("&lt;tr&gt;&lt;td&gt;$data[0]&lt;/td&gt;&lt;td&gt;$data[1]&lt;/td&gt;&lt;td&gt;$data[2]&lt;/td&gt;&lt;td&gt;$data[3]&lt;/td&gt;&lt;td&gt;$data[4]&lt;/td&gt;&lt;/tr&gt;");


    }

echo '&lt;/table&gt;'.'&lt;/td&gt;'.'&lt;/tr&gt;'.'&lt;/table&gt;';


}


?&gt;

&lt;!--&lt;/table&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt;--&gt;
&lt;br/&gt;
&lt;a href="update.php"&gt; Go back to Main Page &lt;/a&gt;
&lt;/body&gt;
&lt;/html&gt;
</code></pre>
 ]]></content:encoded>
			<category domain="http://www.daniweb.com/web-development/php/17">PHP</category>
			<dc:creator>Abbas Ansari</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/web-development/php/threads/457027/displaying-data-from-a-drop-down-list-php</guid>
		</item>
				<item>
			<title>Insert data from ListBox into SQLite</title>
			<link>http://www.daniweb.com/software-development/csharp/threads/457026/insert-data-from-listbox-into-sqlite</link>
			<pubDate>Wed, 19 Jun 2013 20:09:53 +0000</pubDate>
			<description>My question is : how do I put the results that I have obtained into an SQLite Db after a click event. I do not have handy my code but will post it ASAP. Thanks</description>
			<content:encoded><![CDATA[ <p>My question is : how do I put the results that I have obtained into an SQLite Db after a click event.<br />
I do not have handy my code but will post it ASAP.</p>

<p>Thanks</p>
 ]]></content:encoded>
			<category domain="http://www.daniweb.com/software-development/csharp/61">C#</category>
			<dc:creator>elvis1</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/software-development/csharp/threads/457026/insert-data-from-listbox-into-sqlite</guid>
		</item>
				<item>
			<title>New to Web development</title>
			<link>http://www.daniweb.com/web-development/web-design-html-and-css/threads/457025/new-to-web-development</link>
			<pubDate>Wed, 19 Jun 2013 19:21:25 +0000</pubDate>
			<description>Hi Everyone, I'm new to Web design and i wanted to ask you for some advice on how to start to develop an online bussines. I know HTML and CSS but i think i might be outdated. Please, ANY pointers would be awesome!! Thanks! Renato</description>
			<content:encoded><![CDATA[ <p>Hi Everyone,</p>

<p>I'm new to Web design and i wanted to ask you for some advice on how to start to develop an online bussines.</p>

<p>I know HTML and CSS but i think i might be outdated. Please, ANY pointers would be awesome!!</p>

<p>Thanks!<br />
Renato</p>
 ]]></content:encoded>
			<category domain="http://www.daniweb.com/web-development/web-design-html-and-css/15">Web Design, HTML and CSS</category>
			<dc:creator>renato_francia</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/web-development/web-design-html-and-css/threads/457025/new-to-web-development</guid>
		</item>
				<item>
			<title>Moving to other field by pressing arrow button</title>
			<link>http://www.daniweb.com/software-development/cpp/threads/457024/moving-to-other-field-by-pressing-arrow-button</link>
			<pubDate>Wed, 19 Jun 2013 19:15:35 +0000</pubDate>
			<description>Hi, I m using turbo c++. I need ur help by sharing the code for moving to the field on the output screen by pressing arrow button from the keyboard. Please help me out from the problem.</description>
			<content:encoded><![CDATA[ <p>Hi,<br />
   I m using turbo c++. I need ur help by sharing the code for moving to the field on the output screen by pressing arrow button from the keyboard.<br />
   Please help me out from the problem.</p>
 ]]></content:encoded>
			<category domain="http://www.daniweb.com/software-development/cpp/8">C++</category>
			<dc:creator>subash sonar</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/software-development/cpp/threads/457024/moving-to-other-field-by-pressing-arrow-button</guid>
		</item>
				<item>
			<title>Giving menu bar to the program</title>
			<link>http://www.daniweb.com/software-development/cpp/threads/457022/giving-menu-bar-to-the-program</link>
			<pubDate>Wed, 19 Jun 2013 19:03:19 +0000</pubDate>
			<description>Helo, I m using turbo c++. I want to give menu bar with drop down list. I actually don't know the code for this. So, can u plz. help me to this by giving the source code to this. I shall be thankful to u.</description>
			<content:encoded><![CDATA[ <p>Helo,<br />
   I m using turbo c++. I want to give menu bar with drop down list. I actually don't know the code for this.<br />
   So, can u plz. help me to this by giving the source code to this. I shall be thankful to u.</p>
 ]]></content:encoded>
			<category domain="http://www.daniweb.com/software-development/cpp/8">C++</category>
			<dc:creator>subash sonar</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/software-development/cpp/threads/457022/giving-menu-bar-to-the-program</guid>
		</item>
				<item>
			<title>Inserting mouse pointer in the program</title>
			<link>http://www.daniweb.com/software-development/cpp/threads/457021/inserting-mouse-pointer-in-the-program</link>
			<pubDate>Wed, 19 Jun 2013 18:47:02 +0000</pubDate>
			<description>Can any body help me in inserting mouse pointer in my program. I m using turbo c++ and i m a novic in this field.</description>
			<content:encoded><![CDATA[ <p>Can any body help me in inserting mouse pointer in my program. I m using turbo c++ and i m a novic in this field.</p>
 ]]></content:encoded>
			<category domain="http://www.daniweb.com/software-development/cpp/8">C++</category>
			<dc:creator>subash sonar</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/software-development/cpp/threads/457021/inserting-mouse-pointer-in-the-program</guid>
		</item>
				<item>
			<title>Functions in Matlab </title>
			<link>http://www.daniweb.com/software-development/threads/457020/functions-in-matlab-</link>
			<pubDate>Wed, 19 Jun 2013 18:45:28 +0000</pubDate>
			<description>i have to write a function to evaluate the sine of any real number exactly 8 decimal number, using the given formula: [sin(x) = x - x^3/3! + x^5/5! - x^7/7! + ....] Anyone please help me i can not workout this question, atleast the body of the program or ...</description>
			<content:encoded><![CDATA[ <p>i have to write a function to evaluate the sine of any real number exactly 8 decimal number, using the given formula:<br />
[sin(x) = x - x^3/3! + x^5/5! - x^7/7! + ....]</p>

<p>Anyone please help me i can not workout this question, atleast the body of the program or how to start it, i thought to start with an array but i am lost with this. Thanks in advance</p>
 ]]></content:encoded>
			<category domain="http://www.daniweb.com/software-development/2">Software Development</category>
			<dc:creator>nitish.mohiputlall</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/software-development/threads/457020/functions-in-matlab-</guid>
		</item>
				<item>
			<title>I get a nullpointerexception error but I don&#039;t know why</title>
			<link>http://www.daniweb.com/software-development/java/threads/457019/i-get-a-nullpointerexception-error-but-i-dont-know-why</link>
			<pubDate>Wed, 19 Jun 2013 18:29:46 +0000</pubDate>
			<description>Hey guys. I have a simple question about my android app. I know what you are thinking &quot; this dumbass just posted this in the wrong thread&quot;. But I did it for a reason. The error that I have is related to java...not android. (I will star every line of ...</description>
			<content:encoded><![CDATA[ <p>Hey guys. I have a simple question about my android app. I know what you are thinking " this dumbass just posted this in the wrong thread". But I did it for a reason. The error that I have is related to java...not android.</p>

<p>(I will star every line of code that I talk about)</p>

<p>So here is the problem:  I get a NullPointerException at line 75 in the MainActivity class. So what I do is look at that line. It reads:</p>

<pre><code class="language-java">if(number.length() == 0){
</code></pre>

<p>So what I'm thinking is that I forgot to set the value of number. Then I look right above that and it says:</p>

<pre><code class="language-java">SettingsActivity settings = new SettingsActivity();
number = settings.phone_number;
</code></pre>

<p>, and I find that I assigned the variable to phone_number, which if you are smart enough to figure out is a string with a phone number inside of it. At this point I don't know what to do. I made sure everything was public, but I'm sure it has to do with the placement of variables inside brackets but I am just not seeing it.</p>

<p>Here are the MainActivity and SettingsActivity classes:</p>

<p><strong><em>thanks in advance for anything that you guys do</em></strong></p>

<pre><code class="language-java">package com.bobrown101.gpsbuddy;

import java.util.Calendar;

import android.os.Bundle;
import android.app.Activity;
import android.app.AlarmManager;
import android.app.PendingIntent;
import android.content.Context;
import android.content.Intent;
import android.util.Log;
import android.view.Menu;
import android.view.MenuItem;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;
import android.widget.EditText;
import android.widget.Switch;
import android.widget.TextView;
import android.widget.Toast;
import android.widget.ToggleButton;
import android.telephony.SmsManager;

public class MainActivity extends Activity {

    public String Lat;
    public String Long;
    boolean toggleBtn = false;

    public int x = 7200;
    public long y;
    public String z;
    public String phone_number;
    boolean bool = false;

    public TextView t;
    public TextView s;
    public TextView state;
    public EditText edittext;
    public String number;
    public String notif;
    public String actual_number;
    public Button buttonOn;
    public Button buttonOff;





    @Override 
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
         Button buttonStart = (Button)findViewById(R.id.button1);  
         buttonOn = (Button)findViewById(R.id.button4);
         buttonOff = (Button)findViewById(R.id.button5);
         edittext = (EditText)findViewById(R.id.editText1);
         buttonStart.setOnClickListener(startListener); // Register the onClick listener with the implementation above

         t=new TextView(this);
         s=new TextView(this);
         state=new TextView(this);
         t=(TextView)findViewById(R.id.textView3); 
         s=(TextView)findViewById(R.id.textView7);
         state=(TextView)findViewById(R.id.textView6);

         buttonOff.setEnabled(false);
         }

    public OnClickListener startListener = new OnClickListener() {

        public void onClick(View v) {
            SettingsActivity settings = new SettingsActivity();
            number = settings.phone_number;

            if(number.length() == 0){
                //Toast.makeText(getBaseContext(), "Please check to make sure you have chosen the recipients contact in the settings menu", Toast.LENGTH_LONG).show();
                System.out.println("here is the phone number that you were trying to send the message to: " + number);
            }else{
                doEverything();  
                Toast.makeText(getBaseContext(), "Manual message SENT!", Toast.LENGTH_SHORT).show();
            }
        }
    };


    public void button_on(View v) {
        if(!bool){
            Toast.makeText(getBaseContext(), "Please input a phone number, then press submit.", Toast.LENGTH_SHORT).show();
        }else{

            state.setText("On "); 
            Calendar cal = Calendar.getInstance();

            Intent intent = new Intent(this, MyService.class);
            PendingIntent pintent = PendingIntent.getService(this, 0, intent, 0);

            AlarmManager alarm = (AlarmManager)getSystemService(Context.ALARM_SERVICE);
            System.out.println(x);
            alarm.setRepeating(AlarmManager.RTC_WAKEUP, cal.getTimeInMillis(), x*1000, pintent);  //7200 is 2 hours 

            //toggleBtn = true;
             //System.out.println("On button pressed. Value of toggleBtn: " + toggleBtn);
            Toast.makeText(getBaseContext(), "Service is now ON!", Toast.LENGTH_SHORT).show();
             //Toast.makeText(getBaseContext(), String.valueOf(toggleBtn), Toast.LENGTH_SHORT).show();

            s.setText("");
            buttonOn.setEnabled(false);
            buttonOff.setEnabled(true); 
        }
    }


    public void button_off(View v) {
        MyService service = new MyService();
        Calendar cal = Calendar.getInstance();

         Intent intent = new Intent(this, MyService.class);
         PendingIntent pintent = PendingIntent.getService(this, 0, intent, 0);

         AlarmManager alarm = (AlarmManager)getSystemService(Context.ALARM_SERVICE);




        alarm.cancel(pintent); 
        Toast.makeText(getBaseContext(), "Service is now OFF!", Toast.LENGTH_SHORT).show();

        state.setText("Off");
        service.counter = 0;
        buttonOn.setEnabled(true);
        buttonOff.setEnabled(false);
    }

    @Override
    public boolean onCreateOptionsMenu(Menu menu) { 
        // Inflate the menu; this adds items to the action bar if it is present.
        getMenuInflater().inflate(R.menu.main, menu);
        return true;
    }


    public void sendSMS(String x) {
        String phoneNumber = number;
        String message = x;

        SmsManager smsManager = SmsManager.getDefault();
        smsManager.sendTextMessage(phoneNumber, null, message, null, null);
    }
    public void getLocation(){
        GPSTracker mGPS = new GPSTracker(this);

        if(mGPS.canGetLocation ){

        double mLat=mGPS.getLatitude();
        double mLong=mGPS.getLongitude();
        Lat = Double.toString(mLat);
        Long = Double.toString(mLong);      

        }else{
        // can't get the location
        }
    }

    public void doEverything(){
        getLocation();
        String text = Lat + "," + Long;
        sendSMS(text);
    }
    public void time_up(View v){  //stops the alarm and ads 30 minutes to the timer
        Calendar cal = Calendar.getInstance();

         Intent intent = new Intent(this, MyService.class);
         PendingIntent pintent = PendingIntent.getService(this, 0, intent, 0);

         AlarmManager alarm = (AlarmManager)getSystemService(Context.ALARM_SERVICE);
         System.out.println(x);
         alarm.cancel(pintent);


         //alarm.setRepeating(AlarmManager.RTC_WAKEUP, cal.getTimeInMillis(), x*1000, pintent);  //7200 is 2 hours 
        x = x +3600; 
        y = x/3600;
        z = y + " hours";
        t.setText(z);
        notif = s.getText().toString();
        if(!(notif == "The Service was turned off because you adjusted the time. Please press 'on' to restart")){
            Toast.makeText(getBaseContext(), "Service must be stopped to adjust time. If you would like GPS Buddy to restart, please pres 'ON' now", Toast.LENGTH_LONG).show();
            s.setText("The Service was turned off because you adjusted the time. Please press 'on' to restart");
        }else{
            s.setText("The Service was turned off because you adjusted the time. Please press 'on' to restart");
        }
    }
    public void time_down(View v){ //stops the alarm and subtracts 30 minutes to the timer

        if(x == 3600){
            x = 3600;
            Toast.makeText(getBaseContext(), "I'm sorry. The lowest interval is 1 hour.", Toast.LENGTH_LONG).show();
        }else{
            Calendar cal = Calendar.getInstance();

             Intent intent = new Intent(this, MyService.class);
             PendingIntent pintent = PendingIntent.getService(this, 0, intent, 0);

             AlarmManager alarm = (AlarmManager)getSystemService(Context.ALARM_SERVICE);
             System.out.println(x);
             alarm.cancel(pintent);
            x = x -3600; 
            y = x/3600;
            z = y + " hours";
            t.setText(z);
            notif = s.getText().toString();
            if(!(notif == "The Service was turned off because you adjusted the time. Please press 'on' to restart")){
                Toast.makeText(getBaseContext(), "Service must be stopped to adjust time. If you would like GPS Buddy to restart, please pres 'ON' now", Toast.LENGTH_LONG).show();
                s.setText("The Service was turned off because you adjusted the time. Please press 'on' to restart");
            }else{
                s.setText("The Service was turned off because you adjusted the time. Please press 'on' to restart");
            }
        }
    }

    public void number_submit(View v){
        //number = edittext.getText().toString();
        SettingsActivity settings = new SettingsActivity();

    }
    @Override
    public boolean onOptionsItemSelected(MenuItem item) {
        // Handle item selection
        switch (item.getItemId()) {
            case R.id.action_settings:
                Intent myIntent = new Intent(MainActivity.this, SettingsActivity.class);
                //myIntent.putExtra("key", value); //Optional parameters
                MainActivity.this.startActivity(myIntent);
                return true;

            default:
                return super.onOptionsItemSelected(item);
        }
    }


}
</code></pre>

<p>here is the other</p>

<pre><code class="language-java">import android.net.Uri;
import android.os.Bundle;
import android.app.Activity;
import android.content.Intent;
import android.database.Cursor;
import android.util.Log;
import android.view.Menu;
import android.view.MenuItem;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
import android.widget.TextView;
import android.widget.Toast;
import android.support.v4.app.NavUtils;
import android.provider.ContactsContract.CommonDataKinds.Email;
import android.provider.ContactsContract.Contacts; 
import android.provider.ContactsContract.CommonDataKinds.Phone;;

public class SettingsActivity extends Activity {




    String DEBUG_TAG = "CONTACT CHOOSER ERROR: ";
    private static final int CONTACT_PICKER_RESULT = 1001;
    public String phone_number;


    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_settings);
        // Show the Up button in the action bar.
        setupActionBar();

    }

    /**
     * Set up the {@link android.app.ActionBar}.
     */
    private void setupActionBar() {

        getActionBar().setDisplayHomeAsUpEnabled(true);

    }

    @Override
    public boolean onCreateOptionsMenu(Menu menu) {
        // Inflate the menu; this adds items to the action bar if it is present.
        getMenuInflater().inflate(R.menu.settings, menu);
        return true;
    }

    @Override
    public boolean onOptionsItemSelected(MenuItem item) {
        switch (item.getItemId()) {
        case android.R.id.home:
            // This ID represents the Home or Up button. In the case of this
            // activity, the Up button is shown. Use NavUtils to allow users
            // to navigate up one level in the application structure. For
            // more details, see the Navigation pattern on Android Design:
            //
            // <a href="http://developer.android.com/design/patterns/navigation.html#up-vs-back" rel="nofollow">http://developer.android.com/design/patterns/navigation.html#up-vs-back</a>
            //
            NavUtils.navigateUpFromSameTask(this);
            return true;
        }
        return super.onOptionsItemSelected(item);
    }

    public void button_submit(View v){

        doLaunchContactPicker(v);

    }


    public void doLaunchContactPicker(View view) {  
        Intent contactPickerIntent = new Intent(Intent.ACTION_PICK, Contacts.CONTENT_URI);  

        startActivityForResult(contactPickerIntent, CONTACT_PICKER_RESULT);  
    }

    @Override  
    public void onActivityResult(int requestCode, int resultCode, Intent data) {  

        if (resultCode == RESULT_OK) {  
            switch (requestCode) {  
            case CONTACT_PICKER_RESULT:  
                Cursor cursor = null;  

                try {  
                    Uri result = data.getData();  
                    Log.v(DEBUG_TAG, "Got a contact result: " + result.toString());  
                    // get the contact id from the Uri  
                    String id = result.getLastPathSegment();  
                    // query for everything phone number
                    cursor = getContentResolver().query(Phone.CONTENT_URI, null, Phone.CONTACT_ID + "=?", new String[] { id }, null);  
                    int phoneIdx = cursor.getColumnIndex(Phone.DATA);  
                    // let's just get the first email  
                    if (cursor.moveToFirst()) {  
                        phone_number = cursor.getString(phoneIdx);  


                        Log.w(DEBUG_TAG, phone_number);
                    } else {  
                        Log.w(DEBUG_TAG, "No results");  
                    }  
                } catch (Exception e) {  
                    Log.e(DEBUG_TAG, "Failed to get phone data", e);  
                } finally {  
                    if (cursor != null) {  
                        cursor.close();  
                    }  
                    EditText phoneEntry = (EditText) findViewById(R.id.editText1);  
                    phoneEntry.setText(phone_number);  

                    if (phone_number.length() == 0) {  
                        Toast.makeText(this, "No phone number found for contact.",  Toast.LENGTH_LONG).show();  
                    }else{

                    }
                }  
                break;  
            }  
        } else {  
            Log.w(DEBUG_TAG, "Warning: activity result not ok");  
        }  
    } 

}
</code></pre>
 ]]></content:encoded>
			<category domain="http://www.daniweb.com/software-development/java/9">Java</category>
			<dc:creator>bobrown101</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/software-development/java/threads/457019/i-get-a-nullpointerexception-error-but-i-dont-know-why</guid>
		</item>
				<item>
			<title>Windows doesn&#039;t get past loading screen</title>
			<link>http://www.daniweb.com/hardware-and-software/microsoft-windows/windows-vista-and-windows-7-8/threads/457018/windows-doesnt-get-past-loading-screen</link>
			<pubDate>Wed, 19 Jun 2013 18:16:07 +0000</pubDate>
			<description> I think my computer has a virus; when I turn it on it has the options to start on normal, safe mode, safe with networking, or last known good configuration, etc. But no matter which option I try, when it gets to the loading screen, the loading doesn't stop, it ...</description>
			<content:encoded><![CDATA[ <p>I think my computer has a virus; when I turn it on it has the options to start on normal, safe mode, safe with networking, or last known good configuration, etc. But no matter which option I try, when it gets to the loading screen, the loading doesn't stop, it never gets to the desktop.<br />
Do you know of any website where I can download a repair or recovery or formatting disk from another computer? Or if anybody knows any other way to fix this I'd really appreciate your help.<br />
It's a laptop Panasonic "CF-52 personal computer" with windows vista.</p>
 ]]></content:encoded>
			<category domain="http://www.daniweb.com/hardware-and-software/microsoft-windows/windows-vista-and-windows-7-8/38">Windows Vista and Windows 7 / 8</category>
			<dc:creator>VanessaGisel</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/hardware-and-software/microsoft-windows/windows-vista-and-windows-7-8/threads/457018/windows-doesnt-get-past-loading-screen</guid>
		</item>
				<item>
			<title>What is the difference between MX and spark?</title>
			<link>http://www.daniweb.com/hardware-and-software/threads/457017/what-is-the-difference-between-mx-and-spark</link>
			<pubDate>Wed, 19 Jun 2013 17:56:09 +0000</pubDate>
			<description>I want to use MX and spark component with flex. I search on Google but no satisfactory article found. Could give me any idea how to use them. If you try to explain with example, it’s good for me.</description>
			<content:encoded><![CDATA[ <p>I want to use MX and spark component with flex. I search on Google but no satisfactory article found. Could give me any idea how to use them. If you try to explain with example, it’s good for me.</p>
 ]]></content:encoded>
			<category domain="http://www.daniweb.com/hardware-and-software/1">Hardware and Software</category>
			<dc:creator>mikerock</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/hardware-and-software/threads/457017/what-is-the-difference-between-mx-and-spark</guid>
		</item>
				<item>
			<title>Random Number game, not working..</title>
			<link>http://www.daniweb.com/software-development/java/threads/457016/random-number-game-not-working</link>
			<pubDate>Wed, 19 Jun 2013 17:27:55 +0000</pubDate>
			<description>HI, I am new to java programming. So, while practicing some java programming. I got a very strange logical error. Does'nt matter what the user enters, the programm always returs the result as true. Please, tell where I am stuck: I will be positing my code here: import java.util.Random; import ...</description>
			<content:encoded><![CDATA[ <p>HI,<br />
I am new to java programming. So, while practicing some java programming. I got a very strange logical error.</p>

<p>Does'nt matter what the user enters, the programm always returs the result as true.<br />
Please, tell where I am stuck:</p>

<p>I will be  positing my code here:</p>

<p>import java.util.Random;<br />
import java.util.Scanner;</p>

<pre><code class="language-java">public class Tanmay {

    public static void main(String... asd) {
        int b = 0;
        Random randomGenerator = new Random();
        int a = randomGenerator.nextInt(10);
        System.out.println(a);
        network n = new network();
        n.setter(a);

        Scanner d = new Scanner(System.in);

        int c;
        System.out.print("\nplease enter your guess!\n");
        c = d.nextInt();
        n.getter(a);
        System.out.print(c + "\n");
        n.checker();


    }
}
_________________________________________

//the network class:


public class network {

    private int input=0;
    private int checker=1;
public boolean again = false;

    public void setter(int a) {
        input = a;
    }

    public void getter(int a) {
        checker = a;

    }
public void checker(){
    if(input==checker)
System.out.println("its true ");
    else 
        System.out.println("its false");
}


    }
</code></pre>

<p>_________________________</p>

<p>I know, they are many unused variables. Actually when the program was not working. I tried to check the errors, by making the code more simple. That is why I have so many unused variables.</p>

<p>please help out the noob, with this problem..</p>

<p>THank you in advance.</p>
 ]]></content:encoded>
			<category domain="http://www.daniweb.com/software-development/java/9">Java</category>
			<dc:creator>tanmay.majumdar2</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/software-development/java/threads/457016/random-number-game-not-working</guid>
		</item>
				<item>
			<title>How to get thumbs of wordpress quick gallery</title>
			<link>http://www.daniweb.com/web-development/php/threads/457015/how-to-get-thumbs-of-wordpress-quick-gallery</link>
			<pubDate>Wed, 19 Jun 2013 17:00:08 +0000</pubDate>
			<description>Hi friends, I'm using Wordpress 3.5.1 , and have created gallery from add media it works fine for this page but i have need to get thumbs of this inserted gallery in footer.As gallery is updated then thumbs in footer must be updated, Is there any function to get thumbs ...</description>
			<content:encoded><![CDATA[ <p>Hi friends,<br />
I'm using Wordpress 3.5.1 , and have created gallery from add media it works fine for this page but i have need to get thumbs of this inserted gallery in footer.As gallery is updated then thumbs in footer must be updated,  Is there any function to get thumbs for gallery. Actually my client wants these small thumbs like flicker. Every one is welcome to give suggesstions. Thanks in advance</p>
 ]]></content:encoded>
			<category domain="http://www.daniweb.com/web-development/php/17">PHP</category>
			<dc:creator>engr_pir</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/web-development/php/threads/457015/how-to-get-thumbs-of-wordpress-quick-gallery</guid>
		</item>
				<item>
			<title>Preview and spellchecker</title>
			<link>http://www.daniweb.com/community-center/daniweb-community-feedback/threads/457014/preview-and-spellchecker</link>
			<pubDate>Wed, 19 Jun 2013 16:41:31 +0000</pubDate>
			<description>As many of you know, we got rid of the live preview last week. Originally it was intended to just be a test to see if it was causing severe posting lags on very slow computers, but it turns out that most of the regulars prefer not having it (either ...</description>
			<content:encoded><![CDATA[ <p>As many of you know, we got rid of the live preview last week. Originally it was intended to just be a test to see if it was causing severe posting lags on very slow computers, but it turns out that most of the regulars prefer not having it (either that, or the original novelty of it greatly wore off).</p>

<p>Therefore, some of you may have discovered that for the past few days there is a little green checkmark in the top right of the editor toolbar. You can click it to generate a preview that also spellchecks. As before, click the preview to hide it.</p>
 ]]></content:encoded>
			<category domain="http://www.daniweb.com/community-center/daniweb-community-feedback/26">DaniWeb Community Feedback</category>
			<dc:creator>Dani</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/community-center/daniweb-community-feedback/threads/457014/preview-and-spellchecker</guid>
		</item>
				<item>
			<title>Banner Rotator that connects to Database</title>
			<link>http://www.daniweb.com/web-development/php/threads/457013/banner-rotator-that-connects-to-database</link>
			<pubDate>Wed, 19 Jun 2013 16:18:30 +0000</pubDate>
			<description>Hi, I have done some research and have found an example of a banner rotator (that I'm presently using) - as you can see here: http://www.clickteesside.com/ What I'm wanting to do is like the imgsrc, links and message of the rotator to a database value, so that there are more ...</description>
			<content:encoded><![CDATA[ <p>Hi,</p>

<p>I have done some research and have found an example of a banner rotator (that I'm presently using) - as you can see here: <a href="http://www.clickteesside.com/" rel="nofollow">http://www.clickteesside.com/</a></p>

<p>What I'm wanting to do is like the imgsrc, links and message of the rotator to a database value, so that there are more or less images in rotation based on the amount of records in the database.</p>

<p>I have already set up a table (click.click_banners):<br />
- id<br />
- bannerVisible (int)<br />
- bannerImagePath (varchar)<br />
- bannerLink (varchar)<br />
- bannerMsg (varchar)</p>

<p>And the original code for the banner is:</p>

<pre><code>            &lt;section id="bannerArea"&gt;
                &lt;script type="text/javascript"&gt;
                var imgs1 = new Array("images/banner/banner1.jpg","images/banner/banner2.jpg","images/banner/banner3.jpg","images/banner/banner4.jpg");
                var lnks1 = new Array("itunes.html","<a href="http://www.tees-su.org" rel="nofollow">http://www.tees-su.org</a>","<a href="http://jotformeu.com/31343187796362" rel="nofollow">http://jotformeu.com/31343187796362</a>","presenters.php");
                var alt1 = new Array("Download our iTunes app now!","We're at Final Fling!","Give your feedback on our website now!","View our presenters!");
                var currentAd1 = 0;
                var imgCt1 = 4;
                function cycle1() {
                if (currentAd1 == imgCt1) {
                currentAd1 = 0;
                }
                var banner1 = document.getElementById('adBanner1');
                var link1 = document.getElementById('adLink1');
                banner1.src=imgs1[currentAd1]
                banner1.alt=alt1[currentAd1]
                document.getElementById('adLink1').href=lnks1[currentAd1]
                currentAd1++;
                }
                window.setInterval("cycle1()",7000);
            &lt;/script&gt;
            &lt;a href="itunes.html" id="adLink1" target="_top"&gt;
                &lt;img src="images/banner/banner1.jpg" id="adBanner1" border="0" width="100%" height="100%"&gt;&lt;/a&gt;
            &lt;/section&gt;
</code></pre>

<p>I'm just wanting it so that they are uploadable (which I've managed to sort out, so isn't an issue in this matter), and then editable as to whether they're visible and the message/link changeable from the CMS.</p>
 ]]></content:encoded>
			<category domain="http://www.daniweb.com/web-development/php/17">PHP</category>
			<dc:creator>maharrington</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/web-development/php/threads/457013/banner-rotator-that-connects-to-database</guid>
		</item>
				<item>
			<title>Populate Excel template with ASP.NET controls contents</title>
			<link>http://www.daniweb.com/web-development/aspnet/threads/457012/populate-excel-template-with-asp.net-controls-contents</link>
			<pubDate>Wed, 19 Jun 2013 15:27:53 +0000</pubDate>
			<description>Hello, I am working on a web form project in Visual Studio 2012 and MS SQL Server 2008 R2 using Visual Basic. I would like to place an Excel file template in my project folder which would then be modified using the ASP.NET controls on the page and prompt the ...</description>
			<content:encoded><![CDATA[ <p>Hello,</p>

<p>I am working on a web form project in Visual Studio 2012 and MS SQL Server 2008 R2 using Visual Basic.</p>

<p>I would like to place an Excel file template in my project folder which would then be modified using the ASP.NET controls on the page and prompt the user to SaveAs wherever they like on BUTTON click.</p>

<p>Bear in mind the values form the server controls will go into specific cells (e.g Name.Text = "A5").</p>

<p>Can somebody please provide a basic example of how to do this? I can then build a complete one for my application.</p>
 ]]></content:encoded>
			<category domain="http://www.daniweb.com/web-development/aspnet/18">ASP.NET</category>
			<dc:creator>jagtar8642</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/web-development/aspnet/threads/457012/populate-excel-template-with-asp.net-controls-contents</guid>
		</item>
				<item>
			<title>traceback error</title>
			<link>http://www.daniweb.com/software-development/python/threads/457011/traceback-error</link>
			<pubDate>Wed, 19 Jun 2013 15:00:56 +0000</pubDate>
			<description>I have included the entire source. I am getting the traceback error. import os import sys import fileinput import datetime from time import localtime name = sys.argv[1] # log specifies the file that is supposed to be parsed by the script log = fileinput.input('/var/log/secure.log') L = localtime() CalendarMonth = L[1] ...</description>
			<content:encoded><![CDATA[ <p>I have included the entire source. I am getting the traceback error.</p>

<pre><code class="language-py">import os
import sys
import fileinput
import datetime
from time import localtime
name = sys.argv[1]
# log specifies the file that is supposed to be parsed by the script
log = fileinput.input('/var/log/secure.log')
L = localtime()
CalendarMonth = L[1]
today = L[2]
Month = ['Jan','Feb','Mar','Apr','May','Jun','Jul','Aug','Sep','Oct','Nov','Dec']
MonthVar = CalendarMonth - 1
MonthName = Month[MonthVar]
#
#def timetest determines whether the user logged in within the last hour
#
def timetest(hour,min, sec, Hour, Min, Sec):


    x = (int(hour)*60)+int(min)+(int(sec)/60) - 180


        y = (int(Hour)*60)+int(Min)+(int(Sec)/60)
        if y &gt;= x:
                z = 'true'
        else:
                z = 'false'
        return z
login = 'User info context values set for'
logwindow = 'Showing Login Window'
failedauth = 'Failed to authenticate'
firstlist = []
for line in log:


    if MonthName in line:


                h = line.split()
                day = float(h[1])
                if day == today:
                        if login in line:
                                firstlist.append(line)
                        elif failedauth in line:
                                firstlist.append(line)
                        elif logwindow in line:
                                firstlist.append(line)
                        else: pass
                else: pass
        else: pass
firstlistlength = int(len(firstlist))
if firstlistlength == 0:


    pass


else:


            count1 = 0


        count2 = 0
        actuallist = []
        while count1 &lt;= count2:
                if count1 == count2:
                        tryline = firstlist[count1]
                        count3 = count1 + 1
                        try:
                                nextline = firstlist[count3]
                        except IndexError:
                                actuallist.append(tryline)
                                break
                        if login in tryline:
                                if failedauth in nextline:
                                        count1 = count1 + 1
                                        count2 = count2 + 1
                                else:
                                        actuallist.append(tryline)
                                        count1 = count1 + 1
                                        count2 = count2 + 1
                        else:
                                count1 = count1 + 1
                                count2 = count2 + 1
                else:
                        pass
if firstlistlength == 0:
 pass
else:
 actuallist.reverse()
 lastlogin = []
 namelist = []
 for line in actuallist:
  if name in namelist:
   pass
  elif name in line:
   lastlogin.append(line)
   namelist.append(name)
  else:
   lastlogin.append(line)
   intlastlogin = int(len(lastlogin))
   if int(len(namelist)) == 0:


          pass


 else:
  if intlastlogin == 1:
   #this is were the actual rsync command is executed
   rsync = 'rsync -rlptoDuz --ignore-errors --bwlimit=3000 --exclude-from=/home/shared/sync/exclude --delete /home/'+name+'/ /Volumes/local/io-works/home/'+name+'/'
   os.system(rsync)
  else:
   intnextline = int(intlastlogin - 2)
   nextline = lastlogin[intnextline]
   sys.stdout.write(nextline)
   sys.stdout.write('\n')
   tim = datetime.datetime.now()
   hour = '%d' %tim.hour
   min = '%d' %tim.minute
   sec = '%d' %tim.second
   index1 = nextline.split()
   Time = index1[2]
   Hour = Time[:2]
   Min = Time[3:5]
   Sec = Time[6:]
   test = timetest(hour,min, sec, Hour, Min, Sec)
if test == 'true':


                      #this is were the actual rsync command is executed


    rsync = 'rsync -rlptoDuz --ignore-errors --bwlimit=3000 --exclude-from=/home/shared/sync/exclude --delete /home/'+name+'/ /Volumes/local/io-works/home/'+name+'/'
    os.system(rsync)
else:


           pass




**Error:**
Traceback (most recent call last):
** IDLE Internal Exception: 
  File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/idlelib/run.py", line 334, in runcode


        exec(code, self.locals)


  File "/home/ldaniel/Desktop/run.py", line 6, in &lt;module&gt;

IndexError: list index out of range
</code></pre>

<p>Please help me</p>
 ]]></content:encoded>
			<category domain="http://www.daniweb.com/software-development/python/114">Python</category>
			<dc:creator>LincyDaniel</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/software-development/python/threads/457011/traceback-error</guid>
		</item>
				<item>
			<title>Query Database Between Month Date Ranges</title>
			<link>http://www.daniweb.com/web-development/databases/ms-sql/threads/457010/query-database-between-month-date-ranges</link>
			<pubDate>Wed, 19 Jun 2013 14:52:28 +0000</pubDate>
			<description>Hi All, This is something I should know but for whatever reason today it is eluding my mind. I'm trying to query our database to provide me with data between March 2012 and March 2013. Initially, I had the following line: where a.IPI_Ref_Date between '2012' and GETDATE() and the output ...</description>
			<content:encoded><![CDATA[ <p>Hi All,</p>

<p>This is something I should know but for whatever reason today it is eluding my mind.  I'm trying to query our database to provide me with data between March 2012 and March 2013.  Initially, I had the following line:</p>

<pre><code class="language-sql">where a.IPI_Ref_Date between '2012' and GETDATE()
</code></pre>

<p>and the output was from Jan-2012 to our most recent April 2013.  The information request (IR) I received changed in that the person asking for the IR now wants the data to be from March to March but my statement is getting all messed up because I'm not querying this right.  I'd show what I've tried but I don't see a point in offering bad SQL statements.  Can someone please advise me so that I can do this right?</p>
 ]]></content:encoded>
			<category domain="http://www.daniweb.com/web-development/databases/ms-sql/127">MS SQL</category>
			<dc:creator>Stuugie</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/web-development/databases/ms-sql/threads/457010/query-database-between-month-date-ranges</guid>
		</item>
				<item>
			<title>I could not show the bullet</title>
			<link>http://www.daniweb.com/software-development/java/threads/457009/i-could-not-show-the-bullet</link>
			<pubDate>Wed, 19 Jun 2013 14:10:32 +0000</pubDate>
			<description>Hi, I am making a simple game,this is my first time to develop java game,but i think i am lost in my code,i could not display or show my bullet when i pressed arrow up,can you help me please how can i achieve on this. here is my simple code. ...</description>
			<content:encoded><![CDATA[ <p>Hi, I am making a simple game,this is my first time to develop java game,but i think i am lost in my code,i could not display or show my bullet when i pressed arrow up,can you help me please how can i achieve on this.</p>

<p>here is my simple code.</p>

<pre><code class="language-java">import javax.imageio.ImageIO;
import javax.swing.*;
import java.awt.*;
import java.awt.event.ActionEvent;
import java.awt.event.KeyEvent;
import java.io.IOException;
import java.util.*;
import java.util.List;


public class Mygame{
    private Image ship;
    private boolean up;
    private boolean down;
    private boolean right;
    private boolean left;
    private int posX = 300;
    private int posY = 560;
    Graphics2D g2d;
    Thread gameloop;
    Bullet bb = new Bullet();
    Mypanel p = new Mypanel();



    public Mygame(){

        JFrame frame = new JFrame("Title");
        frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        Mypanel panel = new Mypanel();

        panel.setPreferredSize(new Dimension(600,600));
        frame.add(panel);
        frame.pack();
        frame.setVisible(true);
        panel.startGame();



    }

     class Mypanel extends JPanel{

        private List &lt;Bullet&gt; bullets = new ArrayList &lt;Bullet&gt;();

        public Mypanel() {

            try {
                ship = ImageIO.read(getClass().getResource("images/spaceship.png"));
            } catch (IOException exc) {
                exc.printStackTrace();
            }

            bullets = new ArrayList &lt;Bullet&gt;();

            bullets.add(new Bullet(posX,posY));

            getInputMap(JComponent.WHEN_IN_FOCUSED_WINDOW).put(KeyStroke.getKeyStroke(KeyEvent.VK_UP, 0, false),
                    "arrowUP");
            getActionMap().put("arrowUP",
                    arrowUP);


            Action arrowUP = new AbstractAction() {
            public void actionPerformed(ActionEvent e) {
                up = true;
                posY-=5;
                repaint();

            }
        };

          public void paintComponent(Graphics g) {
            super.paintComponent(g);
            Graphics2D g2d = (Graphics2D) g;
            g2d.fillRect(0,0,600,600);
            g2d.setColor(Color.BLACK);
            g2d.drawImage(ship, posX, posY, null);

        }

    }



    class Bullet{
        final int speed = 2;
        int x,y;
        public Bullet(){}
         Bullet(int x, int y){
           this.x = x;
           this.y = y;

         }

        public void setX(int x){
            this.x = x;
        }


        public void setY(int y){
            this.y=y;
        }

        public int getX(){
            return x;
        }

       public int getY(){
           return y;
       }

       public void moveForward(){
           y-=speed;

       }

    }





       public static void main(String []args) {
          new Mygame();
    }   
}   
</code></pre>
 ]]></content:encoded>
			<category domain="http://www.daniweb.com/software-development/java/9">Java</category>
			<dc:creator>Huang xiao</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/software-development/java/threads/457009/i-could-not-show-the-bullet</guid>
		</item>
				<item>
			<title>PHP Errors???</title>
			<link>http://www.daniweb.com/web-development/php/threads/457008/php-errors</link>
			<pubDate>Wed, 19 Jun 2013 14:00:35 +0000</pubDate>
			<description>Im writing some code to send out emails for work. And i've been stuck on with this error for a while nw. Any help will be greatly appreciated. Error message: Warning: mysql_fetch_assoc() expects parameter 1 to be resource, boolean given in C:\wamp\www\PHP\mailMany.php on line 21 Heres my code: &lt;?php // ...</description>
			<content:encoded><![CDATA[ <p>Im writing some code to send out emails for work. And i've been stuck on with this error for a while nw. Any help will be greatly appreciated.</p>

<p>Error message:  Warning: mysql_fetch_assoc() expects parameter 1 to be resource, boolean given in C:\wamp\www\PHP\mailMany.php on line 21</p>

<p>Heres my code:</p>

<pre><code>&lt;?php
// Check, if submitted.
//if($submit)
if(isset($_POST['submit'])){

// Get variables from POST method form.
$subject=$_POST['subject'];
$note=$_POST['note'];

$sender="joelyonswork@gmail.com"; // Your Email here.

echo "Email has been sent to:";

// Connect database
mysql_connect("localhost","root","");
mysql_select_db("commercialenterprise");

$rs=mysql_query("select CommercialEnterprise_Email from commercialenterprise WHERE 'town' = 'Killkee'");

// Do while loop to send email.
</code></pre>

<p>The Line below is where error is.</p>

<pre><code>while($row=mysql_fetch_assoc($rs)){
$to=$row['email'];
$mail_from="From:$email n";
$mail_from .="Content-Type: text/html; charset=utf-8 n";

mail($to,$subject,$note,$mail_from);

// Show sent emails.
echo "$row[email]&lt;br&gt;";
}
}
else{

// Do following codes if not found "Submit" value.(Not submitted)
?&gt;
&lt;html xmlns="<a href="http://www.w3.org/1999/xhtml" rel="nofollow">http://www.w3.org/1999/xhtml</a>"&gt;
&lt;head&gt;
&lt;meta http-equiv="Content-Type" content="text/html; charset=utf-8" /&gt;
&lt;/head&gt;
&lt;title&gt;Email Form&lt;/title&gt;
&lt;body&gt;
&lt;form action="&lt;? echo $PHP_SELF; ?&gt;" method="post" name="form" id="form"&gt;
&lt;table&gt;
&lt;tr&gt;
&lt;td align="right"&gt;Subject : &lt;/td&gt;
&lt;td&gt;&lt;input name="email" type="text" id="email" /&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td align="right" valign="top"&gt;Note : &lt;/td&gt;
&lt;td&gt;&lt;textarea name="comment" cols="60" rows="5" id="comment"&gt;&lt;/textarea&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt;
&lt;input type="submit" name="Submit" value="Send Email" /&gt;
&lt;/form&gt;
&lt;/body&gt;
&lt;/html&gt;
&lt;?php } ?&gt;
</code></pre>

<p>Thanks in advance :)</p>
 ]]></content:encoded>
			<category domain="http://www.daniweb.com/web-development/php/17">PHP</category>
			<dc:creator>joseph.lyons.754</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/web-development/php/threads/457008/php-errors</guid>
		</item>
				<item>
			<title>Set preferred IPv4 address</title>
			<link>http://www.daniweb.com/hardware-and-software/microsoft-windows/windows-vista-and-windows-7-8/threads/457007/set-preferred-ipv4-address</link>
			<pubDate>Wed, 19 Jun 2013 13:59:35 +0000</pubDate>
			<description>I have a Windows 7 Pro machine and have two assigned IP addresses. One is the local IP address, set as a static, reserved on DHCP server, and needed for authentication to accesses certain network programs. This is the one I need to be the primary. However, I needed to ...</description>
			<content:encoded><![CDATA[ <p>I have a Windows 7 Pro machine and have two assigned IP addresses. One is the local IP address, set as a static, reserved on DHCP server, and needed for authentication to accesses certain network programs. This is the one I need to be the primary. However, I needed to add a second IP address, a 10.x.x.x which connects to another server to allow access to a remote program. The problem is, after adding this 2nd address, I cannot log in to MS Lync (which is not the program requiring the 10.x.x.x address). Running the ipconfig command reveals the 10.x.x.x is the primary IP address, with the 192.168.x.x address being listed secondarily. As soon as I delete off the 10.x.x.x address, MS Lync works again (by works I mean it logs in, otherwise it won't).</p>
 ]]></content:encoded>
			<category domain="http://www.daniweb.com/hardware-and-software/microsoft-windows/windows-vista-and-windows-7-8/38">Windows Vista and Windows 7 / 8</category>
			<dc:creator>troverman</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/hardware-and-software/microsoft-windows/windows-vista-and-windows-7-8/threads/457007/set-preferred-ipv4-address</guid>
		</item>
				<item>
			<title>Linq time searching</title>
			<link>http://www.daniweb.com/software-development/csharp/threads/457006/linq-time-searching</link>
			<pubDate>Wed, 19 Jun 2013 13:41:31 +0000</pubDate>
			<description>So I have this linq code and I am trying to get it to look at the datbase and what it is doing is pulling back the last record put into the database. My asp page refreshes and displays the new information that was updated. What I want is to ...</description>
			<content:encoded><![CDATA[ <p>So I have this linq code and I am trying to get it to look at the datbase and what it is doing is pulling back the last record put into the database.<br />
My asp page refreshes and displays the new information that was updated.</p>

<p>What I want is to have it so when a row has not been updated in 5 minutes that it turns the textbox red. I know how to do the change the textbox but I do not know how to search if a row was updated in the last 5 minutes or not. I do not want it to check if the textbox has changed or not becuase we use a lot of the same numbers and will read it as not changing.</p>

<p>This is what I have.</p>

<pre><code class="language-cs">var RedLine4Sc1 = (from l in ***.***
                                       where l.**_Port == 4 &amp;&amp; l.**_Port == 1 &amp;&amp; l.***_Number == 1 &amp;&amp; l.Date_Processed &gt;= startDateTime
                                       select l.Date_Processed);
</code></pre>

<p>I know this is not correct because it is just seeing if the processed date is == to the time and I was just messing aorund with stuff.</p>

<p>Just tried this because figured it might be better but getting an error. Think it is because it does not see the datetime.</p>

<pre><code class="language-cs"> if (Convert.ToDateTime(RedLine4Sc1) &gt;= redDateTime)
</code></pre>

<p>Any help would be appriciative.<br />
Thanks.</p>
 ]]></content:encoded>
			<category domain="http://www.daniweb.com/software-development/csharp/61">C#</category>
			<dc:creator>Kratoswoo</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/software-development/csharp/threads/457006/linq-time-searching</guid>
		</item>
				<item>
			<title>create sub selects with radio buttons in a form</title>
			<link>http://www.daniweb.com/web-development/php/threads/457005/create-sub-selects-with-radio-buttons-in-a-form</link>
			<pubDate>Wed, 19 Jun 2013 13:41:27 +0000</pubDate>
			<description>Good Morning, I am trying to create a dealer order form for products which occasionally have a sub selection for color available. It is always limited to 2 colors if there is an option, and the number of items is very limited (max of 8) What I would like to ...</description>
			<content:encoded><![CDATA[ <p>Good Morning,</p>

<p>I am trying to create a dealer order form for products which occasionally have a sub selection for color available.</p>

<p>It is always limited to 2 colors if there is an option, and the number of items is very limited (max of 8)</p>

<p>What I would like to do is have the primary items/ descriptions available with radio buttons to select a single item only.  Then, depending on which item was selected, if it has both color options, give them a secondary radio button to select that.  But if only one color is available, then not display anything regarding the color.</p>

<p>I'm assuming that it would take some sort of javascript to accomplish this, but looking for some direction so I'm heading in the right direction from the start.</p>

<p>Thanks,<br />
Douglas</p>
 ]]></content:encoded>
			<category domain="http://www.daniweb.com/web-development/php/17">PHP</category>
			<dc:creator>showman13</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/web-development/php/threads/457005/create-sub-selects-with-radio-buttons-in-a-form</guid>
		</item>
				<item>
			<title>Open up SaveAs dialog when exporting data to Excel</title>
			<link>http://www.daniweb.com/software-development/vbnet/threads/457004/open-up-saveas-dialog-when-exporting-data-to-excel</link>
			<pubDate>Wed, 19 Jun 2013 13:37:53 +0000</pubDate>
			<description>Hi All, Please help me with this task - this is the only thing stopping me from completing the project. Protected Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click ' Here we go. All the data in the form to an Excel sheet. Cross your fingers... Dim oExcel As ...</description>
			<content:encoded><![CDATA[ <p>Hi All,</p>

<p>Please help me with this task - this is the only thing stopping me from completing the project.</p>

<pre><code class="language-vb">Protected Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click        
        ' Here we go. All the data in the form to an Excel sheet. Cross your fingers...
        Dim oExcel As Object
        Dim oBook As Object
        Dim oSheet As Object

        'Start a new workbook in Excel- this isn't really what I need though, I need it to open a template and populate it.
        oExcel = CreateObject("Excel.Application")
        oBook = oExcel.Workbooks.Open("C:\Users\jagtars\Desktop\HI Resources\HI.xlsx")


        'Add data to cells of the first worksheet in the new workbook
        oSheet = oBook.Worksheets(1)
        oSheet.Range("H5").Value = CustomerName.Text
        oSheet.Range("K5").Value = dropdown_serverVirtualisation.Value
        oSheet.Range("L5").Value = dropdown_desktopVirtualisation.Value
        oSheet.Range("M5").Value = dropdown_oracle.Value
        oSheet.Range("N5").Value = dropdown_sqlServer.Value
        'etc....


        'Save the Workbook and Quit Excel
        oBook.SaveAs("C:\Users\jagtars\Desktop\HI.xlsx")
        MessageBox.Text = "Exported!"
        MessageBox.Focus()
        oExcel.Quit()
    End Sub
End Class
</code></pre>

<p>This works but I have a few issues.</p>

<p>Firstly, I would like to reference the template file within the project folder and secondly I would like a prompt to for SaveAs.</p>

<p>Currently this code open up this files from a folder in my Desktop and saves it as a new file in my Desktop.</p>

<p>How can i modify this code to do the two things I require.</p>
 ]]></content:encoded>
			<category domain="http://www.daniweb.com/software-development/vbnet/58">VB.NET</category>
			<dc:creator>jagtar8642</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/software-development/vbnet/threads/457004/open-up-saveas-dialog-when-exporting-data-to-excel</guid>
		</item>
				<item>
			<title>Pst corrupt</title>
			<link>http://www.daniweb.com/hardware-and-software/microsoft-windows/windows-servers/threads/457003/pst-corrupt</link>
			<pubDate>Wed, 19 Jun 2013 13:36:35 +0000</pubDate>
			<description>guys, i have a pst file on a windows server 2003, this morning it gave issues connecting. when i checked it i realised that the size was 64 kb, run a scanpst and it became 254kb but still there is no information in it. how can i restore or repair ...</description>
			<content:encoded><![CDATA[ <p>guys, i have a pst file on a windows server 2003, this morning it gave issues connecting. when i checked it i realised that the size was 64 kb, run a scanpst and it became 254kb but still there is no information in it. how can i restore or repair it. please help</p>
 ]]></content:encoded>
			<category domain="http://www.daniweb.com/hardware-and-software/microsoft-windows/windows-servers/115">Windows Servers</category>
			<dc:creator>darks</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/hardware-and-software/microsoft-windows/windows-servers/threads/457003/pst-corrupt</guid>
		</item>
				<item>
			<title>Divided Catergories/Directories in a listboz</title>
			<link>http://www.daniweb.com/software-development/csharp/threads/457002/divided-catergoriesdirectories-in-a-listboz</link>
			<pubDate>Wed, 19 Jun 2013 13:10:11 +0000</pubDate>
			<description>Hi, I just finished making a program which displays all the files in a directory and lets me open them when selected. What I find is that I get every file found in the directory however not divided by sub-directory, is there a way i can do this showing it ...</description>
			<content:encoded><![CDATA[ <p>Hi, I just finished making a program which displays all the files in a directory and lets me open them when selected. What I find is that I get every file found in the directory however not divided by sub-directory, is there a way i can do this showing it on the listbox?</p>

<p>Heres my code so far.</p>

<pre><code class="language-cs">List&lt;FileInfo&gt; myBooks = new List&lt;FileInfo&gt;();

void fileInfoDelegate()
        {
            myBooks.Sort(
                delegate(FileInfo a, FileInfo b)
                {
                    return a.Name.CompareTo(b.Name);
                });
        }

//VideoTraining
        private void button8_Click(object sender, EventArgs e)
        {
            clear(); // clear lstbox b4 repopulate.
            myBooks.AddRange(new DirectoryInfo(@"C:VideoTraining\").GetFiles("*.*", SearchOption.AllDirectories));
            fileInfoDelegate();
            listBox1.DataSource = myBooks;
            boxempty();  // returns msg if lstbox is empty   
        }

        //OpenFile
    private void button13_Click(object sender, EventArgs e)
    {

        FileInfo TempInfo = myBooks[listBox1.SelectedIndex];
        System.Diagnostics.Process.Start(TempInfo.FullName);
    }
</code></pre>

<p>Thanks Guys.</p>
 ]]></content:encoded>
			<category domain="http://www.daniweb.com/software-development/csharp/61">C#</category>
			<dc:creator>ogsirus</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/software-development/csharp/threads/457002/divided-catergoriesdirectories-in-a-listboz</guid>
		</item>
				<item>
			<title>Could you answer this?</title>
			<link>http://www.daniweb.com/web-development/web-design-html-and-css/threads/457001/could-you-answer-this</link>
			<pubDate>Wed, 19 Jun 2013 13:06:51 +0000</pubDate>
			<description>hi i would like to know how people make the litle blue bar at the top of the mojomarketplace site that someone can exit if they dont want it ?</description>
			<content:encoded><![CDATA[ <p>hi i would like to know how people make the litle blue bar at the top of the mojomarketplace site that someone can exit if they dont want it<br />
?</p>
 ]]></content:encoded>
			<category domain="http://www.daniweb.com/web-development/web-design-html-and-css/15">Web Design, HTML and CSS</category>
			<dc:creator>sidneyvan94</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/web-development/web-design-html-and-css/threads/457001/could-you-answer-this</guid>
		</item>
				<item>
			<title>LINQ union problem</title>
			<link>http://www.daniweb.com/software-development/csharp/threads/457000/linq-union-problem</link>
			<pubDate>Wed, 19 Jun 2013 12:38:12 +0000</pubDate>
			<description>Hi, I have two LINQ queries that produce two different results, but the fields, while having different names, are essentially the same. I am trying to union them together (although concat in this case should produce the same results), but I am getting an error. My thought is that I ...</description>
			<content:encoded><![CDATA[ <p>Hi,</p>

<p>I have two LINQ queries that produce two different results, but the fields, while having different names, are essentially the same. I am trying to union them together (although concat in this case should produce the same results), but I am getting an error. My thought is that I somehow need to declare the type of the resulting fields, but I am not sure how to do that and if it is correct. Could anyone guide me down the right path to figure out what is wrong? Thanks very much. I have the code and the error below.</p>

<pre><code class="language-cs">        var gen= from g in db.tbl_Generator
                  join a in db.tbl_Gen_Allocation on g.Unit_ID equals a.Unit_ID
                  join t in strContractType on 1 equals 1
                  where a.Begin_Date &lt;= dteEnd &amp;&amp; a.End_Date &gt;= dteBegin
                  select new { g.Generator_Name, g.ISO_Asset_ID, a.Begin_Date, a.End_Date, a.System_ID };

        //Get all gen in this time frame
        var con = from c in db.tbl_Contracts
                  join a in db.tbl_Contracts_Allocation on c.Contract_ID equals a.Contract_ID
                  join t in strContractType on 1 equals 1
                  where a.Begin_Date &lt;= dteEnd &amp;&amp; a.End_Date &gt;= dteBegin
                  select new { c.Name, c.Contract_ID, a.Begin_Date, a.End_Date, a.System_ID };

        //union gens and contracts
        var unionResources = gen.Union(con);
</code></pre>

<p>Error   1   'System.Linq.IQueryable&lt;AnonymousType#1&gt;' does not contain a definition for 'Union' and the best extension method overload 'System.Linq.ParallelEnumerable.Union&lt;TSource&gt;(System.Linq.ParallelQuery&lt;TSource&gt;, System.Collections.Generic.IEnumerable&lt;TSource&gt;)' has some invalid arguments</p>
 ]]></content:encoded>
			<category domain="http://www.daniweb.com/software-development/csharp/61">C#</category>
			<dc:creator>jkvt</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/software-development/csharp/threads/457000/linq-union-problem</guid>
		</item>
				<item>
			<title>white hat tactic</title>
			<link>http://www.daniweb.com/internet-marketing/promotion-and-marketing-plans/threads/456998/white-hat-tactic</link>
			<pubDate>Wed, 19 Jun 2013 12:29:36 +0000</pubDate>
			<description>what are the white hat tectic through which we can use this.</description>
			<content:encoded><![CDATA[ <p>what are the white hat tectic through which we can use this.</p>
 ]]></content:encoded>
			<category domain="http://www.daniweb.com/internet-marketing/promotion-and-marketing-plans/43">Promotion and Marketing Plans</category>
			<dc:creator>madhvidesai</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/internet-marketing/promotion-and-marketing-plans/threads/456998/white-hat-tactic</guid>
		</item>
				<item>
			<title>CPU Not Name but its name System Unit..</title>
			<link>http://www.daniweb.com/hardware-and-software/microsoft-windows/threads/456997/cpu-not-name-but-its-name-system-unit</link>
			<pubDate>Wed, 19 Jun 2013 12:27:27 +0000</pubDate>
			<description>FrienDs Why..We cAll system Unit To CPU.. Realy its Name System Unit Because it Contains (Storage+accesories+processing units) While CPU Stand For Central processing Unit..So its only Process While So its Our Right To Call Him SYSTEM Unit instead of CPU..</description>
			<content:encoded><![CDATA[ <p>FrienDs Why..We cAll system Unit To CPU..<br />
Realy its Name System Unit Because it Contains (Storage+accesories+processing units) While CPU Stand For Central processing Unit..So its only Process While So its Our Right To Call Him SYSTEM Unit instead of CPU..</p>
 ]]></content:encoded>
			<category domain="http://www.daniweb.com/hardware-and-software/microsoft-windows/99">Microsoft Windows</category>
			<dc:creator>Zubairnawaz</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/hardware-and-software/microsoft-windows/threads/456997/cpu-not-name-but-its-name-system-unit</guid>
		</item>
				<item>
			<title>Free Java online course</title>
			<link>http://www.daniweb.com/software-development/java/threads/456996/free-java-online-course</link>
			<pubDate>Wed, 19 Jun 2013 12:14:55 +0000</pubDate>
			<description>Are you interested in java?? Join the free online java course and make java your cup of coffee. The course is totally free.It is spread over 128 lectures in 21 sections with practice problems in sections intended to enhance your practical knowledge of concepts learnt throughout the section. &lt;URL SNIPPED&gt;</description>
			<content:encoded><![CDATA[ <p>Are you interested in java?? Join the free online java course and make java your cup of coffee. The course is totally free.It is spread over 128 lectures in 21 sections with practice problems in sections intended to enhance your practical knowledge of concepts learnt throughout the section.</p>

<p>&lt;URL SNIPPED&gt;</p>
 ]]></content:encoded>
			<category domain="http://www.daniweb.com/software-development/java/9">Java</category>
			<dc:creator>rohansharma</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/software-development/java/threads/456996/free-java-online-course</guid>
		</item>
				<item>
			<title>What is leverage browser caching?</title>
			<link>http://www.daniweb.com/internet-marketing/search-engine-optimization/threads/456995/what-is-leverage-browser-caching</link>
			<pubDate>Wed, 19 Jun 2013 12:10:31 +0000</pubDate>
			<description>Hello Friends Please tell me answer.</description>
			<content:encoded><![CDATA[ <p>Hello Friends<br />
Please tell me answer.</p>
 ]]></content:encoded>
			<category domain="http://www.daniweb.com/internet-marketing/search-engine-optimization/45">Search Engine Optimization</category>
			<dc:creator>Jenelia89</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/internet-marketing/search-engine-optimization/threads/456995/what-is-leverage-browser-caching</guid>
		</item>
				<item>
			<title>Adding a class to all divs</title>
			<link>http://www.daniweb.com/web-development/php/threads/456994/adding-a-class-to-all-divs</link>
			<pubDate>Wed, 19 Jun 2013 12:02:30 +0000</pubDate>
			<description>hi guys, Do you guys have any php code where i could add a new class to a div element in a page? using my code am planning to read the file contents of an html page. I wanted to add a class &quot;modify&quot; to all DIVs which has a ...</description>
			<content:encoded><![CDATA[ <p>hi guys,<br />
Do you guys have any php code where i could add a new class to a div element in a page? using my code am planning to read the file contents of an html page. I wanted to add a class "modify" to all DIVs which has a class and those DIV without a class element will have 'class="modify" ' added to it.</p>

<p>Thanks in advance</p>
 ]]></content:encoded>
			<category domain="http://www.daniweb.com/web-development/php/17">PHP</category>
			<dc:creator>unikorndesigns</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/web-development/php/threads/456994/adding-a-class-to-all-divs</guid>
		</item>
				<item>
			<title>how start simulation by c++</title>
			<link>http://www.daniweb.com/software-development/cpp/threads/456993/how-start-simulation-by-c</link>
			<pubDate>Wed, 19 Jun 2013 11:47:31 +0000</pubDate>
			<description>hi every ; i want to know how to start **simulation using c++** , i searched in many websites in order to find some hints about this subject but i found nothing . Best regards</description>
			<content:encoded><![CDATA[ <p>hi every ; i want to know how to start <strong>simulation using c++</strong> , i searched in many websites in order to find some hints about this subject but i found nothing .<br />
   Best regards</p>
 ]]></content:encoded>
			<category domain="http://www.daniweb.com/software-development/cpp/8">C++</category>
			<dc:creator>tooota</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/software-development/cpp/threads/456993/how-start-simulation-by-c</guid>
		</item>
				<item>
			<title>Works on MinGW, but not on my uni&#039;s computer</title>
			<link>http://www.daniweb.com/software-development/c/threads/456992/works-on-mingw-but-not-on-my-unis-computer</link>
			<pubDate>Wed, 19 Jun 2013 11:47:11 +0000</pubDate>
			<description>I have to make a program that calculates the integral of a function using the simpsons method and the trapezoid method. It works just fine on my computer using MinGW, but when I try to compile it in my uni's computer (GNU OS) I get: It = 0 (should be ...</description>
			<content:encoded><![CDATA[ <p>I have to make a program that calculates the integral of a function using the simpsons method and the trapezoid method. It works just fine on my computer using MinGW, but when I try to compile it in my uni's computer (GNU OS) I get:<br />
It = 0 (should be 0.954499)<br />
pn = 0 (should be 18)<br />
Is = 0 (should be 0.954500)<br />
pn = 0 (should be 6)</p>

<p>This is what I came up with (sorry the variables and comments are in portuguese, I'll fix it later after I get home):</p>

<p>integral.h:</p>

<pre><code class="language-c">#include &lt;stdio.h&gt;
#include &lt;math.h&gt;

#define eps 1.e-6
#define kmax 20

double trapezio(double (*f)(double x), double a, double b, int *n);
double simpson(double (*f)(double x), double a, double b, int *n);
</code></pre>

<p>integral.c:</p>

<pre><code class="language-c">#include "integral.h"
#define xmin -2
#define xmax 2

double f(double x);

int main(){
    double It,Is;
    int n = 0;
    int *pn = NULL;

    pn = &amp;n;
    It = trapezio(f,xmin,xmax,pn)/sqrt(2*M_PI);
    printf("Pelo metodo dos trapezios a integral vale aproximadamente %lf\n", It);
    printf("O numero de iteracoes usadas foi %d\n\n",*pn);

    *pn = 0;
    Is = simpson(f,xmin,xmax,pn)/sqrt(2*M_PI);
    printf("Pelo metodo de simpson a integral vale aproximadamente %lf\n", Is);
    printf("O numero de iteracoes usadas foi %d\n",*pn);

    return 0;
}

double f(double x){
    return exp(-0.5*x*x); // Funcao que sera integrada
}
</code></pre>

<p>trapezio.c:</p>

<pre><code class="language-c">#include "integral.h"

double trapezio(double (*f)(double x), double a, double b, int *n){
    double To, Tk;
    double soma;
    int i, k = 1;
    Tk = 0.5*(f(a) - f(b))*(b - a);

    while (fabs((Tk-To)/To) &gt; eps &amp;&amp; k &lt; kmax){
        soma = 0; // Resetando variavel soma
        To = Tk; // To e' T(k - 1), caso o loop se repita o ultimo Tk vira To
        for (i = 1 ; i &lt;= (pow(2,k)-1) ; i += 2) soma += f(a + i*(b - a)/pow(2.,k));
        Tk = 0.5*To + soma*(b - a)/pow(2.,k);
        k++;
        *n += 1;
    }

    return Tk;
}
</code></pre>

<p>simpson.c:</p>

<pre><code class="language-c">#include "integral.h"

double simpson(double (*f)(double x), double a, double b, int *n){
    double So, Sk = 0;
    double somaimp, somapar;
    int i, k = 1;

    while (fabs((Sk-So)/So) &gt; eps &amp;&amp; k &lt; kmax){
        somaimp = 0;
        somapar = 0;
        So = Sk; // So e' S(k - 1)
        for (i = 1; i &lt;= (pow(2,k)-1); i += 2) somaimp += f(a + i*(b - a)/pow(2.,k));
        for (i = 2; i &lt;= (pow(2,k)-2); i += 2) somapar += f(a + i*(b - a)/pow(2.,k));
        Sk = (b - a)*(f(a) + 4*somaimp + 2*somapar + f(b))/(3*pow(2.,k));
        k++;
        *n += 1;
    }

    return Sk;
}
</code></pre>

<p>Edit: I forgot to mention that if I take the pointer out, trapezio works, but simpson still returns 0.</p>
 ]]></content:encoded>
			<category domain="http://www.daniweb.com/software-development/c/118">C</category>
			<dc:creator>Arroway</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/software-development/c/threads/456992/works-on-mingw-but-not-on-my-unis-computer</guid>
		</item>
				<item>
			<title>logging out</title>
			<link>http://www.daniweb.com/web-development/aspnet/threads/456991/logging-out</link>
			<pubDate>Wed, 19 Jun 2013 11:46:34 +0000</pubDate>
			<description>hello i m building a website with asp.net language and i have made the session and the login and log out but i have trouble that when i click back in the browser and return the session remain so my question how to end the session and return to the ...</description>
			<content:encoded><![CDATA[ <p>hello</p>

<p>i m building a website with asp.net language  and i have made the session and the login and log out<br />
but i have trouble that when i click back in the browser  and return the session remain<br />
so my question how to end the session and return to the main page (logon page) and  (my information about java is like a beginnner ) and i have read that i can make this by java to end the session<br />
hope i will have an answer :)</p>
 ]]></content:encoded>
			<category domain="http://www.daniweb.com/web-development/aspnet/18">ASP.NET</category>
			<dc:creator>samoslook</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/web-development/aspnet/threads/456991/logging-out</guid>
		</item>
				<item>
			<title>problem...</title>
			<link>http://www.daniweb.com/hardware-and-software/microsoft-windows/windows-servers/threads/456990/problem</link>
			<pubDate>Wed, 19 Jun 2013 10:47:23 +0000</pubDate>
			<description>i am working in windows server 2003 and also have tele router for internate use. but the problems happens the router is not work the clinte pcs is not open the files from serve becuase of very slow how to solve the problems and how to give the dnsv and ...</description>
			<content:encoded><![CDATA[ <p>i am working in windows server 2003 and also have tele router for internate use. but the problems happens the router is not work the clinte pcs is not open the files from serve becuase of very slow how to solve the problems and how to give the dnsv and also the clinet pcs hint: router 192.168.1.1 server 192.168.1.2 dns 213.55.96.146 and 213.55.96.166 the defualt gateway 192.168.1.1</p>
 ]]></content:encoded>
			<category domain="http://www.daniweb.com/hardware-and-software/microsoft-windows/windows-servers/115">Windows Servers</category>
			<dc:creator>حسنين_1</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/hardware-and-software/microsoft-windows/windows-servers/threads/456990/problem</guid>
		</item>
				<item>
			<title>python</title>
			<link>http://www.daniweb.com/software-development/python/threads/456989/python</link>
			<pubDate>Wed, 19 Jun 2013 09:40:59 +0000</pubDate>
			<description>Given: A string s of length at most 200 letters and four integers a, b, c and d. Return: The slice of this string from indices a through b and c through d (with space in between), inclusively.</description>
			<content:encoded><![CDATA[ <p>Given: A string s of length at most 200 letters and four integers a, b, c and d.</p>

<p>Return: The slice of this string from indices a through b and c through d (with space in between), inclusively.</p>
 ]]></content:encoded>
			<category domain="http://www.daniweb.com/software-development/python/114">Python</category>
			<dc:creator>shahinalam07</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/software-development/python/threads/456989/python</guid>
		</item>
				<item>
			<title>replace arrays issue</title>
			<link>http://www.daniweb.com/web-development/php/threads/456988/replace-arrays-issue</link>
			<pubDate>Wed, 19 Jun 2013 09:33:06 +0000</pubDate>
			<description>Hi I have been using a replace array which has worked wonders but now I have just added one and it wont work why is this please. I can understand why it wont work but do not know what i have to do to sort it. I added the last ...</description>
			<content:encoded><![CDATA[ <p>Hi I have been using a replace array which has worked wonders but now  I have just added one and it wont work why is this please. I can understand why it wont work but do not know what i have to do to sort it. I added the last one to replace a ' with a -</p>

<pre><code>$old = array(' ', '/', 'amp;', ''');
$new = array('-', '-', '-', '-');
</code></pre>

<p>Thanks for your help.</p>
 ]]></content:encoded>
			<category domain="http://www.daniweb.com/web-development/php/17">PHP</category>
			<dc:creator>mpc123</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/web-development/php/threads/456988/replace-arrays-issue</guid>
		</item>
				<item>
			<title>server</title>
			<link>http://www.daniweb.com/hardware-and-software/linux-and-unix/threads/456987/server</link>
			<pubDate>Wed, 19 Jun 2013 09:32:02 +0000</pubDate>
			<description>steps of installing and configuring servers in linux</description>
			<content:encoded><![CDATA[ <p>steps of installing and configuring servers in linux</p>
 ]]></content:encoded>
			<category domain="http://www.daniweb.com/hardware-and-software/linux-and-unix/12">Linux and Unix</category>
			<dc:creator>zeba.khan.71066700</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/hardware-and-software/linux-and-unix/threads/456987/server</guid>
		</item>
				<item>
			<title>Appending an attribute to URL</title>
			<link>http://www.daniweb.com/web-development/aspnet/threads/456986/appending-an-attribute-to-url</link>
			<pubDate>Wed, 19 Jun 2013 08:59:58 +0000</pubDate>
			<description>i'm trying to append a bool variable zoom. zoom is set to true once the btnview is clicked. i did something but it's not working. can someone put me on the right path here. &lt;a id=&quot;btnview&quot; class=&quot;btnview&quot; data-href=&quot;&lt;%=HttpContext.Current.Request.QueryString.Add(&quot;zoom&quot;,true) %&gt;&quot; style=&quot;margin:60px 0 0 0;&quot;&gt;zoom&lt;/a&gt; some how it is not setting the ...</description>
			<content:encoded><![CDATA[ <p>i'm trying to append a bool variable zoom. zoom is set to true once the btnview is clicked. i did something but it's not working. can someone put me on the right path here.</p>

<pre><code>&lt;a id="btnview" class="btnview" data-href="&lt;%=HttpContext.Current.Request.QueryString.Add("zoom",true) %&gt;" style="margin:60px 0 0 0;"&gt;zoom&lt;/a&gt;
</code></pre>

<p>some how it is not setting the zoom value to true.</p>
 ]]></content:encoded>
			<category domain="http://www.daniweb.com/web-development/aspnet/18">ASP.NET</category>
			<dc:creator>goco17</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/web-development/aspnet/threads/456986/appending-an-attribute-to-url</guid>
		</item>
				<item>
			<title>Fibonacci (Prolog)</title>
			<link>http://www.daniweb.com/software-development/legacy-languages/threads/456984/fibonacci-prolog</link>
			<pubDate>Wed, 19 Jun 2013 08:53:55 +0000</pubDate>
			<description>Can anybody explain why this is not working.Can someone help me. fib(0, 0). fib(1, 1). fib(N, NF) :- N&gt;=0, fib(N-1, AF), fib(N-2, BF), NF is AF + BF. .</description>
			<content:encoded><![CDATA[ <p>Can anybody explain why this is not working.Can someone help me.</p>

<pre><code>fib(0, 0).
fib(1, 1).
fib(N, NF) :-
  N&gt;=0,   fib(N-1, AF),    fib(N-2, BF),    NF is AF + BF.
</code></pre>

<p>.</p>
 ]]></content:encoded>
			<category domain="http://www.daniweb.com/software-development/legacy-languages/42">Legacy Languages</category>
			<dc:creator>Dili1234</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/software-development/legacy-languages/threads/456984/fibonacci-prolog</guid>
		</item>
				<item>
			<title>html layout distrube</title>
			<link>http://www.daniweb.com/web-development/php/threads/456983/html-layout-distrube</link>
			<pubDate>Wed, 19 Jun 2013 08:28:54 +0000</pubDate>
			<description>i am showing the emails on my website php page through gamil api the api give me the html of the mails this mail html distrube my wesbite page html i am using below code for the displaying the html of the emails $doc = new DOMDocument(); $doc-&gt;loadHTML($body); $yourText=$doc-&gt;saveHTML(); $body=$yourText; ...</description>
			<content:encoded><![CDATA[ <p>i am showing the emails on my website php page through gamil api the api give me the html of the mails this mail html distrube my wesbite page html  i am using below code for the displaying the html of the emails</p>

<pre><code>$doc = new DOMDocument();
$doc-&gt;loadHTML($body);
$yourText=$doc-&gt;saveHTML();
$body=$yourText;
$body=htmlspecialchars($body);
$body=trim(preg_replace("/\r?\n/", " ",$body));
echo html_entity_decode($body);
</code></pre>

<p>can anybody help me in solving the above issue</p>
 ]]></content:encoded>
			<category domain="http://www.daniweb.com/web-development/php/17">PHP</category>
			<dc:creator>asifnaveed44</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/web-development/php/threads/456983/html-layout-distrube</guid>
		</item>
				<item>
			<title>where to download g++ package for ubuntu 12.04 and how to install offline</title>
			<link>http://www.daniweb.com/software-development/cpp/threads/456982/where-to-download-g-package-for-ubuntu-12.04-and-how-to-install-offline</link>
			<pubDate>Wed, 19 Jun 2013 07:10:28 +0000</pubDate>
			<description>where to download g++ package for ubuntu 12.04 and how to install offline</description>
			<content:encoded><![CDATA[ <p>where to download g++ package for ubuntu 12.04 and how to install offline</p>
 ]]></content:encoded>
			<category domain="http://www.daniweb.com/software-development/cpp/8">C++</category>
			<dc:creator>narlapavan</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/software-development/cpp/threads/456982/where-to-download-g-package-for-ubuntu-12.04-and-how-to-install-offline</guid>
		</item>
				<item>
			<title>search form jquery php</title>
			<link>http://www.daniweb.com/web-development/php/threads/456981/search-form-jquery-php</link>
			<pubDate>Wed, 19 Jun 2013 06:59:37 +0000</pubDate>
			<description>hi i want to create realestate search form. but i don't know how to do it . please help me. for example visit below site [Click Here](http://www.lankaland.lk/)</description>
			<content:encoded><![CDATA[ <p>hi i want to create realestate search form. but i don't know how to do it . please help me.<br />
for example  visit below site <a href="http://www.lankaland.lk/" rel="nofollow">Click Here</a></p>
 ]]></content:encoded>
			<category domain="http://www.daniweb.com/web-development/php/17">PHP</category>
			<dc:creator>nishantharp</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/web-development/php/threads/456981/search-form-jquery-php</guid>
		</item>
				<item>
			<title>import csv file in vb6.0 with ms-access</title>
			<link>http://www.daniweb.com/software-development/visual-basic-4-5-6/threads/456979/import-csv-file-in-vb6.0-with-ms-access</link>
			<pubDate>Wed, 19 Jun 2013 06:39:36 +0000</pubDate>
			<description>Dear sir, i have desinged import application project in vb6.0 and data base connectivity ms-access using, But here first line may be problem importing because first line is information about the data then next numberical are imported properly,so my requirement is importing csv file and datareporting possibly can you sent ...</description>
			<content:encoded><![CDATA[ <p>Dear sir,<br />
i have desinged import application project in vb6.0 and data base connectivity ms-access using, But here first line may be problem importing because first line is information about the data then next numberical are imported properly,so my requirement is importing csv file and datareporting possibly<br />
can you sent me properly coding importing csv below file.</p>

<p>1, 00051873, 04/21/2013, 11:11:25, 04/21/2013, 181,Supplier No. 1, خلاص, 00249157, 307, NA, 25<br />
37.5,21.4,3103,1.75,38.1,41.1<br />
38.8,23.6,3780,1.64,44.4,54.0<br />
39.7,24.1,3893,1.64,40.6,47.1<br />
34.4,21.8,3151,1.55,39.4,44.5<br />
37.0,30.3,4351,1.21,42.2,48.0<br />
37.9,22.3,3387,1.69,44.7,51.4<br />
31.2,23.2,2878,1.35,37.5,42.3<br />
29.0,22.3,2637,1.29,42.7,49.7<br />
31.7,18.3,2361,1.70,44.2,50.9<br />
41.9,25.0,3965,1.67,45.4,54.0<br />
33.0,26.8,3254,1.23,44.0,51.9<br />
37.5,22.7,3486,1.62,39.8,43.8<br />
32.1,20.5,2772,1.53,51.7,59.6<br />
31.2,26.8,3304,1.16,35.9,38.9<br />
37.5,33.0,3713,1.13,47.1,52.9<br />
29.9,24.5,2825,1.21,41.2,46.2<br />
37.0,20.5,2742,1.79,41.0,46.9<br />
31.7,24.1,2829,1.29,46.9,56.9<br />
35.2,23.2,3356,1.50,42.2,49.2<br />
31.7,21.4,2599,1.47,43.3,47.4<br />
31.7,20.5,2741,1.51,50.8,58.8<br />
30.8,23.2,2883,1.32,42.0,46.8<br />
37.5,26.3,3586,1.43,45.5,52.8<br />
34.4,22.3,3106,1.53,42.1,48.0<br />
33.5,21.8,3039,1.52,47.8,54.3</p>
 ]]></content:encoded>
			<category domain="http://www.daniweb.com/software-development/visual-basic-4-5-6/4">Visual Basic 4 / 5 / 6</category>
			<dc:creator>mirzabaig</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/software-development/visual-basic-4-5-6/threads/456979/import-csv-file-in-vb6.0-with-ms-access</guid>
		</item>
				<item>
			<title>Assembler using python?</title>
			<link>http://www.daniweb.com/software-development/python/threads/456978/assembler-using-python</link>
			<pubDate>Wed, 19 Jun 2013 06:23:53 +0000</pubDate>
			<description>Guys! I would like to know if it was possible to create an assembler using python since it has excellent string handling features. Any Ideas how it could be done?</description>
			<content:encoded><![CDATA[ <p>Guys! I would like to know if it was possible to create an assembler using python since it has excellent string handling features. Any Ideas how it could be done?</p>
 ]]></content:encoded>
			<category domain="http://www.daniweb.com/software-development/python/114">Python</category>
			<dc:creator>m_ishwar</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/software-development/python/threads/456978/assembler-using-python</guid>
		</item>
				<item>
			<title>networking</title>
			<link>http://www.daniweb.com/internet-marketing/threads/456977/networking</link>
			<pubDate>Wed, 19 Jun 2013 06:07:45 +0000</pubDate>
			<description>hoe to make free networking communication sites like mig with free without any credit</description>
			<content:encoded><![CDATA[ <p>hoe to make  free networking communication sites like mig with free without any credit</p>
 ]]></content:encoded>
			<category domain="http://www.daniweb.com/internet-marketing/25">Internet Marketing</category>
			<dc:creator>jokeeank</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/internet-marketing/threads/456977/networking</guid>
		</item>
				<item>
			<title>stunnel in user mode</title>
			<link>http://www.daniweb.com/hardware-and-software/linux-and-unix/threads/456976/stunnel-in-user-mode</link>
			<pubDate>Wed, 19 Jun 2013 06:06:48 +0000</pubDate>
			<description>Hi I want to install stunnel in user mode. By user mode I mean that I have created a user using adduser xyz. Now when I run the ps -aef | grep stunnel .. it should show in xyz and not in root. One school of thought was to use ...</description>
			<content:encoded><![CDATA[ <p>Hi</p>

<p>I want to install stunnel in user mode.<br />
By user mode I mean that I have created a user using adduser xyz.<br />
Now when I run the ps -aef | grep stunnel .. it should show in xyz and not in root.<br />
One school of thought was to use the parameters setuid and setgid in stunnel.conf by assigning them both "xyz".<br />
but when I run the daemon, the errors flash<br />
stunnel.pem: No such file or directory (2)<br />
Service [https]: Failed to initialize SSL context</p>

<p>Please drop in ur views :)</p>
 ]]></content:encoded>
			<category domain="http://www.daniweb.com/hardware-and-software/linux-and-unix/12">Linux and Unix</category>
			<dc:creator>leghorn</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/hardware-and-software/linux-and-unix/threads/456976/stunnel-in-user-mode</guid>
		</item>
				<item>
			<title>please help .Having problem in playing the video in php</title>
			<link>http://www.daniweb.com/web-development/php/threads/456975/please-help-.having-problem-in-playing-the-video-in-php</link>
			<pubDate>Wed, 19 Jun 2013 05:57:55 +0000</pubDate>
			<description>view.php &lt;html&gt; &lt;head&gt; &lt;title&gt;Video Upload&lt;/title&gt; &lt;link rel=&quot;stylesheet&quot; href=&quot;styles.css&quot; /&gt; &lt;link href=&quot;http://vjs.zencdn.net/4.0/video-js.css&quot; rel=&quot;stylesheet&quot;&gt; &lt;script src=&quot;http://vjs.zencdn.net/4.0/video.js&quot;&gt;&lt;/script&gt; &lt;/head&gt; &lt;body&gt; &lt;?php include 'connect.php'; ?&gt; &lt;div id=&quot;box&quot;&gt; &lt;?php $video = $_GET['video']; ?&gt; &lt;video id=&quot;my_video_1&quot; class=&quot;video-js vjs-default-skin&quot; controls preload=&quot;auto&quot; width=&quot;500&quot; height=&quot;264&quot; poster=&quot;my_video_poster.png&quot; data-setup=&quot;{}&quot;&gt; &lt;source src=&quot;videos/&lt;?php echo $video; ?&gt;&quot; type='video/mp4' /&gt; &lt;/video&gt; &lt;/div&gt; &lt;/body&gt; &lt;/html&gt;</description>
			<content:encoded><![CDATA[ <p>view.php</p>

<pre><code>&lt;html&gt;
&lt;head&gt;
&lt;title&gt;Video Upload&lt;/title&gt;
&lt;link rel="stylesheet" href="styles.css" /&gt;
&lt;link href="<a href="http://vjs.zencdn.net/4.0/video-js.css" rel="nofollow">http://vjs.zencdn.net/4.0/video-js.css</a>" rel="stylesheet"&gt;
&lt;script src="<a href="http://vjs.zencdn.net/4.0/video.js" rel="nofollow">http://vjs.zencdn.net/4.0/video.js</a>"&gt;&lt;/script&gt;


&lt;/head&gt;

&lt;body&gt;

&lt;?php 
    include 'connect.php';
?&gt;

&lt;div id="box"&gt;
    &lt;?php
        $video = $_GET['video'];
    ?&gt;  

    &lt;video id="my_video_1" class="video-js vjs-default-skin"
  controls preload="auto" width="500" height="264"
  poster="my_video_poster.png"
  data-setup="{}"&gt;
 &lt;source src="videos/&lt;?php echo $video; ?&gt;" type='video/mp4' /&gt;

&lt;/video&gt;

&lt;/div&gt;


&lt;/body&gt;
&lt;/html&gt;
</code></pre>
 ]]></content:encoded>
			<category domain="http://www.daniweb.com/web-development/php/17">PHP</category>
			<dc:creator>shhh</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/web-development/php/threads/456975/please-help-.having-problem-in-playing-the-video-in-php</guid>
		</item>
				<item>
			<title>Implementing Java&#039;s &quot;Exceptions Thrown by a Method&quot; in C#</title>
			<link>http://www.daniweb.com/software-development/csharp/threads/456974/implementing-javas-exceptions-thrown-by-a-method-in-c</link>
			<pubDate>Wed, 19 Jun 2013 05:53:25 +0000</pubDate>
			<description>I have been working on a conversion project for last few days where I need to convert a Java library to C#. At one point I came to java's certain feature called [Exceptions Thrown by a Method](http://docs.oracle.com/javase/tutorial/essential/exceptions/declaring.html). Here is a little glimpse of it: public boolean isRequest() throws NullPointerException { ...</description>
			<content:encoded><![CDATA[ <p>I have been working on a conversion project for last few days where I need to convert a Java library to C#. At one point I came to java's certain feature called <a href="http://docs.oracle.com/javase/tutorial/essential/exceptions/declaring.html" rel="nofollow">Exceptions Thrown by a Method</a>. Here is a little glimpse of it:</p>

<pre><code class="language-cs">public boolean isRequest() throws NullPointerException
   {  
    // blocks of code implementing isRequest() method;
   }
</code></pre>

<p>For the C# implementation of this code snippet, I searched the web and quite shockingly found that, <strong>C# does not support throwing exceptions in the compile time</strong>.</p>

<p>Now my question is, how can I implement this code portion in a C# library?</p>
 ]]></content:encoded>
			<category domain="http://www.daniweb.com/software-development/csharp/61">C#</category>
			<dc:creator>mesbahuk</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/software-development/csharp/threads/456974/implementing-javas-exceptions-thrown-by-a-method-in-c</guid>
		</item>
				<item>
			<title>iTune VS Google Play</title>
			<link>http://www.daniweb.com/hardware-and-software/apple/ios-iphone-os/threads/456973/itune-vs-google-play</link>
			<pubDate>Wed, 19 Jun 2013 05:21:13 +0000</pubDate>
			<description>iTunes and Google Play are may be the toughest competitor, what is your choice?</description>
			<content:encoded><![CDATA[ <p>iTunes and Google Play are may be the toughest competitor, what is your choice?</p>
 ]]></content:encoded>
			<category domain="http://www.daniweb.com/hardware-and-software/apple/ios-iphone-os/101">iOS (iPhone OS)</category>
			<dc:creator>adamhmiles</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/hardware-and-software/apple/ios-iphone-os/threads/456973/itune-vs-google-play</guid>
		</item>
				<item>
			<title>project</title>
			<link>http://www.daniweb.com/software-development/computer-science/threads/456972/project</link>
			<pubDate>Wed, 19 Jun 2013 05:02:09 +0000</pubDate>
			<description>i want help to write an algorithm for a wireless sensor network for use in matlab</description>
			<content:encoded><![CDATA[ <p>i want help to write an algorithm for a wireless sensor network for use in matlab</p>
 ]]></content:encoded>
			<category domain="http://www.daniweb.com/software-development/computer-science/14">Computer Science</category>
			<dc:creator>kuva</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/software-development/computer-science/threads/456972/project</guid>
		</item>
				<item>
			<title>search string in data using PHP</title>
			<link>http://www.daniweb.com/web-development/php/threads/456971/search-string-in-data-using-php</link>
			<pubDate>Wed, 19 Jun 2013 04:57:11 +0000</pubDate>
			<description>I have a problem in searching text in data, like search only street = Denover... Here is my code. Pls help me. if i click button nothing happend... Index.php &lt;?php include_once '../templete/header.php'; ?&gt; &lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&gt; &lt;head&gt; &lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=utf-8&quot; /&gt; &lt;title&gt;Search&lt;/title&gt; &lt;link href=&quot;style.css&quot; rel=&quot;stylesheet&quot; type=&quot;text/css&quot; /&gt; &lt;/head&gt; &lt;body&gt; &lt;form ...</description>
			<content:encoded><![CDATA[ <p>I have a problem in searching text in data, like search only street = Denover...<br />
Here is my code. Pls help me. if i click button nothing happend...</p>

<p>Index.php</p>

<pre><code>&lt;?php  include_once '../templete/header.php'; ?&gt;
&lt;html xmlns="<a href="http://www.w3.org/1999/xhtml" rel="nofollow">http://www.w3.org/1999/xhtml</a>"&gt;
&lt;head&gt;
&lt;meta http-equiv="Content-Type" content="text/html; charset=utf-8" /&gt;
&lt;title&gt;Search&lt;/title&gt;
&lt;link href="style.css" rel="stylesheet" type="text/css" /&gt;
&lt;/head&gt;
&lt;body&gt;
&lt;form action="search.php" method="get" &gt;
&lt;table border="0" cellpadding="0" cellspacing="0"&gt;
&lt;tr&gt;
    &lt;td&gt;&lt;input type="text" name="query" id="text"  /&gt;&amp;nbsp;&lt;/td&gt;
    &lt;td&gt;&lt;input type="submit" name="submit" id="search" value="Search" /&gt;&lt;/td&gt;
&lt;/form&gt;
&lt;/body&gt;
&lt;/html&gt;
</code></pre>

<p>Search.php</p>

<pre><code>&lt;?php
 include_once '../templete/header.php';
 include_once '../inc/connection.inc.php';
?&gt;
&lt;html&gt;
&lt;head&gt;
&lt;meta http-equiv="Content-Type" content="text/html; charset=utf-8" /&gt;
&lt;title&gt;Search&lt;/title&gt;
&lt;link href="style.css" rel="stylesheet" type="text/css" /&gt;
&lt;/head&gt;
&lt;body&gt;
&lt;table&gt;    
&lt;tr&gt;
  &lt;td&gt;Name&lt;/td&gt;
  &lt;td&gt;Address&lt;/td&gt;
  &lt;/tr&gt;   
&lt;?php
    $query = $_GET['query'];

    //$stmt = $dbh-&gt;prepare("SELECT * FROM CompanyInfo WHERE (Name LIKE '%".$query."%') OR (Address LIKE '%".$query."%')");
    $stmt = $dbh-&gt;prepare("SELECT * FROM CompanyInfo WHERE (Name LIKE '%".$query."%' OR Address LIKE '%".$query."%')");
    $stmt-&gt;setFetchMode(PDO::FETCH_ASSOC); 
    //$stmt-&gt;execute();
    if(isset($stmt))
        {
            while($row = $stmt-&gt;fetch()); ?&gt;
              &lt;tr&gt;
              &lt;td&gt;&lt;?php echo $row['Name'];?&gt;&lt;/td&gt;
              &lt;td&gt;&lt;?php echo $row['Address'];?&gt;&lt;/td&gt;
              &lt;/tr&gt;
        &lt;?php
        }
?&gt;
&lt;/table&gt;    
&lt;/body&gt;
&lt;/html&gt;
</code></pre>

<p>Thanking you</p>

<p>maideen</p>
 ]]></content:encoded>
			<category domain="http://www.daniweb.com/web-development/php/17">PHP</category>
			<dc:creator>Maideen</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/web-development/php/threads/456971/search-string-in-data-using-php</guid>
		</item>
				<item>
			<title>Journal Article</title>
			<link>http://www.daniweb.com/web-development/jsp/threads/456970/journal-article</link>
			<pubDate>Wed, 19 Jun 2013 04:50:43 +0000</pubDate>
			<description>Can some one teach me how to change **getContent()** from **journal article xml to html**. **Here my code** &lt;% JournalArticle art = JournalArticleLocalServiceUtil.getArticle(journalrow.getGroupId(), journalrow.getArticleId()); String contentXML = &quot;&quot;; contentXML = art.getContent(); %&gt; &lt;tr&gt; &lt;td class=&quot;title&quot;&gt;&lt;A href=&quot;&lt;%=articleURL.toString()%&gt;&quot; onclick=&quot;window.open(this.href,'popupwindow', 'width=800,height=600,scrollbars,resizable'); return false;&quot;&gt;&lt;%=journalrow.getTitleCurrentValue() %&gt;&lt;/A&gt;&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt;&lt;a class=&quot;date&quot;&gt;&lt;%= dateFormat.format(journalrow.getModifiedDate()) %&gt;&lt;/a&gt; - &lt;a class=&quot;content&quot;&gt;&lt;%= ...</description>
			<content:encoded><![CDATA[ <p>Can some one teach me how to change <strong>getContent()</strong> from <strong>journal article xml to html</strong>.<br /><strong>Here my code</strong></p>

<pre><code>&lt;%
JournalArticle art = JournalArticleLocalServiceUtil.getArticle(journalrow.getGroupId(), journalrow.getArticleId());
            String contentXML = "";
            contentXML = art.getContent();
%&gt;

&lt;tr&gt;
        &lt;td class="title"&gt;&lt;A href="&lt;%=articleURL.toString()%&gt;" onclick="window.open(this.href,'popupwindow', 'width=800,height=600,scrollbars,resizable'); return false;"&gt;&lt;%=journalrow.getTitleCurrentValue() %&gt;&lt;/A&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
        &lt;td&gt;&lt;a class="date"&gt;&lt;%= dateFormat.format(journalrow.getModifiedDate()) %&gt;&lt;/a&gt; - &lt;a class="content"&gt;&lt;%= journalrow.getContent()%&gt;&lt;/a&gt;&lt;/td&gt;  
&lt;/tr&gt;
&lt;tr&gt;
        &lt;td class="date"&gt;&lt;/td&gt;    
&lt;/tr&gt;
</code></pre>

<p><strong>output</strong></p>

<p>What is Lorem<br />
13/06/2013 - Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.<br />
]]&gt;</p>

<p><strong>there are symbols at the end of content</strong></p>
 ]]></content:encoded>
			<category domain="http://www.daniweb.com/web-development/jsp/24">JSP</category>
			<dc:creator>bipi09</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/web-development/jsp/threads/456970/journal-article</guid>
		</item>
				<item>
			<title>using statement</title>
			<link>http://www.daniweb.com/software-development/vbnet/threads/456968/using-statement</link>
			<pubDate>Wed, 19 Jun 2013 04:45:24 +0000</pubDate>
			<description>does any one experience this while using mdi the code is something like this using a as new form a.mdiparent = this a.showdialog() end using then when i tried to show the new form it will close automatically. why is that happening? thank you</description>
			<content:encoded><![CDATA[ <p>does any one experience this while using mdi</p>

<p>the code is something like this</p>

<pre><code class="language-vb">using a as new form
    a.mdiparent = this
    a.showdialog()
end using
</code></pre>

<p>then when i tried to show the new form it will close automatically.</p>

<p>why is that happening?</p>

<p>thank you</p>
 ]]></content:encoded>
			<category domain="http://www.daniweb.com/software-development/vbnet/58">VB.NET</category>
			<dc:creator>ZER09</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/software-development/vbnet/threads/456968/using-statement</guid>
		</item>
				<item>
			<title>Handles</title>
			<link>http://www.daniweb.com/software-development/csharp/threads/456967/handles</link>
			<pubDate>Wed, 19 Jun 2013 03:39:34 +0000</pubDate>
			<description>IntPtr objects can also be used to hold handles. For example, instances of IntPtr are used extensively in the System.IO.FileStream class to hold file handles. What is handles mean?</description>
			<content:encoded><![CDATA[ <p>IntPtr objects can also be used to hold handles. For example, instances of IntPtr are used extensively in the System.IO.FileStream class to hold file handles.</p>

<p>What is handles mean?</p>
 ]]></content:encoded>
			<category domain="http://www.daniweb.com/software-development/csharp/61">C#</category>
			<dc:creator>AmrMohammed</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/software-development/csharp/threads/456967/handles</guid>
		</item>
				<item>
			<title>2D vector</title>
			<link>http://www.daniweb.com/software-development/cpp/threads/456966/2d-vector</link>
			<pubDate>Wed, 19 Jun 2013 02:23:29 +0000</pubDate>
			<description>I want to write a class that do operation on two matrices by 2D vector but i have some problems with the 2D vector , any one can help me?</description>
			<content:encoded><![CDATA[ <p>I want to write a class that do operation on two matrices by 2D vector but i have some problems with the 2D vector , any one can help me?</p>
 ]]></content:encoded>
			<category domain="http://www.daniweb.com/software-development/cpp/8">C++</category>
			<dc:creator>islam.fci.3</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/software-development/cpp/threads/456966/2d-vector</guid>
		</item>
				<item>
			<title>Want to insert name of employee from database to combobox</title>
			<link>http://www.daniweb.com/software-development/java/threads/456965/want-to-insert-name-of-employee-from-database-to-combobox</link>
			<pubDate>Wed, 19 Jun 2013 01:58:33 +0000</pubDate>
			<description>I want to add employee name from database to combobox and i am using the coding while(rs.next()) combobox.addItem(rs.getString(&quot;Emp_name&quot;)); but the combobox appears consisting elements as Item1,Item2,Item3...and so on how I can add employees names in combobox</description>
			<content:encoded><![CDATA[ <p>I want to add employee name from database to combobox<br />
and i am using the coding</p>

<p>while(rs.next())<br />
combobox.addItem(rs.getString("Emp_name"));</p>

<p>but the combobox appears consisting elements as Item1,Item2,Item3...and so on<br />
how I can add employees names in combobox</p>
 ]]></content:encoded>
			<category domain="http://www.daniweb.com/software-development/java/9">Java</category>
			<dc:creator>Sweksha</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/software-development/java/threads/456965/want-to-insert-name-of-employee-from-database-to-combobox</guid>
		</item>
			</channel>
</rss>