<?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>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. https://www.udemy.com/java-basics-for-j2ee-and-android/?couponCode=techdisfree</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><a href="https://www.udemy.com/java-basics-for-j2ee-and-android/?couponCode=techdisfree" rel="nofollow">https://www.udemy.com/java-basics-for-j2ee-and-android/?couponCode=techdisfree</a></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/hardware-and-software/microsoft-windows/windows-vista-and-windows-7-8/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/hardware-and-software/microsoft-windows/windows-vista-and-windows-7-8/38">Windows Vista and Windows 7 / 8</category>
			<dc:creator>shahinalam07</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/hardware-and-software/microsoft-windows/windows-vista-and-windows-7-8/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>usiing statement</title>
			<link>http://www.daniweb.com/software-development/vbnet/threads/456968/usiing-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/usiing-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>
				<item>
			<title>read from file into an array</title>
			<link>http://www.daniweb.com/software-development/vbnet/threads/456964/read-from-file-into-an-array</link>
			<pubDate>Wed, 19 Jun 2013 01:10:09 +0000</pubDate>
			<description> How do you read data from a file and fill an array?</description>
			<content:encoded><![CDATA[ <p>How do you read data from a file and fill an array?</p>
 ]]></content:encoded>
			<category domain="http://www.daniweb.com/software-development/vbnet/58">VB.NET</category>
			<dc:creator>anf39</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/software-development/vbnet/threads/456964/read-from-file-into-an-array</guid>
		</item>
				<item>
			<title>std::copy and operator&lt;&lt; overload for ostream</title>
			<link>http://www.daniweb.com/software-development/cpp/threads/456963/stdcopy-and-operator-overload-for-ostream</link>
			<pubDate>Wed, 19 Jun 2013 01:04:35 +0000</pubDate>
			<description>Hi, I've been learning about the std::copy function in the &lt;algorithm&gt; header and I'm stuck on this exercise that I gave my self. Let's see the code snippet first: #include &lt;iostream&gt; #include &lt;vector&gt; #include &lt;algorithm&gt; #include &lt;iterator&gt; using namespace std; ostream&amp; operator&lt;&lt;(ostream&amp; os, const int p_val) { os.put( p_val*2); return ...</description>
			<content:encoded><![CDATA[ <p>Hi,</p>

<p>I've been learning about the std::copy function in the &lt;algorithm&gt; header and I'm stuck on this exercise that I gave my self.</p>

<p>Let's see the code snippet first:</p>

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

ostream&amp; operator&lt;&lt;(ostream&amp; os, const int p_val)
{
    os.put( p_val*2);
    return os;
}

int main(/*const int argc,const char* const argv[]*/)
{
    std::vector&lt;int&gt; myVector = {34,54,43,2,7,87};

    std::copy(myVector.begin(), myVector.end(), ostream_iterator&lt;int&gt;(std::cout, " "));

    cin.get();
    return 0;
}
</code></pre>

<p>Basically what I'm trying to achieve is: I have a vector full of integers. I want to print the mutiply of 2 of these integers to std::cout using std::copy(). I learnt that I would have to overload operator&lt;&lt;(). But as you can see from my failed attempt above, I'm at a complete lost as to what I need to do insife operator&lt;&lt;().</p>

<p>Any help's much appreciated.</p>

<p>Cheers,<br />
Ben</p>
 ]]></content:encoded>
			<category domain="http://www.daniweb.com/software-development/cpp/8">C++</category>
			<dc:creator>yxBen</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/software-development/cpp/threads/456963/stdcopy-and-operator-overload-for-ostream</guid>
		</item>
				<item>
			<title>Tales from the interview: malloc(0)</title>
			<link>http://www.daniweb.com/software-development/c/threads/456962/tales-from-the-interview-malloc0</link>
			<pubDate>Tue, 18 Jun 2013 22:33:49 +0000</pubDate>
			<description>I was asked this in an interview today: Q: `malloc(0); /* What does it do? */` It's a great question because it covers a subtlety in the standard and a condition that not many people will consider. Unfortunately, I wasn't 100% confident that I remembered what the standard said about ...</description>
			<content:encoded><![CDATA[ <p>I was asked this in an interview today:</p>

<p>Q: <code>malloc(0); /* What does it do? */</code></p>

<p>It's a great question because it covers a subtlety in the standard and a condition that not many people will consider. Unfortunately, I wasn't 100% confident that I remembered what the standard said about it. With full understanding that I brought the question on myself by arrogantly describing myself as an expert in C, I gave my answer as follows: "<em>A valid pointer will be returned, but that pointer cannot be dereferenced.</em>"</p>

<p>My answer was <strong>wrong</strong>. The interviewer said that the result was undefined behavior, which seemed slightly off to me at the time though I didn't challenge him on a nuance I wasn't assured of. As it turns out, my answer was partially correct, though in being partially correct it was still wrong. However, the interviewer wasn't correct either. The standard states the condition of a zero size request as follows:</p>

<p>"<em>If the size of the space requested is zero, the behavior is implementation-deﬁned: either a null pointer is returned, or the behavior is as if the size were some nonzero value, except that the returned pointer shall not be used to access an object.</em>"</p>

<p>Note that implementation-defined is very different from undefined. Undefined means that the very act of calling <code>malloc(0)</code> invokes undefined behavior and as a result makes the entire program henceforth undefined as well. Implementation-defined means that <code>malloc(0)</code> is legal and doesn't affect the legality of the rest of the program, but you must take all possible results into account when making the call if you want your code to be portable. As such, the following is portable and legal, but completely useless because the pointer cannot be dereferenced:</p>

<pre><code class="language-c">p = malloc(0);

if (!p)
{
    /* Don't dereference p */
}
else
{
    /* Still don't dereference p */
}
</code></pre>

<p>If <code>malloc(0)</code> were undefined, the above code would be horribly broken...and still completely useless. ;) The reason my partially correct answer was wholely wrong is I neglected to account for one of two possible outcomes. And while the interviewer was technically incorrect in saying that <code>malloc(0)</code> is undefined, he was <strong>practically</strong> correct because thinking of a useless situation as being undefined keeps you from creating that situation. In practice, he'd potentially write better code by avoiding sending in a zero size than by accounting for the implementation-defined behavior of sending in a zero size.</p>

<p>Robust code is the goal. I'm not sure there's a lesson to be learned from this interview, but it is what it is. Discuss. :)</p>
 ]]></content:encoded>
			<category domain="http://www.daniweb.com/software-development/c/118">C</category>
			<dc:creator>deceptikon</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/software-development/c/threads/456962/tales-from-the-interview-malloc0</guid>
		</item>
				<item>
			<title>JavaScript Not Working When Included Elsewhere</title>
			<link>http://www.daniweb.com/web-development/javascript-dhtml-ajax/threads/456961/javascript-not-working-when-included-elsewhere</link>
			<pubDate>Tue, 18 Jun 2013 22:00:28 +0000</pubDate>
			<description>I have a script which is a simple HTML/JS contact form. The site is based on Joomla. Specifically, one of the YooTheme Templates. It is also running WidgetKit. I have had issues before which have been solved on here which were to do with my script including JS and WidgetKit ...</description>
			<content:encoded><![CDATA[ <p>I have a script which is a simple HTML/JS contact form. The site is based on Joomla. Specifically, one of the YooTheme Templates. It is also running WidgetKit.</p>

<p>I have had issues before which have been solved on here which were to do with my script including JS and WidgetKit including JS.</p>

<p>I removed my JS inclusion.</p>

<p>However, now the JS does not actually work on my script. The form gets emailed without validation.</p>

<p>The script works when not put into Joomla, IE, in its own PHP file so i know the code is ok.</p>

<p>It just does not work when added to Joomla. I suspect its some kind of conflict.</p>

<p>What i need is for the JS to validate the form AND send the email. At the moment it just sends the email.</p>

<p>Here is the code i have at the moment:</p>

<pre><code class="language-js">&lt;!DOCTYPE HTML&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 charset="utf-8" /&gt;

&lt;link href='<a href="http://fonts.googleapis.com/css?family=PT+Sans+Narrow" rel="nofollow">http://fonts.googleapis.com/css?family=PT+Sans+Narrow</a>' rel='stylesheet' type='text/css'&gt;
&lt;link href='<a href="http://fonts.googleapis.com/css?family=Droid+Sans" rel="nofollow">http://fonts.googleapis.com/css?family=Droid+Sans</a>' rel='stylesheet' type='text/css'&gt;
&lt;link rel="stylesheet" href="rppalmer12/style.css"&gt;


&lt;script type="text/javascript"&gt;
//$.noConflict();
$(document).ready(function() {

function isInt(n) {
return typeof n === 'number' &amp;&amp; n % 1 == 0;
}

// Form validation
$(".darkBtn").click(function(e) {
e.preventDefault();
var email_check = /^[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,6}$/i;
var email = $("form.form_contact .email").val();

var zipCheck = /[A-Z]{1,2}[0-9R][0-9A-Z]? [0-9][ABD-HJLNP-UW-Z]{2}/i;
var zip = $("form.form_contact .zipcode").val();

var phoneCheck = /^\d+$/;
var phone = $("form.form_contact .phone").val();

var error = "";

if(!email_check.test(email))
{
error = "Please give a valid email address.";
}

if(!zipCheck.test(zip))
{
error = "Please give a valid postcode.";
}

if(!phoneCheck.test(phone) || phone.length != 11)
{
error = "Please give a valid phone number.";
}

// Check if all is filled
if($(".gender").val() == 0 || $(".title").val() == 0 || $(".fname").val() == "" || $(".sname").val() == "" || $(".phone").val() == "" || $(".email").val() == "" || $(".zipcode").val() == "" || $(".dday").val() == 0 || $(".dmonth").val() == 0 || $(".dyear").val() == 0 || $(".insurance").val() == 0 || $(".sday").val() == 0 || $(".smonth").val() == 0 || $(".syear").val() == 0 || $(".hear").val() == 0) {
error = "Please fill in all the form.";
}

// No error ? -&gt; Submit
if(error == "")
{

$("form#contact_form").submit();$(".form_error").hide();
} else {
$(".form_error").empty().text(error);
$(".form_error").show();
}
});
});
&lt;/script&gt;
&lt;/head&gt;
&lt;body&gt;&lt;?php  if (isset($_POST['action'])) {     $to = "test@test.com";  $emailfrom = "test@test.com";   $subject = "Insurance Quote";   $message = "\r\n Title:" . $_POST['title'] . "\r\n First Name:" . $_POST['fname'] . "\r\n Surname:" . $_POST['sname'] . "\r\n Gender:" . $_POST['gender'] . "\r\n Number: " . $_POST['number'] . "\r\n Email: " . $_POST['email'] . "\r\n Post: " . $_POST['post'] . "\r\n DOB:Day: " . $_POST['dobday'] . "\r\n DOB:Month: " . $_POST['dobmonth'] . "\r\n DOB:Year:" . $_POST['dobyear'] . "\r\n Hear: " . $_POST['hear'] . "\r\n Insurance Type:" . $_POST['type'] . "\r\n START:Day:" . $_POST['startday'] . "\r\n START:Month:" . $_POST['startmonth'] . "\r\n START:Year:" . $_POST['startyear'];  $headers = "From:" . $emailfrom;        if (mail($to, $subject, $message, $headers)) {      echo "Thankyou for using B";    }   echo "done";} else {    ?&gt;
&lt;div class="menu_contact"&gt;
&lt;h3&gt;Get A Quote&lt;/h3&gt;
&lt;hr /&gt;
&lt;form action="" method="POST" class="form_contact" id="contact_form"&gt;

&lt;label&gt;Title:&lt;/label&gt;
&lt;select class="input title" name="title"&gt;
&lt;option value="0"&gt;Please select&lt;/option&gt;
&lt;option value="Mr"&gt;Mr&lt;/option&gt;
&lt;option value="Mrs"&gt;Mrs&lt;/option&gt;
&lt;option value="Miss"&gt;Miss&lt;/option&gt;
&lt;option value="Ms"&gt;Ms&lt;/option&gt;
&lt;/select&gt;
&lt;label&gt;First name:&lt;/label&gt;
&lt;input type="text" class="input fname" placeholder="John" name="fname"/&gt;
&lt;label&gt;Surname:&lt;/label&gt;
&lt;input type="text" class="input sname" placeholder="Doe" name="sname" /&gt;
&lt;label&gt;Gender:&lt;/label&gt;
&lt;select class="input gender" name="gender"&gt;
&lt;option value="0"&gt;Please select&lt;/option&gt;
&lt;option&gt;Male&lt;/option&gt;
&lt;option&gt;Female&lt;/option&gt;
&lt;/select&gt;
&lt;label&gt;Contact Number:&lt;/label&gt;
&lt;input type="text" class="input phone" placeholder="Your number" name="number" /&gt;
&lt;label&gt;Email:&lt;/label&gt;
&lt;input type="email" class="input email" placeholder="something@domain.com" name="email"/&gt;
&lt;label&gt;Postcode:&lt;/label&gt;
&lt;input type="text" class="input zipcode" placeholder="CW3 9SS" name="post"/&gt;
&lt;label&gt;Date of birth:&lt;/label&gt;
&lt;select class="input dateDay bday" name="dobday"&gt;
&lt;option value="0"&gt;Day&lt;/option&gt;
&lt;option value="1"&gt;1&lt;/option&gt;
&lt;option value="2"&gt;2&lt;/option&gt;
&lt;option value="3"&gt;3&lt;/option&gt;
&lt;option value="4"&gt;4&lt;/option&gt;
&lt;option value="5"&gt;5&lt;/option&gt;
&lt;option value="6"&gt;6&lt;/option&gt;
&lt;option value="7"&gt;7&lt;/option&gt;
&lt;option value="8"&gt;8&lt;/option&gt;
&lt;option value="9"&gt;9&lt;/option&gt;
&lt;option value="10"&gt;10&lt;/option&gt;
&lt;option value="11"&gt;11&lt;/option&gt;
&lt;option value="12"&gt;12&lt;/option&gt;
&lt;option value="13"&gt;13&lt;/option&gt;
&lt;option value="14"&gt;14&lt;/option&gt;
&lt;option value="15"&gt;15&lt;/option&gt;
&lt;option value="16"&gt;16&lt;/option&gt;
&lt;option value="17"&gt;17&lt;/option&gt;
&lt;option value="18"&gt;18&lt;/option&gt;
&lt;option value="19"&gt;19&lt;/option&gt;
&lt;option value="20"&gt;20&lt;/option&gt;
&lt;option value="21"&gt;21&lt;/option&gt;
&lt;option value="22"&gt;22&lt;/option&gt;
&lt;option value="23"&gt;23&lt;/option&gt;
&lt;option value="24"&gt;24&lt;/option&gt;
&lt;option value="25"&gt;25&lt;/option&gt;
&lt;option value="26"&gt;26&lt;/option&gt;
&lt;option value="27"&gt;27&lt;/option&gt;
&lt;option value="28"&gt;28&lt;/option&gt;
&lt;option value="29"&gt;29&lt;/option&gt;
&lt;option value="30"&gt;30&lt;/option&gt;
&lt;option value="31"&gt;31&lt;/option&gt;
&lt;/select&gt;
&lt;select class="input dateMonth bmonth" name="dobmonth"&gt;
&lt;option value="0"&gt;Month&lt;/option&gt;
&lt;option value="January"&gt;January&lt;/option&gt;
&lt;option value="February"&gt;February&lt;/option&gt;
&lt;option value="March"&gt;March&lt;/option&gt;
&lt;option value="April"&gt;April&lt;/option&gt;
&lt;option value="May"&gt;May&lt;/option&gt;
&lt;option value="June"&gt;June&lt;/option&gt;
&lt;option value="July"&gt;July&lt;/option&gt;
&lt;option value="August"&gt;August&lt;/option&gt;
&lt;option value="September"&gt;September&lt;/option&gt;
&lt;option value="October"&gt;October&lt;/option&gt;
&lt;option value="November"&gt;November&lt;/option&gt;
&lt;option value="December"&gt;December&lt;/option&gt;
&lt;/select&gt;
&lt;select class="input dateYear byear" name="dobyear"&gt;
&lt;option value="0"&gt;Year&lt;/option&gt;
&lt;option value="1996"&gt;1996&lt;/option&gt;
&lt;option value="1995"&gt;1995&lt;/option&gt;
&lt;option value="1994"&gt;1994&lt;/option&gt;
&lt;option value="1993"&gt;1993&lt;/option&gt;
&lt;option value="1992"&gt;1992&lt;/option&gt;
&lt;option value="1991"&gt;1991&lt;/option&gt;
&lt;option value="1990"&gt;1990&lt;/option&gt;
&lt;option value="1989"&gt;1989&lt;/option&gt;
&lt;option value="1988"&gt;1988&lt;/option&gt;
&lt;option value="1987"&gt;1987&lt;/option&gt;
&lt;option value="1986"&gt;1986&lt;/option&gt;
&lt;option value="1985"&gt;1985&lt;/option&gt;
&lt;option value="1984"&gt;1984&lt;/option&gt;
&lt;option value="1983"&gt;1983&lt;/option&gt;
&lt;option value="1982"&gt;1982&lt;/option&gt;
&lt;option value="1981"&gt;1981&lt;/option&gt;
&lt;option value="1980"&gt;1980&lt;/option&gt;
&lt;option value="1979"&gt;1979&lt;/option&gt;
&lt;option value="1978"&gt;1978&lt;/option&gt;
&lt;option value="1977"&gt;1977&lt;/option&gt;
&lt;option value="1976"&gt;1976&lt;/option&gt;
&lt;option value="1975"&gt;1975&lt;/option&gt;
&lt;option value="1974"&gt;1974&lt;/option&gt;
&lt;option value="1973"&gt;1973&lt;/option&gt;
&lt;option value="1972"&gt;1972&lt;/option&gt;
&lt;option value="1971"&gt;1971&lt;/option&gt;
&lt;option value="1970"&gt;1970&lt;/option&gt;
&lt;option value="1969"&gt;1969&lt;/option&gt;
&lt;option value="1968"&gt;1968&lt;/option&gt;
&lt;option value="1967"&gt;1967&lt;/option&gt;
&lt;option value="1966"&gt;1966&lt;/option&gt;
&lt;option value="1965"&gt;1965&lt;/option&gt;
&lt;option value="1964"&gt;1964&lt;/option&gt;
&lt;option value="1963"&gt;1963&lt;/option&gt;
&lt;option value="1962"&gt;1962&lt;/option&gt;
&lt;option value="1961"&gt;1961&lt;/option&gt;
&lt;option value="1960"&gt;1960&lt;/option&gt;
&lt;option value="1959"&gt;1959&lt;/option&gt;
&lt;option value="1958"&gt;1958&lt;/option&gt;
&lt;option value="1957"&gt;1957&lt;/option&gt;
&lt;option value="1956"&gt;1956&lt;/option&gt;
&lt;option value="1955"&gt;1955&lt;/option&gt;
&lt;option value="1954"&gt;1954&lt;/option&gt;
&lt;option value="1953"&gt;1953&lt;/option&gt;
&lt;option value="1952"&gt;1952&lt;/option&gt;
&lt;option value="1951"&gt;1951&lt;/option&gt;
&lt;option value="1950"&gt;1950&lt;/option&gt;
&lt;option value="1949"&gt;1949&lt;/option&gt;
&lt;option value="1948"&gt;1948&lt;/option&gt;
&lt;option value="1947"&gt;1947&lt;/option&gt;
&lt;option value="1946"&gt;1946&lt;/option&gt;
&lt;option value="1945"&gt;1945&lt;/option&gt;
&lt;option value="1944"&gt;1944&lt;/option&gt;
&lt;option value="1943"&gt;1943&lt;/option&gt;
&lt;option value="1942"&gt;1942&lt;/option&gt;
&lt;option value="1941"&gt;1941&lt;/option&gt;
&lt;option value="1940"&gt;1940&lt;/option&gt;
&lt;option value="1939"&gt;1939&lt;/option&gt;
&lt;option value="1938"&gt;1938&lt;/option&gt;
&lt;option value="1937"&gt;1937&lt;/option&gt;
&lt;option value="1936"&gt;1936&lt;/option&gt;
&lt;option value="1935"&gt;1935&lt;/option&gt;
&lt;option value="1934"&gt;1934&lt;/option&gt;
&lt;option value="1933"&gt;1933&lt;/option&gt;
&lt;option value="1932"&gt;1932&lt;/option&gt;
&lt;option value="1931"&gt;1931&lt;/option&gt;
&lt;option value="1930"&gt;1930&lt;/option&gt;
&lt;option value="1929"&gt;1929&lt;/option&gt;
&lt;option value="1928"&gt;1928&lt;/option&gt;
&lt;option value="1927"&gt;1927&lt;/option&gt;
&lt;option value="1926"&gt;1926&lt;/option&gt;
&lt;option value="1925"&gt;1925&lt;/option&gt;
&lt;option value="1924"&gt;1924&lt;/option&gt;
&lt;option value="1923"&gt;1923&lt;/option&gt;
&lt;option value="1922"&gt;1922&lt;/option&gt;
&lt;option value="1921"&gt;1921&lt;/option&gt;
&lt;option value="1920"&gt;1920&lt;/option&gt;
&lt;option value="1919"&gt;1919&lt;/option&gt;
&lt;option value="1918"&gt;1918&lt;/option&gt;
&lt;option value="1917"&gt;1917&lt;/option&gt;
&lt;option value="1916"&gt;1916&lt;/option&gt;
&lt;option value="1915"&gt;1915&lt;/option&gt;
&lt;option value="1914"&gt;1914&lt;/option&gt;
&lt;option value="1913"&gt;1913&lt;/option&gt;
&lt;/select&gt;
&lt;label&gt;Insurance Type:&lt;/label&gt;
&lt;select class="input insurance" name="type"&gt;
&lt;option value="0"&gt;Please select&lt;/option&gt;
&lt;option&gt;Type 1&lt;/option&gt;
&lt;option&gt;Type 2&lt;/option&gt;
&lt;/select&gt;
&lt;label&gt;Start Date:&lt;/label&gt;
&lt;select class="input dateDay sday" name="startday"&gt;
&lt;option value="0"&gt;Day&lt;/option&gt;
&lt;option value="1"&gt;1&lt;/option&gt;
&lt;option value="2"&gt;2&lt;/option&gt;
&lt;option value="3"&gt;3&lt;/option&gt;
&lt;option value="4"&gt;4&lt;/option&gt;
&lt;option value="5"&gt;5&lt;/option&gt;
&lt;option value="6"&gt;6&lt;/option&gt;
&lt;option value="7"&gt;7&lt;/option&gt;
&lt;option value="8"&gt;8&lt;/option&gt;
&lt;option value="9"&gt;9&lt;/option&gt;
&lt;option value="10"&gt;10&lt;/option&gt;
&lt;option value="11"&gt;11&lt;/option&gt;
&lt;option value="12"&gt;12&lt;/option&gt;
&lt;option value="13"&gt;13&lt;/option&gt;
&lt;option value="14"&gt;14&lt;/option&gt;
&lt;option value="15"&gt;15&lt;/option&gt;
&lt;option value="16"&gt;16&lt;/option&gt;
&lt;option value="17"&gt;17&lt;/option&gt;
&lt;option value="18"&gt;18&lt;/option&gt;
&lt;option value="19"&gt;19&lt;/option&gt;
&lt;option value="20"&gt;20&lt;/option&gt;
&lt;option value="21"&gt;21&lt;/option&gt;
&lt;option value="22"&gt;22&lt;/option&gt;
&lt;option value="23"&gt;23&lt;/option&gt;
&lt;option value="24"&gt;24&lt;/option&gt;
&lt;option value="25"&gt;25&lt;/option&gt;
&lt;option value="26"&gt;26&lt;/option&gt;
&lt;option value="27"&gt;27&lt;/option&gt;
&lt;option value="28"&gt;28&lt;/option&gt;
&lt;option value="29"&gt;29&lt;/option&gt;
&lt;option value="30"&gt;30&lt;/option&gt;
&lt;option value="31"&gt;31&lt;/option&gt;
&lt;/select&gt;
&lt;select class="input dateMonth smonth" name="startmonth"&gt;
&lt;option value="0"&gt;Month&lt;/option&gt;
&lt;option value="January"&gt;January&lt;/option&gt;
&lt;option value="February"&gt;February&lt;/option&gt;
&lt;option value="March"&gt;March&lt;/option&gt;
&lt;option value="April"&gt;April&lt;/option&gt;
&lt;option value="May"&gt;May&lt;/option&gt;
&lt;option value="June"&gt;June&lt;/option&gt;
&lt;option value="July"&gt;July&lt;/option&gt;
&lt;option value="August"&gt;August&lt;/option&gt;
&lt;option value="September"&gt;September&lt;/option&gt;
&lt;option value="October"&gt;October&lt;/option&gt;
&lt;option value="November"&gt;November&lt;/option&gt;
&lt;option value="December"&gt;December&lt;/option&gt;
&lt;/select&gt;
&lt;select class="input dateYear syear" name="startyear"&gt;
&lt;option value="0"&gt;Year&lt;/option&gt;
&lt;option value='2013'&gt;2013&lt;/option&gt;
&lt;option value='2014'&gt;2014&lt;/option&gt;

&lt;/select&gt;
&lt;label&gt;Where did you hear about us:&lt;/label&gt;
&lt;select class="input hear" name="hear"&gt;
&lt;option value="0"&gt;Please select&lt;/option&gt;
&lt;option value="google"&gt;Google&lt;/option&gt;
&lt;option value="recommendation"&gt;Recommendation&lt;/option&gt;
&lt;option value="email"&gt;Email&lt;/option&gt;
&lt;option value="Magazine"&gt;Magazine&lt;/option&gt;
&lt;option value="Facebook"&gt;Facebook&lt;/option&gt;
&lt;option value="Other"&gt;Other&lt;/option&gt;
&lt;/select&gt;
&lt;div class="form_error" style="display:none;color:red;text-align:center;text-shadow:none;width:278px;"&gt;&lt;/div&gt;&lt;input type="hidden" name="action" value="postform" /&gt;
&lt;input class="darkBtn submit" type="submit" value="Get A Quote &gt;" name="test"&gt;
&lt;/form&gt;
&lt;/div&gt;&lt;?php } ?&gt;
&lt;/body&gt;
&lt;/html&gt;
</code></pre>

<p>I have tried the "var $j = jQuery.noConflict();" Trick but to no avail.</p>

<p>Any help would be appreciated.</p>
 ]]></content:encoded>
			<category domain="http://www.daniweb.com/web-development/javascript-dhtml-ajax/117">JavaScript / DHTML / AJAX</category>
			<dc:creator>rosstafarian</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/web-development/javascript-dhtml-ajax/threads/456961/javascript-not-working-when-included-elsewhere</guid>
		</item>
				<item>
			<title>Bind unknown number of buttons to Click event</title>
			<link>http://www.daniweb.com/software-development/python/threads/456960/bind-unknown-number-of-buttons-to-click-event</link>
			<pubDate>Tue, 18 Jun 2013 21:29:42 +0000</pubDate>
			<description>hi, I want to load an unknown number of buttons (20 max) into a panel. When clicking a button, some other code should be executed. Below code shows my attempt at solving the problem. Unfortunately execution results in an assertion error. Any help in pointing me in the right direction ...</description>
			<content:encoded><![CDATA[ <p>hi,</p>

<p>I want to load an unknown number of buttons (20 max) into a panel.<br />
When clicking a button, some other code should be executed.<br />
Below code shows my attempt at solving the problem. Unfortunately execution results in an assertion error. Any help in pointing me in the right direction is much appreciated:</p>

<pre><code class="language-py">import wx

"""trying to bind an unknown number of images to click event"""

class MyApp(wx.App):

    def OnInit(self):
        frame = MyFrame(None, -1)
        frame.Show()
        self.SetTopWindow(frame)
        return True

class MyFrame(wx.Frame):

    def __init__(self, parent, id):
        wx.Frame.__init__(self, parent, id, 'Bind unknown number of images', size=(1000, 500))
        panel = wx.Panel(self)

        mainSizer = wx.GridBagSizer(hgap=5, vgap=5)
        testSizer = wx.GridSizer(cols = 4, rows =0 )

        images = "g1 g2 g3 g4 g5 ".split()
        n=0

        for image in images:
            n=n+1
            path = 'O:\Python Programming Bits\bind test\%s.gif' % image
            image= wx.Image(path, wx.BITMAP_TYPE_ANY).Scale(80, 80).ConvertToBitmap()
            button = wx.BitmapButton(panel,  -1, bitmap=image, name=image)
            button.Bind(wx.BitmapButton, self.OnButton)
            testSizer.Add(button, flag=wx.EXPAND)

        mainSizer.Add(testSizer, pos=(2, 2), span=(2, 5 ), flag=wx.EXPAND)
        panel.SetSizer(mainSizer)
        mainSizer.Fit(self)
        mainSizer.SetSizeHints(self)

    def OnButton(self, event):
        print "you clicked on ... " + button_by_id.GetName()

    def OnQuit(self, event):
        self.Close()

if __name__ == '__main__':
    app = MyApp(False)
    app.MainLoop()    


app.MainLoop()    
</code></pre>
 ]]></content:encoded>
			<category domain="http://www.daniweb.com/software-development/python/114">Python</category>
			<dc:creator>No_idea</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/software-development/python/threads/456960/bind-unknown-number-of-buttons-to-click-event</guid>
		</item>
				<item>
			<title>QT5 and Encoding Again</title>
			<link>http://www.daniweb.com/software-development/cpp/threads/456959/qt5-and-encoding-again</link>
			<pubDate>Tue, 18 Jun 2013 21:25:44 +0000</pubDate>
			<description>Hey! When i compile my code in Qt5, i get an weird symbol of triangle with an &quot;?&quot; at place of an french À. I try to chaqnge encoding to Latin1: no changes. UTF-8 it's same and i can't edit it. I tried many encoding but no changes. Weirdly months ...</description>
			<content:encoded><![CDATA[ <p>Hey!</p>

<p>When i compile my code in Qt5, i get an weird symbol of triangle with an "?" at place of an french À. I try to chaqnge encoding to Latin1: no changes. UTF-8 it's same and i can't edit it. I tried many encoding but no changes. Weirdly months ago all worked and after i come back to the project it's dosen't work anymore and i changed nothing. Maybe an glitch/bug of Qt? Theres goes an picture of what i mean</p>

<p>Thanks</p>
 ]]></content:encoded>
			<category domain="http://www.daniweb.com/software-development/cpp/8">C++</category>
			<dc:creator>J-P1988</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/software-development/cpp/threads/456959/qt5-and-encoding-again</guid>
		</item>
				<item>
			<title>Get Variables from same page with out submitting</title>
			<link>http://www.daniweb.com/web-development/php/threads/456957/get-variables-from-same-page-with-out-submitting</link>
			<pubDate>Tue, 18 Jun 2013 20:56:57 +0000</pubDate>
			<description>There is two sections i need it to update. When they hover over the members name listed below, I need it to show their details. When the user(one who submitted the content) posts its going to have a hidden value to update the field in the form that i have ...</description>
			<content:encoded><![CDATA[ <p>There is two sections i need it to update.  When they hover over the members name listed below, I need it to show their details.  When the user(one who submitted the content) posts its going to have a hidden value to update the field in the form that i have a 1 in now.  Look for bolded items below.</p>

<p>This is all on the same form, and I would like for the PHP code above to get the userID=???? from the link listed below.  Is this possible?</p>

<pre><code>&lt;?PHP
require_once("include/membersite_config.php");

if(!$fgmembersite-&gt;CheckLogin())
{
    $fgmembersite-&gt;RedirectToURL("login.php");
    exit;
}

?&gt;
    &lt;?php
require_once 'include/myacctconfig.php';
include 'vars.php';
    $id = $_GET['userID'];** &lt;-----Value Needed**

    $query="SELECT * FROM fgusers3 WHERE id_user = $id.";
    $rs = mysql_query($query);
    $details = mysql_fetch_array($rs);


    $query="SELECT * FROM moredetails WHERE id_user = $id." ;
    $rs = mysql_query($query);
    $mdetails = mysql_fetch_array($rs);


?&gt;
&lt;!DOCTYPE html&gt;
&lt;head&gt;
&lt;title&gt;Untitled Document&lt;/title&gt;
&lt;script type='text/javascript' src='<a href="http://code.jquery.com/jquery-1.8.3.js" rel="nofollow">http://code.jquery.com/jquery-1.8.3.js</a>'&gt;&lt;/script&gt;
&lt;style type="text/css"&gt;
.theDiv {
    display: none;
    margin-top:-7px;
    background-color:#fff;
    width: 500px;
    line-height:100%;
    border:1px solid #c3c3c3;
    background:#fff;
    -moz-border-radius:3px;
    -webkit-border-radius:3px;
    border-radius:3px;
    position: relative;
    padding: 10px;
}
&lt;/style&gt;
&lt;script type='text/javascript'&gt;//&lt;![CDATA[ 
$(window).load(function(){
$('.theLinks').hover(
    function () {
        $(this).closest('.content3').next('.theDiv').fadeIn();
    },
    function () {
        $(this).closest('.content3').next('.theDiv').hide();
});
});//]]&gt;  

&lt;/script&gt;
&lt;/head&gt;
&lt;body&gt;
  &lt;div&gt;
    &lt;div class="content3"&gt;
        &lt;div&gt;
            &lt;div class="theLinks"&gt;
                &lt;div&gt;&lt;a href="&lt;?php echo $_SERVER['PHP_SELF']?&gt;?userID=1"&gt;Members Name&lt;/a&gt;**&lt;----where it is stored...**
                &lt;/div&gt;
            &lt;/div&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div class="theDiv"&gt;
    &lt;table&gt;
        &lt;tr&gt;
                &lt;td&gt;&lt;img class="imgb" align="top" src="profilepics/&lt;?php echo $details['profilepic']; ?&gt;" width="100" height="100"&gt;
        &lt;/td&gt;
                &lt;td valign="top"&gt;Name: &lt;?php echo $details['name'] ?&gt;&lt;br&gt;&lt;br&gt;Email: &lt;?php echo $details['email'] ?&gt;&lt;br&gt;&lt;br&gt;Username: &lt;?php echo $details['username'] ?&gt;&lt;br&gt;&lt;br&gt;Favorite Exercise: &lt;?php echo $mdetails['favexercise']; ?&gt;&lt;br&gt;&lt;br&gt;Years Exercising: &lt;?php echo $mdetails['yearsexercise']; ?&gt;
        &lt;/td&gt;
    &lt;/table&gt;
    &lt;/div&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>patk570</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/web-development/php/threads/456957/get-variables-from-same-page-with-out-submitting</guid>
		</item>
				<item>
			<title>Adsense</title>
			<link>http://www.daniweb.com/internet-marketing/advertising-sales-strategies/threads/456956/adsense</link>
			<pubDate>Tue, 18 Jun 2013 20:32:37 +0000</pubDate>
			<description>okay so i was an administrator of a family members adsense account and it was banned will it affect me in anyway if i apply for an adsense account?</description>
			<content:encoded><![CDATA[ <p>okay so i was an administrator of a family members adsense account and it was banned will it affect me in anyway if i apply for an adsense account?</p>
 ]]></content:encoded>
			<category domain="http://www.daniweb.com/internet-marketing/advertising-sales-strategies/30">Advertising Sales Strategies</category>
			<dc:creator>sidneyvan94</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/internet-marketing/advertising-sales-strategies/threads/456956/adsense</guid>
		</item>
				<item>
			<title>Multi-level Marketing</title>
			<link>http://www.daniweb.com/web-development/web-design-html-and-css/threads/456955/multi-level-marketing</link>
			<pubDate>Tue, 18 Jun 2013 19:58:58 +0000</pubDate>
			<description>Dear friends, I am interested in creating a tree structure like the image attacched using jquery and json data. datasets: [{'name':'xxx', position:'left','parent': 0}, {'name':'yyy', position:'left','parent': 1}, {'name':'yyy', position:'middle','parent': 1}, {'name':'yyy', position:'right','parent': 1}, {'name':'yyy', position:'left','parent': 2}, {'name':'yyy', position:'right','parent': 2}, {'name':'yyy', position:'left','parent': 3}] Where, name - specifies name of the node parent ...</description>
			<content:encoded><![CDATA[ <p>Dear friends, I am interested in creating a tree structure like the image attacched using jquery and json data.</p>

<p>datasets:</p>

<pre><code class="language-xhtml">[{'name':'xxx', position:'left','parent': 0},
{'name':'yyy', position:'left','parent': 1},
{'name':'yyy', position:'middle','parent': 1},
{'name':'yyy', position:'right','parent': 1},
{'name':'yyy', position:'left','parent': 2},
{'name':'yyy', position:'right','parent': 2},
{'name':'yyy', position:'left','parent': 3}]
</code></pre>

<p>Where,<br />
name - specifies name of the node<br />
parent - node will be given number nodes direct child<br />
position: [left/right/middle]position of the node to the parent</p>

<p>How to achieve this structure??.. Please suggest me.. Thank you in advance..</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>javalover</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/web-development/web-design-html-and-css/threads/456955/multi-level-marketing</guid>
		</item>
				<item>
			<title>Is it hard to learn JAVA?</title>
			<link>http://www.daniweb.com/web-development/threads/456954/is-it-hard-to-learn-java</link>
			<pubDate>Tue, 18 Jun 2013 19:51:32 +0000</pubDate>
			<description>Recently I have been asked to do a web-based login and register system using **JAVA**. But I haven't learnt java before and had absolutely no idea how java works or to write java codes. They told me that I have to learn Java quickly as possible. Currently looking some java ...</description>
			<content:encoded><![CDATA[ <p>Recently I have been asked to do a web-based login and register system using <strong>JAVA</strong>. But I haven't learnt java before and had absolutely no idea how java works or to write java codes. They told me that I have to learn Java quickly as possible. Currently looking some java stuff on the internet. Honestly, my head spins when i look at the codes. However, I do know PHP(intermediate level)(wihtout OOP). Really having a hard times learning java. How long will it take normally to learn java? Is it worth to learn java instead of PHP?</p>
 ]]></content:encoded>
			<category domain="http://www.daniweb.com/web-development/31">Web Development</category>
			<dc:creator>layman114</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/web-development/threads/456954/is-it-hard-to-learn-java</guid>
		</item>
				<item>
			<title>SSL Certificate Server 2012 Essentials</title>
			<link>http://www.daniweb.com/hardware-and-software/microsoft-windows/windows-servers/threads/456953/ssl-certificate-server-2012-essentials</link>
			<pubDate>Tue, 18 Jun 2013 19:47:53 +0000</pubDate>
			<description>How can I get my SSL certificate to work correctly with Windows 2012 Essentials (specifically the remote web access feature). I *think* I installed the certificate correctly but it's not working :(</description>
			<content:encoded><![CDATA[ <p>How can I get my SSL certificate to work correctly with Windows 2012 Essentials (specifically the remote web access feature). I <em>think</em> I installed the certificate correctly but it's not working :(</p>
 ]]></content:encoded>
			<category domain="http://www.daniweb.com/hardware-and-software/microsoft-windows/windows-servers/115">Windows Servers</category>
			<dc:creator>Dani</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/hardware-and-software/microsoft-windows/windows-servers/threads/456953/ssl-certificate-server-2012-essentials</guid>
		</item>
				<item>
			<title>Hacked Website how to retrieve/fix</title>
			<link>http://www.daniweb.com/web-development/threads/456952/hacked-website-how-to-retrievefix</link>
			<pubDate>Tue, 18 Jun 2013 19:34:58 +0000</pubDate>
			<description>Hello everyone! Webdesign isn't my thing but i know enough to help maintain a website for a church, it is a small scale and all i do is post events and upload pictures. a few days ago the site's ftp account got hacked and all the files been modified. i ...</description>
			<content:encoded><![CDATA[ <p>Hello everyone!</p>

<p>Webdesign isn't my thing but i know enough to help maintain a website for a church, it is a small scale and all i do is post events and upload pictures. a few days ago the site's ftp account got hacked and all the files been modified. i reset all the passwords and regained access but now i can't even download the files to my computer.</p>

<p>I finally was able to zip the index.html using the filebrowser on the host control panel and downloaded it that way then i used a virtual machine to open the file in notepad and found a script i didnt add in there with a lot of numbers.</p>

<p>my question is if i remove the script from the code and saved it is that good enough to make it safe for use or what should i do?</p>

<p>another question, is there anything i can do on my end to prevent things like that from happening?<br />
(my password was 12 chars long had capital, lower, numbers and special characters)</p>

<p>i can provide more details if needed such as the log i got from the host company if that helps<br />
thanks in advance.</p>
 ]]></content:encoded>
			<category domain="http://www.daniweb.com/web-development/31">Web Development</category>
			<dc:creator>Captain119</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/web-development/threads/456952/hacked-website-how-to-retrievefix</guid>
		</item>
				<item>
			<title>ph</title>
			<link>http://www.daniweb.com/web-development/php/threads/456951/ph</link>
			<pubDate>Tue, 18 Jun 2013 19:20:40 +0000</pubDate>
			<description>hi guys, am working on a phpscript and have a date form, am lacking a php/javascript code to validate my date form. please help with the code.</description>
			<content:encoded><![CDATA[ <p>hi guys, am working on a phpscript and have a date form, am lacking a php/javascript code to validate my date form. please help with the code.</p>
 ]]></content:encoded>
			<category domain="http://www.daniweb.com/web-development/php/17">PHP</category>
			<dc:creator>murugami eric</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/web-development/php/threads/456951/ph</guid>
		</item>
				<item>
			<title>Advice on returning an array needed</title>
			<link>http://www.daniweb.com/software-development/cpp/threads/456950/advice-on-returning-an-array-needed</link>
			<pubDate>Tue, 18 Jun 2013 18:58:25 +0000</pubDate>
			<description>Hello programmers! I am trying to return an array, made up of 7 members, all type ints via a pointer from a function. Here is a prototype of a function that does this: `int[7] colCountArray={0,0,0,0,0,0,0} //array saved in Board obj.` int* Board::accessColCount() { return &amp;colCountArray; } However, my compiler dosnt ...</description>
			<content:encoded><![CDATA[ <p>Hello programmers! I am trying to return an array, made up of 7 members, all type ints  via a pointer from a function. Here is a prototype of a function that does this:</p>

<p><code>int[7] colCountArray={0,0,0,0,0,0,0}  //array saved in Board obj.</code></p>

<pre><code class="language-cpp">int* Board::accessColCount()
{
    return &amp;colCountArray;
}
</code></pre>

<p>However, my compiler dosnt like this. How can I fix this problem?</p>
 ]]></content:encoded>
			<category domain="http://www.daniweb.com/software-development/cpp/8">C++</category>
			<dc:creator>nathan.pavlovsky</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/software-development/cpp/threads/456950/advice-on-returning-an-array-needed</guid>
		</item>
				<item>
			<title>Cannot get external links in TinyMCE</title>
			<link>http://www.daniweb.com/web-development/threads/456949/cannot-get-external-links-in-tinymce</link>
			<pubDate>Tue, 18 Jun 2013 18:51:33 +0000</pubDate>
			<description>Hi, I've added the TinyMCE plugin to my website to change all textareas to the editor. Upon completing, the values from the editor get stored in the database. When adding a link via the button in the editor, the link appears as normal (when checked in the HTML), eg. http://www.google.co.uk ...</description>
			<content:encoded><![CDATA[ <p>Hi,</p>

<p>I've added the TinyMCE plugin to my website to change all textareas to the editor.<br />
Upon completing, the values from the editor get stored in the database.</p>

<p>When adding a link via the button in the editor, the link appears as normal (when checked in the HTML), eg. <a href="http://www.google.co.uk" rel="nofollow">http://www.google.co.uk</a></p>

<p>However, when checking the database, it becomes apparent that the editor is changing my entry on submission, as it now appears as /<a href="http://www.google.co.uk" rel="nofollow">http://www.google.co.uk</a> therefore meaning that when clicked, the website interperts it as a part of the current site (so when actually clicked it goes to <a href="http://www.clickteesside.com/http://www.google.co.uk" rel="nofollow">http://www.clickteesside.com/http://www.google.co.uk</a> - a none existent page).</p>

<p>In the TinyMCE_src.js file the sections that I have read about changing (However can't seem to find the correct combination) are:</p>

<pre><code>document_base_url : tinymce.documentBaseURL,
convert_urls : 1,
relative_urls : 1,
remove_script_host : 0,
</code></pre>

<p>If someone could assist me with this, I'd be grateful!</p>
 ]]></content:encoded>
			<category domain="http://www.daniweb.com/web-development/31">Web Development</category>
			<dc:creator>maharrington</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/web-development/threads/456949/cannot-get-external-links-in-tinymce</guid>
		</item>
				<item>
			<title>2 Cisco 2600 Routers 1 Cable modem connection</title>
			<link>http://www.daniweb.com/hardware-and-software/networking/threads/456948/2-cisco-2600-routers-1-cable-modem-connection</link>
			<pubDate>Tue, 18 Jun 2013 18:42:15 +0000</pubDate>
			<description>Internetwork to the Internet I have Router1 a Cisco 2600 and Router2 a Cisco 2600 with both running IOS 12.4. On Router1 serial interface I have configured: ip address 192.168.2.1 no shutdown clock rate 64000 On Router 1 ethernet interface I have configured: ip address dhcp no shutdown And it ...</description>
			<content:encoded><![CDATA[ <p>Internetwork to the Internet</p>

<p>I have Router1 a Cisco 2600 and Router2 a Cisco 2600 with both running IOS 12.4.</p>

<p>On Router1 serial interface I have configured:</p>

<p>ip address 192.168.2.1<br />
no shutdown<br />
clock rate 64000</p>

<p>On Router 1 ethernet interface I have configured:</p>

<p>ip address dhcp<br />
no shutdown</p>

<p>And it has recieved DCHP information from my Charter cable modem router of IP address, gateway, subnet mask.</p>

<p>On Router2 serial interface I have configured:</p>

<p>ip address 192.168.2.2<br />
no shutdown</p>

<p>I've also configured on Router1:</p>

<p>ip route 0.0.0.0 0.0.0.0 fastethernet 0/0<br />
ip default-network 97.0.0.0</p>

<p>I'm able to ping Google 74.125.225.113 from Router1 but not Router2.</p>

<p>Also, I don't see the advertised route in Router2 from show ip route.</p>
 ]]></content:encoded>
			<category domain="http://www.daniweb.com/hardware-and-software/networking/13">Networking</category>
			<dc:creator>haulover</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/hardware-and-software/networking/threads/456948/2-cisco-2600-routers-1-cable-modem-connection</guid>
		</item>
				<item>
			<title>Error 91</title>
			<link>http://www.daniweb.com/software-development/visual-basic-4-5-6/threads/456947/error-91</link>
			<pubDate>Tue, 18 Jun 2013 18:14:39 +0000</pubDate>
			<description>I've fought the Error 91 problem for years programing (self taught) in VB 6. Below is a simple example of a program getting data from a database and putting it into a grid. I know I'm supposed to use Dim and Set statements, but I've never figured it out. Can ...</description>
			<content:encoded><![CDATA[ <p>I've fought the Error 91 problem for years programing (self taught) in VB 6. Below is a simple example of a program getting data from a database and putting it into a grid. I know I'm supposed to use Dim and Set statements, but I've never figured it out. Can you help me??</p>

<p>Private Sub FormLoad()<br />
Data1.Recordset.MoveFirst<br />
R = 1: grdData.Col = 0<br />
Do Until Data1.Recordset.EOF = True<br />
   grdData.Row = R<br />
   grdData.Text = Data1.Recordset.Fields("Name")<br />
   R = R + 1<br />
   Data1.Recordset.MoveNext<br />
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>DickEM</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/software-development/visual-basic-4-5-6/threads/456947/error-91</guid>
		</item>
				<item>
			<title>EXE Problem</title>
			<link>http://www.daniweb.com/software-development/python/threads/456946/exe-problem</link>
			<pubDate>Tue, 18 Jun 2013 17:51:29 +0000</pubDate>
			<description>I compiled a program in python, but the second I open it, there is a flash of the error, but then the cmd window closes.</description>
			<content:encoded><![CDATA[ <p>I compiled a program in python, but the second I open it, there is a flash of the error, but then the cmd window closes.</p>
 ]]></content:encoded>
			<category domain="http://www.daniweb.com/software-development/python/114">Python</category>
			<dc:creator>Jacklittle01</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/software-development/python/threads/456946/exe-problem</guid>
		</item>
				<item>
			<title>Porter Stemming algorithm</title>
			<link>http://www.daniweb.com/software-development/cpp/threads/456945/porter-stemming-algorithm</link>
			<pubDate>Tue, 18 Jun 2013 17:33:59 +0000</pubDate>
			<description>I have successfully implemented Porter Stemming Algorithm. I wanted to project ideas, as to where I could apply it, a more practical application?</description>
			<content:encoded><![CDATA[ <p>I have successfully implemented Porter Stemming Algorithm. I wanted to project ideas, as to where I could apply it, a more practical application?</p>
 ]]></content:encoded>
			<category domain="http://www.daniweb.com/software-development/cpp/8">C++</category>
			<dc:creator>rash_13</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/software-development/cpp/threads/456945/porter-stemming-algorithm</guid>
		</item>
				<item>
			<title>JDBC - See changes on data while the application is running</title>
			<link>http://www.daniweb.com/software-development/java/threads/456943/jdbc-see-changes-on-data-while-the-application-is-running</link>
			<pubDate>Tue, 18 Jun 2013 16:44:14 +0000</pubDate>
			<description>Hi, I was wondering why my application doesn't list the changes while the application is running. For e.g I create a new job and then my application should show the new job in the list that is provided. I used **ResultSet.TYPE_SCROLL_INSENSITIVE, ResultSet.CONCUR_UPDATABLE** this but doesn't seem to work. Thanks Kru</description>
			<content:encoded><![CDATA[ <p>Hi,</p>

<p>I was wondering why my application doesn't list the changes while the application is running. For e.g I create a new job and then my application should show the new job in the list that is provided. I used <strong>ResultSet.TYPE_SCROLL_INSENSITIVE, ResultSet.CONCUR_UPDATABLE</strong> this but doesn't seem to work.</p>

<p>Thanks</p>

<p>Kru</p>
 ]]></content:encoded>
			<category domain="http://www.daniweb.com/software-development/java/9">Java</category>
			<dc:creator>KRUX17</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/software-development/java/threads/456943/jdbc-see-changes-on-data-while-the-application-is-running</guid>
		</item>
				<item>
			<title>search listview with textbox text on windows form</title>
			<link>http://www.daniweb.com/software-development/csharp/threads/456942/search-listview-with-textbox-text-on-windows-form</link>
			<pubDate>Tue, 18 Jun 2013 16:03:33 +0000</pubDate>
			<description>Hello After two days of struggling I have come for some help. I have a listview of contact names that I want to search with text added into a textbox. It can either filter these as the text is entered or by a button search ... I haven't got anywhere ...</description>
			<content:encoded><![CDATA[ <p>Hello</p>

<p>After two days of struggling I have come for some help. I have a listview of contact names that I want to search with text added into a textbox. It can either filter these as the text is entered or by a button search ... I haven't got anywhere with either so far.</p>

<pre><code class="language-cs">  private void btnSearch_Click_1(object sender, EventArgs e)
        {

            for (int i = 0; i &lt; lvContacts.Items.Count; i++)

                if (lvContacts.Items[i].ToString().Contains(txtSearch.Text.ToLower()))
                {
                    //lvContacts.Items[i].Selected; // THIS DOESNT WORK ... as I'm sure you know
                    lvContacts.Items[i].BackColor = Color.CornflowerBlue;
                }    

        }

        private void txtSearch_TextChanged(object sender, EventArgs e)
        {
            lvContacts.SelectedItems.Clear();

            for (int i = 0; i &lt; lvContacts.Items.Count; i++)

                if (lvContacts.Items[i].ToString().Contains(txtSearch.Text.ToLower()))
                {
                    lvContacts.Items[i].BackColor = Color.CornflowerBlue;
                }
        }
</code></pre>

<p>Help thank fully received   ... John.</p>
 ]]></content:encoded>
			<category domain="http://www.daniweb.com/software-development/csharp/61">C#</category>
			<dc:creator>johnt68</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/software-development/csharp/threads/456942/search-listview-with-textbox-text-on-windows-form</guid>
		</item>
				<item>
			<title>thesis hardware/software/ android application</title>
			<link>http://www.daniweb.com/software-development/threads/456941/thesis-hardwaresoftware-android-application</link>
			<pubDate>Tue, 18 Jun 2013 15:38:53 +0000</pubDate>
			<description>good day. we are a group of 4 students. our school wants us to provide a unique and not yet existhing thesis proposal with hardware. do you any in mind? thank you!</description>
			<content:encoded><![CDATA[ <p>good day. we are a group of 4 students. our school wants us to provide a unique and not yet existhing thesis proposal with hardware. do you any in mind? thank you!</p>
 ]]></content:encoded>
			<category domain="http://www.daniweb.com/software-development/2">Software Development</category>
			<dc:creator>bartman0901</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/software-development/threads/456941/thesis-hardwaresoftware-android-application</guid>
		</item>
				<item>
			<title>PHP and HTML form to update a mysql database</title>
			<link>http://www.daniweb.com/web-development/php/threads/456940/php-and-html-form-to-update-a-mysql-database</link>
			<pubDate>Tue, 18 Jun 2013 15:06:55 +0000</pubDate>
			<description>Hi. I have HTML form and i need php code when i want to subtract something from coulmn in mysql database. Something like http://www.daniweb.com/web-development/php/threads/101739/using-php-and-html-forms-to-update-a-mysql-database MY FORM - HTML &lt;form action=&quot;objednat_potvrdenie.php&quot; method=&quot;post&quot;&gt; Meno: &lt;input type=&quot;text&quot; name=&quot;meno&quot;&gt;&lt;br&gt; Priezvisko: &lt;input type=&quot;text&quot; name=&quot;prie&quot;&gt;&lt;br&gt; Mesto: &lt;input type=&quot;text&quot; name=&quot;mesto&quot;&gt;&lt;br&gt; Ulica: &lt;input type=&quot;text&quot; name=&quot;ulica&quot;&gt;&lt;br&gt; PSČ: &lt;input type=&quot;text&quot; ...</description>
			<content:encoded><![CDATA[ <p>Hi. I have HTML form and i need php code when i want to subtract something from coulmn in mysql database.<br />
Something like</p>

<pre><code><a href="http://www.daniweb.com/web-development/php/threads/101739/using-php-and-html-forms-to-update-a-mysql-database" rel="nofollow">http://www.daniweb.com/web-development/php/threads/101739/using-php-and-html-forms-to-update-a-mysql-database</a>
</code></pre>

<p>MY FORM - HTML</p>

<pre><code>&lt;form action="objednat_potvrdenie.php" method="post"&gt;

Meno: &lt;input type="text" name="meno"&gt;&lt;br&gt;
Priezvisko: &lt;input type="text" name="prie"&gt;&lt;br&gt;
Mesto: &lt;input type="text" name="mesto"&gt;&lt;br&gt;
Ulica: &lt;input type="text" name="ulica"&gt;&lt;br&gt;
PSČ: &lt;input type="text" name="psc"&gt;&lt;br&gt;
Počet kusov: &lt;input type="text" name="p_k" id="p_k"&gt;&lt;br&gt;
Kód produktu: &lt;input type="text" name="k_p" id="k_p"&gt;&lt;br&gt;

&lt;input type="submit" value="Objednať"&gt;

&lt;/form&gt; 
</code></pre>

<p>I want ask for sql, php, and demo pleaseee.</p>
 ]]></content:encoded>
			<category domain="http://www.daniweb.com/web-development/php/17">PHP</category>
			<dc:creator>careaa.fractal</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/web-development/php/threads/456940/php-and-html-form-to-update-a-mysql-database</guid>
		</item>
				<item>
			<title>put python variable into sqlite3</title>
			<link>http://www.daniweb.com/software-development/python/threads/456939/put-python-variable-into-sqlite3</link>
			<pubDate>Tue, 18 Jun 2013 14:50:01 +0000</pubDate>
			<description>I have 2 functions, one of which works and one of which doesn't. I do not understand this, because the only difference is that the second function puts in just the name of the variable, where the 1st function puts in the value. There is only one line to build ...</description>
			<content:encoded><![CDATA[ <p>I have 2 functions, one of which works and one of which doesn't.  I do not understand this, because the only difference is that the second function puts in just the name of the variable, where the 1st function puts in the value.</p>

<p>There is only one line to build for the test from a given dataset, but the content function has several lines.  I am using a for loop to handle the iteration through the csv to get content, but it fails to get anything but the first line.  There is no error traceback from this code, unless I take the quotes from around the vuln_0 variable name <code>cur.execute("INSERT INTO vulnerabilities(IP) VALUES ('vuln_0');")</code><br />
With no quotes, it errors out in sqlite3, saying "there is no column vuln_0."</p>

<pre><code class="language-py">def load_titles(f, d):
    print("This is da 'd,' y\'all! ", d )
    filename = f
    titles=[]
    with open(filename, 'rb') as mycsv:
            reader = csv.reader(mycsv)
            counter = 0
            for counter,row in enumerate(reader):
                if counter &lt; 1: continue
                if counter &gt; 6: break
                titles.append(row)

            tests = (1, titles[0][0], titles[0][1], titles[0][2], titles[0][3], titles[0][4], titles[0][5], titles[0][6], titles[1][0], titles[1][1], titles[1][2], titles[4][0], titles[4][1], titles[4][2], titles[4][3], titles[4][4], titles[4][5], titles[4][6]),

    try:
        con = lite.connect(d)
        with con:
            cur = con.cursor()    
            cur.execute("DROP TABLE IF EXISTS tests")
            cur.execute("CREATE TABLE tests(Id INTEGER PRIMARY KEY, Corp TEXT, Address_1 TEXT, Address_2 TEXT, City TEXT, State TEXT, Country TEXT, Postal_Code TEXT, Requester TEXT, Code_1 TEXT, Role TEXT, Asset_Groups TEXT, IPs TEXT, Active_Hosts INT, Hosts_Matching_Filters INT, Trend_Analysis TEXT, Date_Range TEXT, Asset_Tags TEXT)")
            cur.executemany("INSERT INTO tests VALUES(?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)", tests)

    except lite.Error, e:
        if con:
            con.rollback()
        print "Error %s:" % e.args[0]
        sys.exit(1)

    finally:
        if con:
            con.close() 

def load_content(f, d):
    filename = f

    with open(filename, 'rb') as mycsv:
        print(filename)
        id = 1
        reader = csv.reader(mycsv)
        counter = 0
        for counter,row in enumerate(reader):
#           con = lite.connect(d)
            if counter &gt; 8: 
                continue
            print(row)
#           chine = (test.tests.id, row[0],row[2], row[4])
#           vuln = (id, row[0],row[1], row[2], row[3], row[4], row[5], row[6], row[7], row[8], row[9], row[10], row[11], row[12], row[13], row[14], row[15], row[16], row[17])

            vuln_0 = str(row[0])
            vuln_1 = str(row[1])
            vuln_2 = str(row[2])
            vuln_3 = str(row[3])
            vuln_4 = str(row[4])
            vuln_5 = str(row[5])
            vuln_6 = str(row[6])
            vuln_7 = str(row[7])
            vuln_8 = str(row[8])
            vuln_9 = str(row[9])
            vuln_A = str(row[10])
            vuln_B = str(row[11])
            vuln_C = str(row[12])
            vuln_D = str(row[13])
            vuln_E = str(row[14])
            vuln_F = str(row[15])
            vuln10 = str(row[16])
            vuln11 = str(row[17])

            try:
                con = lite.connect(d)

                with con:
                    cur = con.cursor()    

                    cur.execute("DROP TABLE IF EXISTS vulnerabilities")
                    cur.execute("CREATE TABLE vulnerabilities(Id INTEGER PRIMARY KEY, IP TEXT, CVSS_Base TEXT, NetBIOS TEXT, OS TEXT,  QID TEXT, First_Detected TEXT, Last_Detected TEXT, Port TEXT, CVE_ID TEXT, Vendor_Reference TEXT, Bug_traq_ID TEXT, Threat TEXT, Impacts TEXT, Solution TEXT, Exploitability TEXT, Associated_Malware TEXT, Results TEXT, PCI_Vuln TEXT)")

                    cur.execute("INSERT INTO vulnerabilities(IP) VALUES ('vuln_0');")
                    con.commit()

            except lite.Error, e:
                if con:
                    con.rollback()
                    print "Error %s:" % e.args[0]
                    sys.exit(1)

            finally:
                if con:
                    con.close() 

#
</code></pre>

<p>There are 19 values I want to enter, but for now, only 0th value is being entered into the db.<br />
The first iteration of the for loop runs, but nothing else.</p>

<p>A data file you could use: <a href="https://github.com/wolf29/csv-edit/blob/master/mouse.csv" rel="nofollow">https://github.com/wolf29/csv-edit/blob/master/mouse.csv</a><br />
The source: <a href="https://github.com/wolf29/csv-edit/blob/master/test0813.py" rel="nofollow">https://github.com/wolf29/csv-edit/blob/master/test0813.py</a></p>

<p>This is python 2.7.3.  It has occurred to me that I might be mixing ver 2.x and 3.x in my code.</p>
 ]]></content:encoded>
			<category domain="http://www.daniweb.com/software-development/python/114">Python</category>
			<dc:creator>wolf29</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/software-development/python/threads/456939/put-python-variable-into-sqlite3</guid>
		</item>
				<item>
			<title>how to convert hex to arabic string ?</title>
			<link>http://www.daniweb.com/software-development/c/threads/456938/how-to-convert-hex-to-arabic-string-</link>
			<pubDate>Tue, 18 Jun 2013 14:46:02 +0000</pubDate>
			<description>I need help writing a function to convert hex to arabic string to Example get string this : &quot;D8B1D8B5D98AD8AFD8A7D984D8B1D982D985&quot; and return this : رصيد الرقم in english-(Balance figure). **only c code** TNX</description>
			<content:encoded><![CDATA[ <p>I need help writing a function to convert hex to arabic string</p>

<p>to Example get string this : "D8B1D8B5D98AD8AFD8A7D984D8B1D982D985" and return this : رصيد الرقم in english-(Balance figure).<br /><strong>only c code</strong><br />
TNX</p>
 ]]></content:encoded>
			<category domain="http://www.daniweb.com/software-development/c/118">C</category>
			<dc:creator>eladt</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/software-development/c/threads/456938/how-to-convert-hex-to-arabic-string-</guid>
		</item>
				<item>
			<title>Is DaniWeb *VERY* slow for you?</title>
			<link>http://www.daniweb.com/community-center/daniweb-community-feedback/threads/456936/is-daniweb-very-slow-for-you</link>
			<pubDate>Tue, 18 Jun 2013 14:20:37 +0000</pubDate>
			<description>Is DaniWeb extremely slow for you?? It's alternating for me between pages being speedy and taking absolutely forever to load. Is this on my end with my ISP?</description>
			<content:encoded><![CDATA[ <p>Is DaniWeb extremely slow for you?? It's alternating for me between pages being speedy and taking absolutely forever to load. Is this on my end with my ISP?</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/456936/is-daniweb-very-slow-for-you</guid>
		</item>
				<item>
			<title>How to insert data into database using asp.net c# ?</title>
			<link>http://www.daniweb.com/web-development/aspnet/threads/456935/how-to-insert-data-into-database-using-asp.net-c-</link>
			<pubDate>Tue, 18 Jun 2013 14:01:00 +0000</pubDate>
			<description>Hello friends...here i contribute code of how to insert data into database using asp.net c#. Click on the following link [Click Here](http://dotnet-php.blogspot.com/2013/05/insert-data-into-database-using-aspnet-c.html)</description>
			<content:encoded><![CDATA[ <p>Hello friends...here i contribute code of how to insert data into database using asp.net c#.</p>

<p>Click on the following link</p>

<p><a href="http://dotnet-php.blogspot.com/2013/05/insert-data-into-database-using-aspnet-c.html" rel="nofollow">Click Here</a></p>
 ]]></content:encoded>
			<category domain="http://www.daniweb.com/web-development/aspnet/18">ASP.NET</category>
			<dc:creator>vatsal193</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/web-development/aspnet/threads/456935/how-to-insert-data-into-database-using-asp.net-c-</guid>
		</item>
				<item>
			<title>in html web design</title>
			<link>http://www.daniweb.com/web-development/web-design-html-and-css/threads/456934/in-html-web-design</link>
			<pubDate>Tue, 18 Jun 2013 12:51:41 +0000</pubDate>
			<description>hello guys i ask question it easy to use html language to web design? or they have other language that easy to use guyz i ask question again they have site that i can learn about html web design??</description>
			<content:encoded><![CDATA[ <p>hello guys</p>

<p>i ask question it easy to use html language to web design? or they have other language that easy to use</p>

<p>guyz  i ask question again they have site that i can learn about html web design??</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>Shierlyn</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/web-development/web-design-html-and-css/threads/456934/in-html-web-design</guid>
		</item>
				<item>
			<title>More/Less menu</title>
			<link>http://www.daniweb.com/web-development/javascript-dhtml-ajax/threads/456933/moreless-menu</link>
			<pubDate>Tue, 18 Jun 2013 12:44:42 +0000</pubDate>
			<description>I want vertical menu with More or Less option same like in http://www.bayt.com/en/international/jobs/ I tried to find out.. but no luck..</description>
			<content:encoded><![CDATA[ <p>I want vertical menu with More or Less option same like in <a href="http://www.bayt.com/en/international/jobs/" rel="nofollow">http://www.bayt.com/en/international/jobs/</a></p>

<p>I tried to find out..  but no luck..</p>
 ]]></content:encoded>
			<category domain="http://www.daniweb.com/web-development/javascript-dhtml-ajax/117">JavaScript / DHTML / AJAX</category>
			<dc:creator>edwin.thomson1</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/web-development/javascript-dhtml-ajax/threads/456933/moreless-menu</guid>
		</item>
				<item>
			<title>Difference between instance and object in .NET</title>
			<link>http://www.daniweb.com/software-development/threads/456932/difference-between-instance-and-object-in-.net</link>
			<pubDate>Tue, 18 Jun 2013 12:38:16 +0000</pubDate>
			<description>Hi, Plz explain the difference between instance and object in .NET, if possible explain with example. Thanks in Advance</description>
			<content:encoded><![CDATA[ <p>Hi,</p>

<p>Plz explain the difference between instance and object in .NET, if possible explain with example.</p>

<p>Thanks in Advance</p>
 ]]></content:encoded>
			<category domain="http://www.daniweb.com/software-development/2">Software Development</category>
			<dc:creator>virendra_sharma</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/software-development/threads/456932/difference-between-instance-and-object-in-.net</guid>
		</item>
				<item>
			<title>Random Images from shake Detector</title>
			<link>http://www.daniweb.com/software-development/mobile-development/threads/456931/random-images-from-shake-detector</link>
			<pubDate>Tue, 18 Jun 2013 12:09:08 +0000</pubDate>
			<description>This is the code I have built so far. The shake detector is complete and works, I just don't know what to write for the execution code at line 26. I have 10 images stored in my res/drawable-hdpi folder, entitle 1-10 and I want to change between them randomly when ...</description>
			<content:encoded><![CDATA[ <p>This is the code I have built so far. The shake detector is complete and works, I just don't know what to write for the execution code at line 26. I have 10 images stored in my res/drawable-hdpi folder, entitle 1-10 and I want to change between them randomly when I shake it. I will eventually try and implement some transistions betwen images, so any advice on that would be amazing!</p>

<pre><code>import java.util.Random;

import android.os.Bundle;

import android.app.Activity;

import android.view.Menu;


public class MainActivity extends Activity {

    private ShakeDetector mShaker;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);


        //Shake Detection
         mShaker = new ShakeDetector(this);
            mShaker.setOnShakeListener(new ShakeDetector.OnShakeListener () {
              public void onShake()
              {
                //Code here is processed after shake.  

              }
            });
    }

    @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;
    }

}
</code></pre>
 ]]></content:encoded>
			<category domain="http://www.daniweb.com/software-development/mobile-development/181">Mobile Development</category>
			<dc:creator>poopuh</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/software-development/mobile-development/threads/456931/random-images-from-shake-detector</guid>
		</item>
				<item>
			<title>View Excel spreadsheet in ASP.net with dynamic labels</title>
			<link>http://www.daniweb.com/web-development/aspnet/threads/456930/view-excel-spreadsheet-in-asp.net-with-dynamic-labels</link>
			<pubDate>Tue, 18 Jun 2013 11:51:08 +0000</pubDate>
			<description>My company is using a simple spreadsheet to write down things from control surveys. Then the data is beeing saved in a big and useless program. Since the data is beeing saved to a database, I want to view this same spreadsheet in a ASP.NET page, with the textboxes filled ...</description>
			<content:encoded><![CDATA[ <p>My company is using a simple spreadsheet to write down things from control surveys. Then the data is beeing saved in a big and useless program. Since the data is beeing saved to a database, I want to view this same spreadsheet in a ASP.NET page, with the textboxes filled in. The spreadsheet is so complex graphicly, so i don't think gridview would be the way to go.</p>

<p>Is there anybody that have done something similar. I've been thinking about make a picturebox of the spreadsheet and then have dynamic labels upon it, but I think there should be smarter ways.</p>

<p>I have atatched the file. The survey is beeing done multiple times on the same area, so i wan't the user to be able to choose which date he want to view. But of course this is done simple in SQL.</p>
 ]]></content:encoded>
			<category domain="http://www.daniweb.com/web-development/aspnet/18">ASP.NET</category>
			<dc:creator>rubenrav</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/web-development/aspnet/threads/456930/view-excel-spreadsheet-in-asp.net-with-dynamic-labels</guid>
		</item>
				<item>
			<title>Application Exit</title>
			<link>http://www.daniweb.com/software-development/csharp/threads/456929/application-exit</link>
			<pubDate>Tue, 18 Jun 2013 11:36:19 +0000</pubDate>
			<description>Greetings I have a MDI application that when run for the first time it asks for the activation code by showing the main Windows Form (MDI parent) and another activation acquire code Windows Form showed above the main Windows Form using the ShowDialog() method. The main Windows Form including a ...</description>
			<content:encoded><![CDATA[ <p>Greetings</p>

<p>I have a MDI application that when run for the first time it asks for the activation code by showing the main Windows Form (MDI parent) and another activation acquire code Windows Form showed above the main Windows Form using the ShowDialog() method. The main Windows Form including a tool strip button when I exit the activation Windows Form by clicking the X upper right corner button, that tool strip is disabled and I cannot use it to exit the application and when I click the X upper right corner button of the main Windows Form to exit the application it gives me an error Windows report message informing that "vshost-clr2.exe has stopped working" when I looked for the main Windows form FormClosed event I found that line of code</p>

<pre><code class="language-cs">System.Environment.Exit(0)
</code></pre>

<p>What is the problem the causing such error "vshost-clr2.exe has stopped working" when clicking the X upper right corner of the main Windows Form (the MDI parent)</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/456929/application-exit</guid>
		</item>
				<item>
			<title>Java source code for school project</title>
			<link>http://www.daniweb.com/software-development/game-development/threads/456928/java-source-code-for-school-project</link>
			<pubDate>Tue, 18 Jun 2013 11:31:12 +0000</pubDate>
			<description>Hello, I am a 3rd year Computer Science major and taking a introduction to game design course. The project from this week is defined as follows: 1. Java game 2. Use the jMonkey SDK 3. &quot;use an existing game engine and map to modify and create your own level&quot; 4. ...</description>
			<content:encoded><![CDATA[ <p>Hello, I am a 3rd year Computer Science major and taking a introduction to game design course. The project from this week is defined as follows:</p>

<ol><li>Java game</li>
<li>Use the jMonkey SDK</li>
<li>"use an existing game engine and map to modify and create your own level"</li>
<li>"The level you create must be unique, realistic and playable by multiple players"</li>
</ol>

<p>My problem: I have spent 2 days looking for source code for java games and have not found any that fit the criteria, or are on sites that require a monthly subscription. I found some games, but they are JAR files and I don't know a way to change the files from that format. I HAVE looked at the jMonkey help files and didn't find anything.</p>

<p>A website, thread or instructions on how to modify a JAR file would be appreciated.</p>

<p>Thank you</p>
 ]]></content:encoded>
			<category domain="http://www.daniweb.com/software-development/game-development/71">Game Development</category>
			<dc:creator>Stachys</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/software-development/game-development/threads/456928/java-source-code-for-school-project</guid>
		</item>
				<item>
			<title>hp pavillon g6 will not charge and displays plugged in, charging</title>
			<link>http://www.daniweb.com/hardware-and-software/threads/456927/hp-pavillon-g6-will-not-charge-and-displays-plugged-in-charging</link>
			<pubDate>Tue, 18 Jun 2013 11:23:14 +0000</pubDate>
			<description>hi y'all, my hp pavillon g6, displays plugged in, charging. but never increases. changed the battery and charger, still wont work. i've tried the powerbutton for 30secs stuff any help will be appreciated</description>
			<content:encoded><![CDATA[ <p>hi y'all,<br />
my hp pavillon g6, displays plugged in, charging. but never increases. changed the battery and charger, still wont work.<br />
i've tried the powerbutton for 30secs stuff<br />
any help will be appreciated</p>
 ]]></content:encoded>
			<category domain="http://www.daniweb.com/hardware-and-software/1">Hardware and Software</category>
			<dc:creator>akinfemi.aluko</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/hardware-and-software/threads/456927/hp-pavillon-g6-will-not-charge-and-displays-plugged-in-charging</guid>
		</item>
				<item>
			<title>Search Engine Submission</title>
			<link>http://www.daniweb.com/internet-marketing/search-engine-optimization/threads/456926/search-engine-submission</link>
			<pubDate>Tue, 18 Jun 2013 11:19:10 +0000</pubDate>
			<description>What is Search Engine Submission?</description>
			<content:encoded><![CDATA[ <p>What is Search Engine Submission?</p>
 ]]></content:encoded>
			<category domain="http://www.daniweb.com/internet-marketing/search-engine-optimization/45">Search Engine Optimization</category>
			<dc:creator>Lisabraker</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/internet-marketing/search-engine-optimization/threads/456926/search-engine-submission</guid>
		</item>
				<item>
			<title>Deduct food recipes from the main inventroy?</title>
			<link>http://www.daniweb.com/software-development/vbnet/threads/456925/deduct-food-recipes-from-the-main-inventroy</link>
			<pubDate>Tue, 18 Jun 2013 11:12:25 +0000</pubDate>
			<description>Hi all! I'm stuck somewhere. I have a table for Inventory (which contains the available amount of each food component) What I want to do: If I select a certain food (say salad) I want to be able to deduct the components (amount) of 'salad' from the inventory table. Consider ...</description>
			<content:encoded><![CDATA[ <p>Hi all!</p>

<p>I'm stuck somewhere. I have a table for Inventory (which contains the available amount of each food component)<br />
What I want to do: If I select a certain food (say salad) I want to be able to deduct the components (amount) of 'salad' from the inventory table.</p>

<p>Consider this:<br />
Salad is made up of 20mil of water, 50 of oil and 100gm of onion (just an example)<br />
When I give someone a Salad, I want to be able to deduct 20mil of water, 50 of oil and 100gm of onion from the inventory table. (So that I know how much of each item in my inventory is left)</p>

<p>The code is to allow these recipes of Salad to be changed/deleted/some others added into it. (Flexibility). I've found this difficult since in order to allow this flexibility, I can't just write that deduction in code as something that won't change forever.(More recipes can be added in the future)</p>

<p>Does anyone has an idea on how to do this?</p>

<p>I use MySQL with VB.NET</p>
 ]]></content:encoded>
			<category domain="http://www.daniweb.com/software-development/vbnet/58">VB.NET</category>
			<dc:creator>savedlema</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/software-development/vbnet/threads/456925/deduct-food-recipes-from-the-main-inventroy</guid>
		</item>
				<item>
			<title>Allocate handle</title>
			<link>http://www.daniweb.com/software-development/csharp/threads/456923/allocate-handle</link>
			<pubDate>Tue, 18 Jun 2013 11:08:17 +0000</pubDate>
			<description>What are the function of SQLAllocHandle() SQLSetEnvAttr() SQLFreeHandle() SQLBrowseConnect() Can any onw help me understand them in detail I searched and understood them slightly. However, I'm reading a project without a documentation in which they are used and I'm confused too.... much. Thanks in advance</description>
			<content:encoded><![CDATA[ <p>What are the function of</p>

<p>SQLAllocHandle()<br />
SQLSetEnvAttr()<br />
SQLFreeHandle()<br />
SQLBrowseConnect()</p>

<p>Can any onw help me understand them in detail I searched and understood them slightly. However, I'm reading a project without a documentation in which they are used and I'm confused too.... much.</p>

<p>Thanks in advance</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/456923/allocate-handle</guid>
		</item>
				<item>
			<title>LAPTOP</title>
			<link>http://www.daniweb.com/hardware-and-software/microsoft-windows/windows-vista-and-windows-7-8/threads/456922/laptop</link>
			<pubDate>Tue, 18 Jun 2013 11:03:42 +0000</pubDate>
			<description>Hi to everyone! Long time hasn't been here. I have just purchassed new Laptop / Samsung 17&quot; NP350V5C-S09AU-Intel® Core i7 8GB Memory_1TB HDD 3.4GHz, WINDOW 8 / and for my surprise it's working very slow, even have not installed any program. Take ages to boot, and when tried to run ...</description>
			<content:encoded><![CDATA[ <p>Hi to everyone! Long time hasn't been here. I have just purchassed new Laptop / Samsung 17" NP350V5C-S09AU-Intel® Core i7 8GB Memory_1TB HDD 3.4GHz, WINDOW 8 / and for my surprise it's working very slow, even have not installed any program. Take ages to boot, and when tried to run anything have to waiting long time. My old Toshiba with W7 is 10 times faster. Please, what's the problem? I paid 1K for it.</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>SerbOz</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/hardware-and-software/microsoft-windows/windows-vista-and-windows-7-8/threads/456922/laptop</guid>
		</item>
				<item>
			<title>how get values for table from text files?</title>
			<link>http://www.daniweb.com/software-development/java/threads/456921/how-get-values-for-table-from-text-files</link>
			<pubDate>Tue, 18 Jun 2013 10:53:26 +0000</pubDate>
			<description>Hi, i making a program where I would read data from text files and store them in tables in myslq. In my program I would create the table with the fields and in these fields I would insert the values from the text file. My issue is that i don't ...</description>
			<content:encoded><![CDATA[ <p>Hi,<br />
i making a program where I would read data from text files and store them in tables in myslq.<br />
In my program I would create the table with the fields and in these fields I would insert the values from the text file.<br />
My issue is that i don't know how! I would explain you why! In my program I would create table with fields (ID, Name). The values of these fields must be taken from the text file. The form of the text file is the below:<br /><img src="/attachments/fetch/L2ltYWdlcy9hdHRhY2htZW50cy80Lzc3NjZiODYyMmQ2YWYzYjQ0NTAxYzc5YWNhNWZjNTI5LnBuZw%3D%3D/109" alt="7766b8622d6af3b44501c79aca5fc529" title="align-right" /></p>

<p>As you can see the ID is in the third row of the file and the Name is in the fifth. Could anyone help me how can I import the values for ID and Name in the table?How can i get these values?</p>
 ]]></content:encoded>
			<category domain="http://www.daniweb.com/software-development/java/9">Java</category>
			<dc:creator>ef_mag</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/software-development/java/threads/456921/how-get-values-for-table-from-text-files</guid>
		</item>
				<item>
			<title>auto update Gridview </title>
			<link>http://www.daniweb.com/web-development/aspnet/threads/456920/auto-update-gridview-</link>
			<pubDate>Tue, 18 Jun 2013 10:51:37 +0000</pubDate>
			<description>Hi all i stuck with one problem i have gridview and values continuesly changing in database so i wanto to that it should automaticaly update that value in grid without making screen flik or postback to server scenario like stock market even if any value exeed then its max value ...</description>
			<content:encoded><![CDATA[ <p>Hi all</p>

<p>i stuck with one problem i have gridview and values continuesly changing in database so i wanto to that it should automaticaly update that  value in grid without making screen flik or postback to server scenario like stock market even if any value exeed then its max value it should be change cell colour to red i know use of timmer but it makes screen flik i want smooth flow so any body has any idea Please help me out</p>
 ]]></content:encoded>
			<category domain="http://www.daniweb.com/web-development/aspnet/18">ASP.NET</category>
			<dc:creator>hirenpatel53</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/web-development/aspnet/threads/456920/auto-update-gridview-</guid>
		</item>
				<item>
			<title>print text to form</title>
			<link>http://www.daniweb.com/software-development/vbnet/threads/456919/print-text-to-form</link>
			<pubDate>Tue, 18 Jun 2013 10:50:56 +0000</pubDate>
			<description>we use `Print` to print text to form in vb6 and dont know how to print text to window form in vb.net please explain how to achieve it . . .</description>
			<content:encoded><![CDATA[ <p>we use <code>Print</code> to print text to form in vb6<br />
and dont know how to print text to window form in vb.net<br />
please explain how to achieve it . . .</p>
 ]]></content:encoded>
			<category domain="http://www.daniweb.com/software-development/vbnet/58">VB.NET</category>
			<dc:creator>Learner010</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/software-development/vbnet/threads/456919/print-text-to-form</guid>
		</item>
				<item>
			<title>How Convert Dynamic Asp into HTML?</title>
			<link>http://www.daniweb.com/software-development/vbnet/threads/456918/how-convert-dynamic-asp-into-html</link>
			<pubDate>Tue, 18 Jun 2013 10:48:49 +0000</pubDate>
			<description>Hello All, My friend just made one dynamic website in Asp.net but after the complete development he want to change complete website in HTML. So please suggest me any tools in a market that can replace to complete dynamic website into HTML. Please suggest me how we can do that? ...</description>
			<content:encoded><![CDATA[ <p>Hello All,</p>

<p>My friend just made one dynamic website in Asp.net but after the complete development he want to change complete website in HTML. So please suggest me any tools in a market that can replace to complete dynamic website into HTML. Please suggest me how we can do that?</p>

<p>Regards,<br />
David Kroj</p>
 ]]></content:encoded>
			<category domain="http://www.daniweb.com/software-development/vbnet/58">VB.NET</category>
			<dc:creator>davidkroj</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/software-development/vbnet/threads/456918/how-convert-dynamic-asp-into-html</guid>
		</item>
				<item>
			<title>&#039;you are not connected to a network&#039;</title>
			<link>http://www.daniweb.com/hardware-and-software/networking/threads/456917/you-are-not-connected-to-a-network</link>
			<pubDate>Tue, 18 Jun 2013 10:46:07 +0000</pubDate>
			<description>`Inline Code Example Here` I I have a win xp3 desktop connected to internet but laptop win 7, 32 bit, wireless router belkin n 150,get error 'you are not connected to a network' Kindly suggest solutions to overcome this problem. ipconfig/all results are given below: Microsoft Windows [Version 6.1.7601] Copyright ...</description>
			<content:encoded><![CDATA[ <p><code>Inline Code Example Here</code></p>

<p>I</p>

<p>I have a win xp3 desktop connected to internet but laptop win 7, 32 bit, wireless router belkin n 150,get error 'you are not connected to a network' Kindly suggest solutions to overcome this problem. ipconfig/all results are given below:</p>

<pre><code>Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation.  All rights reserved.

C:\Users\hp&gt;ipconfig/all

Windows IP Configuration

   Host Name . . . . . . . . . . . . : hp-HP
   Primary Dns Suffix  . . . . . . . :
   Node Type . . . . . . . . . . . . : Hybrid
   IP Routing Enabled. . . . . . . . : No
   WINS Proxy Enabled. . . . . . . . : No

Wireless LAN adapter Wireless Network Connection 2:

   Media State . . . . . . . . . . . : Media disconnected
   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : Microsoft Virtual WiFi Miniport Adapter
   Physical Address. . . . . . . . . : 66-6D-57-70-16-0D
   DHCP Enabled. . . . . . . . . . . : No
   Autoconfiguration Enabled . . . . : Yes

Ethernet adapter Bluetooth Network Connection:

   Media State . . . . . . . . . . . : Media disconnected
   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : Bluetooth Device (Personal Area Network)
   Physical Address. . . . . . . . . : 44-6D-57-70-7C-3D
   DHCP Enabled. . . . . . . . . . . : Yes
   Autoconfiguration Enabled . . . . : Yes

Ethernet adapter Local Area Connection:

   Media State . . . . . . . . . . . : Media disconnected
   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : Realtek PCIe FE Family Controller
   Physical Address. . . . . . . . . : A0-B3-CC-BF-4C-C0
   DHCP Enabled. . . . . . . . . . . : Yes
   Autoconfiguration Enabled . . . . : Yes

Wireless LAN adapter Wireless Network Connection:

   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : Atheros AR9485 802.11b/g/n WiFi Adapter
   Physical Address. . . . . . . . . : 44-6D-57-70-16-0D
   DHCP Enabled. . . . . . . . . . . : Yes
   Autoconfiguration Enabled . . . . : Yes
   Link-local IPv6 Address . . . . . : fe80::18a1:ebb1:fc35:b94e%11(Preferred)
   Autoconfiguration IPv4 Address. . : 169.254.185.78(Preferred)
   Subnet Mask . . . . . . . . . . . : 255.255.0.0
   Default Gateway . . . . . . . . . :
   DHCPv6 IAID . . . . . . . . . . . : 289697111
   DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-18-06-78-71-A0-B3-CC-BF-4C-C0

   DNS Servers . . . . . . . . . . . : fec0:0:0:ffff::1%1
                                       fec0:0:0:ffff::2%1
                                       fec0:0:0:ffff::3%1
   NetBIOS over Tcpip. . . . . . . . : Enabled

Tunnel adapter isatap.{BC87B9EE-6294-46F9-8281-3209E970681E}:

   Media State . . . . . . . . . . . : Media disconnected
   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : Microsoft ISATAP Adapter
   Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
   DHCP Enabled. . . . . . . . . . . : No
   Autoconfiguration Enabled . . . . : Yes

Tunnel adapter Teredo Tunneling Pseudo-Interface:

   Media State . . . . . . . . . . . : Media disconnected
   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : Teredo Tunneling Pseudo-Interface
   Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
   DHCP Enabled. . . . . . . . . . . : No
   Autoconfiguration Enabled . . . . : Yes

Tunnel adapter isatap.{F09597A5-6735-4C8D-B0E3-1B87FBD21A6E}:

   Media State . . . . . . . . . . . : Media disconnected
   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : Microsoft ISATAP Adapter #2
   Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
   DHCP Enabled. . . . . . . . . . . : No
   Autoconfiguration Enabled . . . . : Yes

Tunnel adapter isatap.{243CB3CB-BC45-4EA0-A276-BFC9016732D5}:

   Media State . . . . . . . . . . . : Media disconnected
   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : Microsoft ISATAP Adapter #3
   Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
   DHCP Enabled. . . . . . . . . . . : No
   Autoconfiguration Enabled . . . . : Yes

Tunnel adapter 6TO4 Adapter:

   Media State . . . . . . . . . . . : Media disconnected
   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : Microsoft 6to4 Adapter
   Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
   DHCP Enabled. . . . . . . . . . . : No
   Autoconfiguration Enabled . . . . : Yes

Tunnel adapter isatap.{FDD9C01F-CA31-42CB-B25E-E702B250F62A}:

   Media State . . . . . . . . . . . : Media disconnected
   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : Microsoft ISATAP Adapter #4
   Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
   DHCP Enabled. . . . . . . . . . . : No
   Autoconfiguration Enabled . . . . : Yes

C:\Users\hp&gt;
</code></pre>
 ]]></content:encoded>
			<category domain="http://www.daniweb.com/hardware-and-software/networking/13">Networking</category>
			<dc:creator>manitm16</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/hardware-and-software/networking/threads/456917/you-are-not-connected-to-a-network</guid>
		</item>
				<item>
			<title>php code</title>
			<link>http://www.daniweb.com/web-development/php/threads/456915/php-code</link>
			<pubDate>Tue, 18 Jun 2013 10:26:34 +0000</pubDate>
			<description>hi guys i need help, i need php code about how to put a sound in website... thanks!!!</description>
			<content:encoded><![CDATA[ <p>hi guys<br />
i need help, i need php code about how to put a sound in website...<br />
thanks!!!</p>
 ]]></content:encoded>
			<category domain="http://www.daniweb.com/web-development/php/17">PHP</category>
			<dc:creator>Ericson27</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/web-development/php/threads/456915/php-code</guid>
		</item>
				<item>
			<title>Comma Delimited String as Parameter in T-SQL</title>
			<link>http://www.daniweb.com/web-development/databases/ms-sql/threads/456914/comma-delimited-string-as-parameter-in-t-sql</link>
			<pubDate>Tue, 18 Jun 2013 10:23:05 +0000</pubDate>
			<description>Need some help here. I was trying to make a Stored Procedure in MS SQL 2008 which will make use of comma delimited string as Parameter in my WHERE [COLUMN] LIKE [PARAMETER] condition. Somehow, I was able to select rows of data from my DB table that matches the set ...</description>
			<content:encoded><![CDATA[ <p>Need some help here.</p>

<p>I was trying to make a Stored Procedure in MS SQL 2008 which will make use of comma delimited string as Parameter in my WHERE [COLUMN] LIKE [PARAMETER] condition.</p>

<p>Somehow, I was able to select rows of data from my DB table that matches the set of values I passed to the parameter however, Im not getting the ideal output from it.</p>

<p>Supposed I have a product 'BOLT &amp; CAP ORANGE' and 'BOLT &amp; CAP RED' in my PRODUCTS Table. Using C# as front end, if I typed "BOLT, ORANGE" in the search field I provided on my windows form, both products are being displayed. But what I need is that, whenever I type a string separated by comma in the search field, ONLY those products that has a "BOLT" and "ORANGE" words should be displayed, 'BOLT &amp; CAP ORANGE' for instance.</p>

<p>Is this possible?</p>
 ]]></content:encoded>
			<category domain="http://www.daniweb.com/web-development/databases/ms-sql/127">MS SQL</category>
			<dc:creator>draven07</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/web-development/databases/ms-sql/threads/456914/comma-delimited-string-as-parameter-in-t-sql</guid>
		</item>
				<item>
			<title>worm duplicating a file</title>
			<link>http://www.daniweb.com/software-development/c/threads/456913/worm-duplicating-a-file</link>
			<pubDate>Tue, 18 Jun 2013 10:00:22 +0000</pubDate>
			<description>Hi all, I wanted to create a computer warm which create a file all over a network for learning purpose. But have no idea where to start. Can anyone guide me through how to create a simple one?. Any examples would be great.. thanks..</description>
			<content:encoded><![CDATA[ <p>Hi all,</p>

<p>I wanted to create a computer warm which create a file all over a network for learning purpose. But have no idea where to start. Can anyone guide me through how to create a simple one?. Any examples would be great.. thanks..</p>
 ]]></content:encoded>
			<category domain="http://www.daniweb.com/software-development/c/118">C</category>
			<dc:creator>baby_c</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/software-development/c/threads/456913/worm-duplicating-a-file</guid>
		</item>
				<item>
			<title>my project on visual basic</title>
			<link>http://www.daniweb.com/software-development/visual-basic-4-5-6/threads/456911/my-project-on-visual-basic</link>
			<pubDate>Tue, 18 Jun 2013 09:49:27 +0000</pubDate>
			<description>I have a problem during making my project . the problem is I programmed it like if we press 123 a message box pops saying something when I type 456 I programmed it like a msgbox pops up and says something but when I run it the first time I ...</description>
			<content:encoded><![CDATA[ <p>I have a problem during making my project . the problem is I programmed it like if we press 123 a message box pops saying something when I type 456 I programmed it like a msgbox pops up and says something but when I run it the first time I press 123 the thing pops up but when I type 456 the 123 msgbox pops up and then 456 msgbox pops up HELP!!!!</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>rushimaadhav</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/software-development/visual-basic-4-5-6/threads/456911/my-project-on-visual-basic</guid>
		</item>
				<item>
			<title>Without Backlinks - How website can be PR3</title>
			<link>http://www.daniweb.com/internet-marketing/search-engine-optimization/threads/456903/without-backlinks-how-website-can-be-pr3</link>
			<pubDate>Tue, 18 Jun 2013 08:32:16 +0000</pubDate>
			<description>hi chap: I completely confused, how can website be pr3 without any backlinks. Guys can you help me out, what will be the reasons. i can clearly see, there is no backlinks for the website and its pr3. how?</description>
			<content:encoded><![CDATA[ <p>hi chap:<br />
I completely confused, how can website be pr3 without any backlinks. Guys can you help me out, what will be the reasons. i can clearly see, there is no backlinks for the website and its pr3. how?</p>
 ]]></content:encoded>
			<category domain="http://www.daniweb.com/internet-marketing/search-engine-optimization/45">Search Engine Optimization</category>
			<dc:creator>lara1anjela</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/internet-marketing/search-engine-optimization/threads/456903/without-backlinks-how-website-can-be-pr3</guid>
		</item>
				<item>
			<title>How important are meta tags now?</title>
			<link>http://www.daniweb.com/internet-marketing/search-engine-optimization/threads/456902/how-important-are-meta-tags-now</link>
			<pubDate>Tue, 18 Jun 2013 08:30:38 +0000</pubDate>
			<description>How important are meta tags now? Should we use Meta keyword and description in websites?</description>
			<content:encoded><![CDATA[ <p>How important are meta tags now?<br />
Should we use Meta keyword and description in websites?</p>
 ]]></content:encoded>
			<category domain="http://www.daniweb.com/internet-marketing/search-engine-optimization/45">Search Engine Optimization</category>
			<dc:creator>lara1anjela</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/internet-marketing/search-engine-optimization/threads/456902/how-important-are-meta-tags-now</guid>
		</item>
				<item>
			<title>pr backlinks good or bad?</title>
			<link>http://www.daniweb.com/internet-marketing/search-engine-optimization/threads/456901/pr-backlinks-good-or-bad</link>
			<pubDate>Tue, 18 Jun 2013 08:28:29 +0000</pubDate>
			<description>pr backlinks good or bad? Hi friends: pr back-links getting good or Google penalize my sites?</description>
			<content:encoded><![CDATA[ <p>pr backlinks good or bad?<br />
Hi friends:</p>

<p>pr back-links getting good or Google penalize my sites?</p>
 ]]></content:encoded>
			<category domain="http://www.daniweb.com/internet-marketing/search-engine-optimization/45">Search Engine Optimization</category>
			<dc:creator>lara1anjela</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/internet-marketing/search-engine-optimization/threads/456901/pr-backlinks-good-or-bad</guid>
		</item>
				<item>
			<title>IP blacklisted</title>
			<link>http://www.daniweb.com/hardware-and-software/networking/threads/456899/ip-blacklisted</link>
			<pubDate>Tue, 18 Jun 2013 07:59:40 +0000</pubDate>
			<description>I was registering on joomla.org and I got errors as blacklisted ip/username/email and after that I registered from mobile and did fine with same details. After searching for a while it looked like my ISP is blocked?! Its totally new to me, can anyone tell me whats this exactly and ...</description>
			<content:encoded><![CDATA[ <p>I was registering on joomla.org and I got errors as blacklisted ip/username/email and after that I registered from mobile and did fine with same details. After searching for a while it looked like my ISP is blocked?!<br />
Its totally new to me, can anyone tell me whats this exactly and if I can do something as some sites say that my IP is at risk.</p>
 ]]></content:encoded>
			<category domain="http://www.daniweb.com/hardware-and-software/networking/13">Networking</category>
			<dc:creator>Sahil89</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/hardware-and-software/networking/threads/456899/ip-blacklisted</guid>
		</item>
				<item>
			<title>Making a dvd management using C++</title>
			<link>http://www.daniweb.com/software-development/cpp/threads/456898/making-a-dvd-management-using-c</link>
			<pubDate>Tue, 18 Jun 2013 07:30:05 +0000</pubDate>
			<description>friends please do me a help, please solve this: All class must have encapsulation, constructor, destructor and in any one solution you must have to use operator overloading 1) Define a class name DVD_DB. Include the following members. `DATA MEMBERS:` Name of DVD – private character array, size 10 Price ...</description>
			<content:encoded><![CDATA[ <p>friends please do me a help, please solve this:<br />
All class must have encapsulation, constructor, destructor and in any one solution you must have to use operator overloading</p>

<p>1) Define a class name DVD_DB. Include the following members.<br /><code>DATA MEMBERS:</code><br />
Name of DVD – private character array, size 10<br />
Price – private double variable<br />
Quantity – private int variable<br />
A private static int variable to keep track of how many DVD have been created so far.<br /><code>MEMBER FUNCTIONS:</code><br />
To assign initial values<br />
To set price and quantity<br />
To get price and quantity<br />
To Print DVD<br />
To display how many DVD has been created so far.</p>

<p>In main function use a DVD array and demonstrate a DVD shop. i.e. User can choose a DVD &amp; buy it, when a DVD is sold the Quantity goes down.</p>
 ]]></content:encoded>
			<category domain="http://www.daniweb.com/software-development/cpp/8">C++</category>
			<dc:creator>rakibtg</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/software-development/cpp/threads/456898/making-a-dvd-management-using-c</guid>
		</item>
				<item>
			<title>Extract Image and text from xml files</title>
			<link>http://www.daniweb.com/software-development/python/threads/456897/extract-image-and-text-from-xml-files</link>
			<pubDate>Tue, 18 Jun 2013 07:26:31 +0000</pubDate>
			<description>Hello guys, Please how can I read xml files and extract image store in it and save it as .jpeg in a specified folder. Also how to export all the other fields to .csv or .txt file. Thank you.</description>
			<content:encoded><![CDATA[ <p>Hello guys,</p>

<p>Please how can I read xml files and extract image store in it and save it as .jpeg in a specified folder. Also how to export all the other fields to .csv or .txt file.</p>

<p>Thank you.</p>
 ]]></content:encoded>
			<category domain="http://www.daniweb.com/software-development/python/114">Python</category>
			<dc:creator>ibpet11</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/software-development/python/threads/456897/extract-image-and-text-from-xml-files</guid>
		</item>
				<item>
			<title>Problems using JAX-WS 2.1 and JAXB 2.1 with JDK 6</title>
			<link>http://www.daniweb.com/software-development/java/threads/456896/problems-using-jax-ws-2.1-and-jaxb-2.1-with-jdk-6</link>
			<pubDate>Tue, 18 Jun 2013 06:34:23 +0000</pubDate>
			<description>When using JAX-WS 2.1 and JAXB 2.1 with JDK 6, im faced with lot of issues. To use JAX-WS 2.1 with JDK 6, newer versions of API jars (JAX-WS 2.1 and JAXB 2.1 API jars) need to be in bootclasspath before rt.jar.The only way to achieve this would be by ...</description>
			<content:encoded><![CDATA[ <p>When using JAX-WS 2.1 and JAXB 2.1 with JDK 6, im faced with lot of issues.<br />
To use JAX-WS 2.1 with JDK 6, newer versions of API jars (JAX-WS 2.1 and JAXB 2.1 API jars) need to be in bootclasspath before rt.jar.The only way to achieve this would be by endorsing<br />
To do this you can use Java endorsed mechanism to override whats in Java platform. See <a href="http://java.sun.com/j2se/1.5.0/docs/guide/standards/." rel="nofollow">http://java.sun.com/j2se/1.5.0/docs/guide/standards/.</a></p>

<p>As in my case doing so can have unintended consequences on other applications or other areas of the server, so it bares some risk.<br />
Hence could please advice if there is an alternative to the above query without having to add an endorsed folder in my tomcat directory.</p>
 ]]></content:encoded>
			<category domain="http://www.daniweb.com/software-development/java/9">Java</category>
			<dc:creator>screenedcreamy</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/software-development/java/threads/456896/problems-using-jax-ws-2.1-and-jaxb-2.1-with-jdk-6</guid>
		</item>
				<item>
			<title>rpm</title>
			<link>http://www.daniweb.com/hardware-and-software/linux-and-unix/threads/456895/rpm</link>
			<pubDate>Tue, 18 Jun 2013 06:30:53 +0000</pubDate>
			<description>can someone really explain to me what rpm command does in linux</description>
			<content:encoded><![CDATA[ <p>can someone really explain to me what rpm command does in linux</p>
 ]]></content:encoded>
			<category domain="http://www.daniweb.com/hardware-and-software/linux-and-unix/12">Linux and Unix</category>
			<dc:creator>emenyke</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/hardware-and-software/linux-and-unix/threads/456895/rpm</guid>
		</item>
				<item>
			<title>Pwning DaniWeb: the search is on for the God of Code</title>
			<link>http://www.daniweb.com/software-development/news/456894/pwning-daniweb-the-search-is-on-for-the-god-of-code</link>
			<pubDate>Tue, 18 Jun 2013 06:24:44 +0000</pubDate>
			<description>DaniWeb, the 10 year old IT discussion community with more than a million members, is always looking forward and never stops introducing new features and functions for users. When spammers managed to get the better of the (highly customised) vBulletin forum platform which had been driving DaniWeb since the get ...</description>
			<content:encoded><![CDATA[ <p>DaniWeb, the 10 year old IT discussion community with more than a million members, is always looking forward and never stops introducing new features and functions for users. When spammers managed to get the better of the (highly customised) vBulletin forum platform which had been driving DaniWeb since the get go, founder and CEO Dani Horowitz got the better of the spammers by re-coding the entire forum platform from the ground up. As a result, DaniWeb users not only got the benefit of a much slicker interface designed specifically for their needs, but the team of volunteer moderators got to go back to spending their time helping the community instead of fighting spam fires.</p>

<p>Being primarily a community of developers and programmers, DaniWeb was historically missing one rather obvious feature: an Application Programming Interface. That glaring gap was plugged recently when Dani announced the arrival of an official DaniWeb API that enables members to put their coding skills to good use and build the DaniWeb app that they have always wanted, access DaniWeb the way they want and manipulate DaniWeb data in new and creative ways. Creativity that quickly became apparent when, within days of the API being made public, a DaniWeb moderator known as <a href="http://www.daniweb.com/members/120589/diafol" rel="nofollow">diafol</a> (which means Devil in Welsh, and this guy is certainly a coding devil that's for sure) <a href="http://dw.diafol.org/en/home/" rel="nofollow">showcased a number of applications</a> including a badge builder for example.</p>

<p><img src="/attachments/fetch/L2ltYWdlcy9hdHRhY2htZW50cy8wLzNiOTA0OTM2ZWNjODk2YTljMzJiYjYxYzcxZTlkYTQwLmpwZw%3D%3D/500" alt="3b904936ecc896a9c32bb61c71e9da40" title="3b904936ecc896a9c32bb61c71e9da40" /></p>

<p>The API is very robust and capable of duplicating most read capabilities of the website itself. Additionally, there is some limited write functionality. API requests return either JSON or JSONP (for Javascript compatibility), and there is also support for OAuth 2.0 (both serverside and clientside implementations).</p>

<p>So what is all that stuff about 'Pwning DaniWeb' and being the 'God of Code' about then? Well, in order to help get the creative coding juices flowing, DaniWeb has launched a competition to find the best use of that newly launched API.  As well as the kudos of exposing those programming skills to your peers in the DaniWeb community, the winners will also share in a $500 prize fund. The winner gets a $300 Amazon gift certificate, with a second place prize of a $125 Amazon gift certificate and third place gets a $75 Amazon gift certificate.</p>

<p>"There's a lot that you can do with our API. Essentially it allows your application (web, desktop, mobile, etc) to tap into DaniWeb's back end" says DaniWeb Founder and CEO, Dani Horowitz "Your own application can use DaniWeb's login mechanism, you can write a native mobile app for DaniWeb, you can create your own completely unique front-end for the site, there really are limitless possibilities". Limitless indeed. The only boundary to what can be done is your own creative flair. So whether you fancy developing an Android or iOS mobile app for DaniWeb, turning the award winning DaniWeb IT news editorial into a standalone digital newspaper, or something altogether more surprising, now is the opportunity to put your programming skills to the test.</p>

<p>Entry is open to all members of DaniWeb, old and new, with entries accepted until the end of August 31st, 2013 and voting taking place in September. Code submissions should be posted within the relevant code snippet library for their language whereas downloadable apps, websites, etc. should be posted within the Show Off Your Projects forum in the Business Exchange section. All submissions must be tagged with both 'daniweb-api' and 'daniweb-api-contest-submission' in order to be eligible.</p>

<p>More information, including usage examples, about the API is <a href="http://www.daniweb.com/api/home" rel="nofollow">available here</a>, and full documentation <a href="http://www.daniweb.com/api/documentation" rel="nofollow">can be found here</a>. There's also a busy thread <a href="http://www.daniweb.com/community-center/geeks-lounge/threads/451027/daniweb-api-developer-competition/" rel="nofollow">about the competition</a> itself in case you have any technical questions.</p>

<p>Remember though, the competition is only open to DaniWeb members, but as registration is free that really shouldn't be a problem for anyone who wants to get involved. So, will you pwn DaniWeb and be crowned the God of Code?</p>
 ]]></content:encoded>
			<category domain="http://www.daniweb.com/software-development/2">Software Development</category>
			<dc:creator>happygeek</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/software-development/news/456894/pwning-daniweb-the-search-is-on-for-the-god-of-code</guid>
		</item>
				<item>
			<title>Backlings Got deleted</title>
			<link>http://www.daniweb.com/internet-marketing/threads/456893/backlings-got-deleted</link>
			<pubDate>Tue, 18 Jun 2013 06:20:48 +0000</pubDate>
			<description>From last few days my backlings has got reduced from 500 to just 5. This is showing in the links to my site in the webmaster tool. How is it happening?? Does google automatically deletes backlings??? What should i do know???</description>
			<content:encoded><![CDATA[ <p>From last few days my backlings has got reduced from 500 to just 5. This is showing in the links to my site in the webmaster tool. How is it happening?? Does google automatically deletes backlings???<br />
What should i do know???</p>
 ]]></content:encoded>
			<category domain="http://www.daniweb.com/internet-marketing/25">Internet Marketing</category>
			<dc:creator>rambofen044</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/internet-marketing/threads/456893/backlings-got-deleted</guid>
		</item>
				<item>
			<title>ExecuteNonQuery() error in vb</title>
			<link>http://www.daniweb.com/software-development/vbnet/threads/456887/executenonquery-error-in-vb</link>
			<pubDate>Tue, 18 Jun 2013 05:00:43 +0000</pubDate>
			<description>Need some help with the code below. Getting and error at ExecuteNonQuery() Private Sub Button1_Click(sender As Object, e As EventArgs) Handles btnRoomSave.Click Dim con As New OleDbConnection Dim cmd As New OleDb.OleDbCommand cmd = New OleDbCommand(Command, con) con.ConnectionString = &quot;Provider=Microsoft.ACE.OLEDB.12.0;Data Source='C:\PATIENT_O\PATIENT_O\Patient-O.accdb'&quot; cmd.CommandType = System.Data.CommandType.Text cmd.Connection = con con.Open() cmd.CommandText = ...</description>
			<content:encoded><![CDATA[ <p>Need some help with the code below. Getting and error at ExecuteNonQuery()</p>

<p>Private Sub Button1_Click(sender As Object, e As EventArgs) Handles btnRoomSave.Click</p>

<pre><code class="language-vb">    Dim con As New OleDbConnection
    Dim cmd As New OleDb.OleDbCommand
    cmd = New OleDbCommand(Command, con)
    con.ConnectionString = "Provider=Microsoft.ACE.OLEDB.12.0;Data Source='C:\PATIENT_O\PATIENT_O\Patient-O.accdb'"

    cmd.CommandType = System.Data.CommandType.Text
    cmd.Connection = con
    con.Open()

    cmd.CommandText = "INSERT INTO Rooms (RoomID, First Name, Middle Name, Last Name, Room Type, Amt/Day, Comments) VALUES ('@RoomID, @FirstName, @Middle Name, @Last Name, @Room Type, @Amt/Day, @Comments')"
    'cmd.CommandText = "INSERT INTO [Rooms] (]RoomID], [First Name], [Middle Name], [Last Name], [Room Type], [Amt/Day], [Comments]) VALUES (" &amp; txtRoomID.Text &amp; ", '" &amp; txtroomFName.Text &amp; "', '" &amp; txtroomMName.Text &amp; "', '" &amp; txtroomLName.Text &amp; "','" &amp; txtRoomtype.Text &amp; "', '" &amp; txtroomAmount.Text &amp; "', '" &amp; txtroomComment.Text &amp; "')"
    cmd.Parameters.AddWithValue("@RoomID", Val(txtRoomID.Text))
    cmd.Parameters.AddWithValue("@FirstName", txtroomFName.Text)
    cmd.Parameters.AddWithValue("@Middle Name", txtroomMName.Text)
    cmd.Parameters.AddWithValue("@Last Name", txtroomLName.Text)
    cmd.Parameters.AddWithValue("@Room Type", txtRoomtype.Text)
    cmd.Parameters.AddWithValue("@Amt/Day", txtroomAmount.Text)
    cmd.Parameters.AddWithValue("@Comments", txtroomComment.Text)


    cmd.ExecuteNonQuery()
    Try

        MsgBox("Record Added")
    Catch exceptionObject As Exception
        MessageBox.Show(exceptionObject.Message)
    Finally
        con.Close()
    End Try
End Sub
</code></pre>
 ]]></content:encoded>
			<category domain="http://www.daniweb.com/software-development/vbnet/58">VB.NET</category>
			<dc:creator>ZIPB</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/software-development/vbnet/threads/456887/executenonquery-error-in-vb</guid>
		</item>
				<item>
			<title>case sensitive comparisions</title>
			<link>http://www.daniweb.com/software-development/visual-basic-4-5-6/threads/456886/case-sensitive-comparisions</link>
			<pubDate>Tue, 18 Jun 2013 04:42:30 +0000</pubDate>
			<description>hi when i'm giving some string to search in the data base, ms access, that search is going to be ignoring case. i want case sensitivity. how..? ex: if i would like to search for the word &quot;Done&quot;, if there is no that word, and &quot;DONE&quot; is available in the ...</description>
			<content:encoded><![CDATA[ <p>hi<br />
when i'm giving some string to search in the data base, ms access, that search is going to be ignoring case. i want case sensitivity. how..?<br />
ex: if i would like to search for the word "Done", if there is no that word, and "DONE" is available in the database, then it is treating both as same. how to avoid this.</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>baabjitvk</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/software-development/visual-basic-4-5-6/threads/456886/case-sensitive-comparisions</guid>
		</item>
				<item>
			<title>Constraint</title>
			<link>http://www.daniweb.com/web-development/databases/ms-sql/threads/456885/constraint</link>
			<pubDate>Tue, 18 Jun 2013 04:08:05 +0000</pubDate>
			<description>Dear All ! I have a table member_email. i have 4 columns in it. Id Email CellNumber Carrier I want to create constraint who check following conditions, 1-Email can be null if Cellnumber is given , and Cellnumber can be null if email is given. 2-both email and cell number ...</description>
			<content:encoded><![CDATA[ <p>Dear All !</p>

<p>I have a table member_email. i have 4 columns in it.<br />
Id<br />
Email<br />
CellNumber<br />
Carrier</p>

<p>I want to create constraint who check following conditions,<br />
1-Email can be null if Cellnumber is given , and Cellnumber can be null if email is given.<br />
2-both email and cell number can not be null in one record.<br />
3-If cellnumber is available then carrier should not be null. Carrier will be null if email is given and cellnumber is not available.</p>

<p>Need guidence.</p>

<p>Regards</p>
 ]]></content:encoded>
			<category domain="http://www.daniweb.com/web-development/databases/ms-sql/127">MS SQL</category>
			<dc:creator>M.Waqas Aslam</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/web-development/databases/ms-sql/threads/456885/constraint</guid>
		</item>
				<item>
			<title>CHANGE THE INDEX OF THE COLUMN IN DATATABLE</title>
			<link>http://www.daniweb.com/software-development/vbnet/threads/456884/change-the-index-of-the-column-in-datatable</link>
			<pubDate>Tue, 18 Jun 2013 03:41:05 +0000</pubDate>
			<description>I have a datatable with nth column. Now, I want to change the index of some columns. Need help</description>
			<content:encoded><![CDATA[ <p>I have a datatable with nth column. Now, I want to change the index of some columns. Need help</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/456884/change-the-index-of-the-column-in-datatable</guid>
		</item>
				<item>
			<title>Output in polymorphism</title>
			<link>http://www.daniweb.com/software-development/cpp/threads/456883/output-in-polymorphism</link>
			<pubDate>Tue, 18 Jun 2013 03:36:41 +0000</pubDate>
			<description>How come foo(3,3.14); Doesn't work but Goo(3,3.14); works? Please reply. #include &lt;iostream&gt; using namespace std; double foo(double a, double b) { cout&lt;&lt;&quot;foo(double a, double b)&quot;&lt;&lt;endl; } int foo(int a, int b){ cout&lt;&lt;&quot;foo(int a, int b)&quot;&lt;&lt;endl; } double Goo(float a, float b){ cout&lt;&lt;&quot;Goo(float a, float b)&quot;&lt;&lt;endl; } int Goo(int a, int ...</description>
			<content:encoded><![CDATA[ <p>How come    foo(3,3.14); Doesn't work<br />
but Goo(3,3.14); works?<br />
Please reply.</p>

<pre><code class="language-cpp">#include &lt;iostream&gt;
using namespace std;
double foo(double a, double b) {
    cout&lt;&lt;"foo(double a, double b)"&lt;&lt;endl;
}
 int foo(int a, int b){
    cout&lt;&lt;"foo(int a, int b)"&lt;&lt;endl;
 }
double Goo(float a, float b){
    cout&lt;&lt;"Goo(float a, float b)"&lt;&lt;endl;
}
  int Goo(int a, int b){    
    cout&lt;&lt;"Goo(int a, int b)"&lt;&lt;endl; //this one
  }

int main()
{
    foo(3,3.14); // Doesn't work
    Goo(3,3.14); //Works
}
</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/456883/output-in-polymorphism</guid>
		</item>
				<item>
			<title> ykmex here</title>
			<link>http://www.daniweb.com/community-center/community-introductions/threads/456878/-ykmex-here</link>
			<pubDate>Tue, 18 Jun 2013 02:07:51 +0000</pubDate>
			<description>glad to meet you all..... Its Me: ykmex.org</description>
			<content:encoded><![CDATA[ <p>glad to meet you all.....</p>

<p>Its Me:<br />
ykmex.org</p>
 ]]></content:encoded>
			<category domain="http://www.daniweb.com/community-center/community-introductions/165">Community Introductions</category>
			<dc:creator>ykmex</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/community-center/community-introductions/threads/456878/-ykmex-here</guid>
		</item>
				<item>
			<title>Comparing element</title>
			<link>http://www.daniweb.com/web-development/aspnet/threads/456876/comparing-element</link>
			<pubDate>Tue, 18 Jun 2013 01:26:02 +0000</pubDate>
			<description>good morning guys, i'm developing a website. whereby have to move through records..next and previous...i did something like this public Product NextProduct(List&lt;Product&gt; products, Product product) { Product nextproduct = (Product)product; for (int i = 0; i &lt; products.Count; i++) { if (Equals(products[i].ProductId, product.ProductId)) { if (products[i + 1].ProductId == null) ...</description>
			<content:encoded><![CDATA[ <p>good morning guys, i'm developing a website. whereby have to move through records..next and previous...i did something like this</p>

<pre><code>public Product NextProduct(List&lt;Product&gt; products, Product product)
    {
        Product nextproduct = (Product)product;

        for (int i = 0; i &lt; products.Count; i++)
        {
            if (Equals(products[i].ProductId, product.ProductId))
            {
                if (products[i + 1].ProductId == null)
                {
                    return null;
                }
                else
                {
                    nextproduct = products[i + 1];
                }
            }
        }
        return nextproduct;
    }

    public Product PrevProduct(List&lt;Product&gt; products, Product product)
    {
        Product prevproduct = (Product)product;

        for (int i = 0; i &lt; products.Count; i++)
        {
            if (Equals(products[i].ProductId, product.ProductId))
            {
                if (products[i - 1].ProductId == null)
                {
                    return null;
                }
                else
                {
                    prevproduct = products[i - 1];
                }
            }
        }
        return prevproduct;
    }
</code></pre>

<p>this method is not working. giving error<br />
i just wanna return the new product. how do i accomplish this...thank u in advance.</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/456876/comparing-element</guid>
		</item>
				<item>
			<title>Problem with Anchor ID</title>
			<link>http://www.daniweb.com/web-development/web-design-html-and-css/threads/456875/problem-with-anchor-id</link>
			<pubDate>Tue, 18 Jun 2013 01:03:57 +0000</pubDate>
			<description>Hi, I'm making a quick site and all the content is on one page, and I'm using a small menu with anchor links to make navigating to a certain part faster for the end user. I have two anchor links that work fine (About Me, My Projects) but the &quot;Contact ...</description>
			<content:encoded><![CDATA[ <p>Hi,</p>

<p>I'm making a quick site and all the content is on one page, and I'm using a small menu with anchor links to make navigating to a certain part faster for the end user. I have two anchor links that work fine (About Me, My Projects) but the "Contact Me" link jumps to a random part of the "My Projects" section.</p>

<p>A preview of the site is available here : <a href="http://dev.cuonic.com/cuonic.com/" rel="nofollow">http://dev.cuonic.com/cuonic.com/</a></p>

<p>I have checked the IDs, they correspond, there is no random "contact-me" ID lying around in the "My Projects" section, I've changed the ID, still happens, and this in both Firefox and Chrome. Whats going on ? Any help is appreciated :)</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>cuonic</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/web-development/web-design-html-and-css/threads/456875/problem-with-anchor-id</guid>
		</item>
			</channel>
</rss>