<?xml version="1.0" encoding="ISO-8859-1"?>

<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>CodeGuru Forums</title>
		<link>http://forums.codeguru.com</link>
		<description>Hard hitting articles, dicussions, resources, and more all focusing for real developers in the real world.</description>
		<language>en</language>
		<lastBuildDate>Wed, 16 May 2012 14:01:34 GMT</lastBuildDate>
		<generator>vBulletin</generator>
		<ttl>60</ttl>
		<image>
			<url>http://forums.codeguru.com/images/misc/rss.jpg</url>
			<title>CodeGuru Forums</title>
			<link>http://forums.codeguru.com</link>
		</image>
		<item>
			<title>Remote Debugging in Visual Basic 6.0</title>
			<link>http://forums.codeguru.com/showthread.php?t=523827&amp;goto=newpost</link>
			<pubDate>Wed, 16 May 2012 13:21:44 GMT</pubDate>
			<description><![CDATA[:wave:Hello everybody!!

I want to debug my visual basic 6.0 application on the remote computer.

For example:
The application and the visual studio 6.0 are existing in computer nr.1, but the result's from debugging I want to see on another computer for example computer nr.2, which is connected on the same LAN network.

please help]]></description>
			<content:encoded><![CDATA[<div>:wave:Hello everybody!!<br />
<br />
I want to debug my visual basic 6.0 application on the remote computer.<br />
<br />
For example:<br />
The application and the visual studio 6.0 are existing in computer nr.1, but the result's from debugging I want to see on another computer for example computer nr.2, which is connected on the same LAN network.<br />
<br />
please help</div>

]]></content:encoded>
			<category domain="http://forums.codeguru.com/forumdisplay.php?f=4">Visual Basic 6.0 Programming</category>
			<dc:creator>acects</dc:creator>
			<guid isPermaLink="true">http://forums.codeguru.com/showthread.php?t=523827</guid>
		</item>
		<item>
			<title>MySQL and C#</title>
			<link>http://forums.codeguru.com/showthread.php?t=523826&amp;goto=newpost</link>
			<pubDate>Wed, 16 May 2012 11:58:42 GMT</pubDate>
			<description><![CDATA[I have problem that I cannot reach my data bases trought my c# project. 
Im using latest versions of .Net and MicrosoftVisual C# 2010 Express, XAMPP for apache and MySql, connector from the MySQL folder. The program says Unknown database "name". I have made this database in phpmyadmin panel and c it working just cant reach it. Please help me. There is the cs :

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using MySql.Data.MySqlClient;
namespace bazaffs
{
    class Program
    {
        static void Main(string[] args)
        {
            try
            {
                MySqlConnection conn = new MySqlConnection("Server=127.0.0.1;Port=3306;Database=aaa;Uid=root;Pwd=root;");
                conn.Open();
                MySqlCommand command = conn.CreateCommand();
                command.CommandText = "Select * from bbb ";
                MySqlDataReader reader = command.ExecuteReader();
                while (reader.Read())
                {
                    Console.WriteLine(reader.ToString());
                }
                Console.ReadLine();
                conn.Close();
            }
            catch (Exception ex) 
            {
                Console.Write(ex.Message.ToString());
                Console.ReadLine();
            }
        }
    }
}]]></description>
			<content:encoded><![CDATA[<div>I have problem that I cannot reach my data bases trought my c# project. <br />
Im using latest versions of .Net and MicrosoftVisual C# 2010 Express, XAMPP for apache and MySql, connector from the MySQL folder. The program says Unknown database &quot;name&quot;. I have made this database in phpmyadmin panel and c it working just cant reach it. Please help me. There is the cs :<br />
<br />
using System;<br />
using System.Collections.Generic;<br />
using System.Linq;<br />
using System.Text;<br />
using MySql.Data.MySqlClient;<br />
namespace bazaffs<br />
{<br />
    class Program<br />
    {<br />
        static void Main(string[] args)<br />
        {<br />
            try<br />
            {<br />
                MySqlConnection conn = new MySqlConnection(&quot;Server=127.0.0.1;Port=3306;Database=aaa;Uid=root;Pwd=root;&quot;);<br />
                conn.Open();<br />
                MySqlCommand command = conn.CreateCommand();<br />
                command.CommandText = &quot;Select * from bbb &quot;;<br />
                MySqlDataReader reader = command.ExecuteReader();<br />
                while (reader.Read())<br />
                {<br />
                    Console.WriteLine(reader.ToString());<br />
                }<br />
                Console.ReadLine();<br />
                conn.Close();<br />
            }<br />
            catch (Exception ex) <br />
            {<br />
                Console.Write(ex.Message.ToString());<br />
                Console.ReadLine();<br />
            }<br />
        }<br />
    }<br />
}</div>

]]></content:encoded>
			<category domain="http://forums.codeguru.com/forumdisplay.php?f=11">C-Sharp Programming</category>
			<dc:creator>K2IpNaGc</dc:creator>
			<guid isPermaLink="true">http://forums.codeguru.com/showthread.php?t=523826</guid>
		</item>
		<item>
			<title>Breaking input string into tokens</title>
			<link>http://forums.codeguru.com/showthread.php?t=523825&amp;goto=newpost</link>
			<pubDate>Wed, 16 May 2012 11:03:03 GMT</pubDate>
			<description><![CDATA[Hi Guys !

I'm get input from the user and then storing it in "s " and then trying make tokens, but it is not working, and after making tokens i'm counting them.

Here is My Code


Code:
---------
#include <iostream>
#include <sstream>
#include <string>
using namespace std;

int main(){

	string s;
	cout<<"Enter Text: " <<endl;
	getline(cin,s);
	
	cout<<"Entered Text is: " << s <<endl;

	istringstream iss(s);
	int count = 0;

	while(iss){
		string sub;
		iss>>sub;
		cout <<"token " << count + 1 << ": " <<sub <<endl;
		count = count +  1;
        }
	
	cout<<"Number of tokens "<<count -1 << endl;

	return 0;
}
---------
Here is my Output

Enter text:
Entered Text is: This is String
token 1: This
token 2: is
token 3: String
token 4:
Number of tokens: 3 

The problem is that i want to store the first two strings "This" and "is" into two variables and how to remove token 4: which is unnecessary&#160;


Thanks in Advance

Warm Regards,

Ewa]]></description>
			<content:encoded><![CDATA[<div>Hi Guys !<br />
<br />
I'm get input from the user and then storing it in &quot;s &quot; and then trying make tokens, but it is not working, and after making tokens i'm counting them.<br />
<br />
Here is My Code<br />
<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left">#include &lt;iostream&gt;<br />
#include &lt;sstream&gt;<br />
#include &lt;string&gt;<br />
using namespace std;<br />
<br />
int main(){<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; string s;<br />
&nbsp; &nbsp; &nbsp; &nbsp; cout&lt;&lt;&quot;Enter Text: &quot; &lt;&lt;endl;<br />
&nbsp; &nbsp; &nbsp; &nbsp; getline(cin,s);<br />
&nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; cout&lt;&lt;&quot;Entered Text is: &quot; &lt;&lt; s &lt;&lt;endl;<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; istringstream iss(s);<br />
&nbsp; &nbsp; &nbsp; &nbsp; int count = 0;<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; while(iss){<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; string sub;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; iss&gt;&gt;sub;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; cout &lt;&lt;&quot;token &quot; &lt;&lt; count + 1 &lt;&lt; &quot;: &quot; &lt;&lt;sub &lt;&lt;endl;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; count = count +&nbsp; 1;<br />
&nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; cout&lt;&lt;&quot;Number of tokens &quot;&lt;&lt;count -1 &lt;&lt; endl;<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; return 0;<br />
}</code><hr />
</div>Here is my Output<br />
<br />
<i>Enter text:<br />
Entered Text is: This is String<br />
token 1: This<br />
token 2: is<br />
token 3: String<br />
token 4:<br />
Number of tokens: 3 </i><br />
<br />
The problem is that i want to store the first two strings &quot;This&quot; and &quot;is&quot; into two variables and how to remove token 4: which is unnecessary&#160;<br />
<br />
<br />
Thanks in Advance<br />
<br />
Warm Regards,<br />
<br />
Ewa</div>

]]></content:encoded>
			<category domain="http://forums.codeguru.com/forumdisplay.php?f=9">C++  (Non Visual C++ Issues)</category>
			<dc:creator>me_newbie</dc:creator>
			<guid isPermaLink="true">http://forums.codeguru.com/showthread.php?t=523825</guid>
		</item>
		<item>
			<title>java.io.filepermission access denied error</title>
			<link>http://forums.codeguru.com/showthread.php?t=523824&amp;goto=newpost</link>
			<pubDate>Wed, 16 May 2012 10:30:51 GMT</pubDate>
			<description><![CDATA[the code has a part in which it has to write (append) in a file
i have created that file,the code it saves the entered data in the file.

But when i open it, its not there
this particular exception is thrown


---Quote---
java.security.accesscontrolexception access denied (java.io.filepermission
---End Quote---
i have also changed policy file, but to no avail
i have tried signing the application, but i think it went wrong somewhere

can anyone tell me the "exact" syntax of command that i have to enter in  java.policy file?]]></description>
			<content:encoded><![CDATA[<div>the code has a part in which it has to write (append) in a file<br />
i have created that file,the code it saves the entered data in the file.<br />
<br />
But when i open it, its not there<br />
this particular exception is thrown<br />
<br />
<div style="margin:20px; margin-top:5px; ">
	<div class="smallfont" style="margin-bottom:2px">Quote:</div>
	<table cellpadding="3" cellspacing="0" border="0" width="100%">
	<tr>
		<td class="alt2">
			<hr />
			
				java.security.accesscontrolexception access denied (java.io.filepermission
			
			<hr />
		</td>
	</tr>
	</table>
</div>i have also changed policy file, but to no avail<br />
i have tried signing the application, but i think it went wrong somewhere<br />
<br />
can anyone tell me the &quot;exact&quot; syntax of command that i have to enter in  java.policy file?</div>


	<br />
	<div style="padding:3px">

	

	
		<fieldset class="fieldset">
			<legend>Attached Images</legend>
			<div style="padding:3px">
			<img class="attach" src="http://forums.codeguru.com/attachment.php?attachmentid=29629&amp;stc=1&amp;d=1337164045" border="0" alt="" />&nbsp;
			</div>
		</fieldset>
	

	

	

	</div>
]]></content:encoded>
			<category domain="http://forums.codeguru.com/forumdisplay.php?f=5">Java Programming</category>
			<dc:creator>isedept</dc:creator>
			<guid isPermaLink="true">http://forums.codeguru.com/showthread.php?t=523824</guid>
		</item>
		<item>
			<title>Problem Redirecting to the Custom Error Page</title>
			<link>http://forums.codeguru.com/showthread.php?t=523822&amp;goto=newpost</link>
			<pubDate>Wed, 16 May 2012 08:47:23 GMT</pubDate>
			<description><![CDATA[Good Day ALL

I have tried something and i am not sure what is the problem. 

i have inherited the an asp.net app. So i want to add the custom Error Handling. I know there are two methods i can do this. 

1) Web Config 

2)Global.asa

So i started with the web config just to see how it will look and i accessed the page that normally gives an Exception. so basically i have a page gives a 

* 
500 - Internal server error.
There is a problem with the resource you are looking for, and it cannot be displayed. * 

So now , if there is an Error i want it to go to that Error Page. In the web config i have the Following


Code:
---------
<customErrors defaultRedirect="content/ErrorPages/SupportError.aspx" mode="On">
  <error statusCode="404" redirect="content/ErrorPages/SupportError.aspx" />
  <error statusCode="400" redirect="content/ErrorPages/SupportError.aspx" />
  <error statusCode="500" redirect="content/ErrorPages/SupportError.aspx" />
</customErrors>
---------
 

This means that when this kind of Errors occur it should redirect to that page.  All these pages are contents of the Master page including the Error page. But this Error Persist it does not show me the Error page. Even if i try to see if it goes to "Application_Error" in the Global.asa nothing goes there. 

So i have also tried the second option. so i turned the web config part 
"off" and i trapped this in the global.asa like this 



Code:
---------
 Sub Application_Error(ByVal sender As Object, ByVal e As EventArgs)
    Server.Transfer("~/Content/ErrorPages/SupportError.aspx")
 
    'Response.Redirect("~/Content/ErrorPages/SupportError.aspx", False)
End Sub
---------
 

but still nothing happens 

THanks]]></description>
			<content:encoded><![CDATA[<div>Good Day ALL<br />
<br />
I have tried something and i am not sure what is the problem. <br />
<br />
i have inherited the an asp.net app. So i want to add the custom Error Handling. I know there are two methods i can do this. <br />
<br />
1) Web Config <br />
<br />
2)Global.asa<br />
<br />
So i started with the web config just to see how it will look and i accessed the page that normally gives an Exception. so basically i have a page gives a <br />
<br />
<b> <br />
500 - Internal server error.<br />
There is a problem with the resource you are looking for, and it cannot be displayed. </b> <br />
<br />
So now , if there is an Error i want it to go to that Error Page. In the web config i have the Following<br />
<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left">&lt;customErrors defaultRedirect=&quot;content/ErrorPages/SupportError.aspx&quot; mode=&quot;On&quot;&gt;<br />
&nbsp; &lt;error statusCode=&quot;404&quot; redirect=&quot;content/ErrorPages/SupportError.aspx&quot; /&gt;<br />
&nbsp; &lt;error statusCode=&quot;400&quot; redirect=&quot;content/ErrorPages/SupportError.aspx&quot; /&gt;<br />
&nbsp; &lt;error statusCode=&quot;500&quot; redirect=&quot;content/ErrorPages/SupportError.aspx&quot; /&gt;<br />
&lt;/customErrors&gt;</code><hr />
</div>This means that when this kind of Errors occur it should redirect to that page.  All these pages are contents of the Master page including the Error page. But this Error Persist it does not show me the Error page. Even if i try to see if it goes to &quot;Application_Error&quot; in the Global.asa nothing goes there. <br />
<br />
So i have also tried the second option. so i turned the web config part <br />
&quot;off&quot; and i trapped this in the global.asa like this <br />
<br />
<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left"> Sub Application_Error(ByVal sender As Object, ByVal e As EventArgs)<br />
&nbsp; &nbsp; Server.Transfer(&quot;~/Content/ErrorPages/SupportError.aspx&quot;)<br />
&nbsp;<br />
&nbsp; &nbsp; 'Response.Redirect(&quot;~/Content/ErrorPages/SupportError.aspx&quot;, False)<br />
End Sub</code><hr />
</div>but still nothing happens <br />
<br />
THanks</div>

]]></content:encoded>
			<category domain="http://forums.codeguru.com/forumdisplay.php?f=15">ASP.NET</category>
			<dc:creator>vuyiswam</dc:creator>
			<guid isPermaLink="true">http://forums.codeguru.com/showthread.php?t=523822</guid>
		</item>
		<item>
			<title>Looking for .bmp OR .jpg</title>
			<link>http://forums.codeguru.com/showthread.php?t=523821&amp;goto=newpost</link>
			<pubDate>Wed, 16 May 2012 08:20:11 GMT</pubDate>
			<description><![CDATA[Hi,

We have a box label at work that we print through nicelabel software. It's hooked up to a database so when you print, you enter the barcode number in, and the image is populated by finding the image number associated with the barcode number, looking for it in a folder and adding it in. We were only dealing with .bmp files, so we had some code that would basically get the image number, add .bmp at the end of it and then look for this file in the folder.

Now we've got jpgs too, we've hit a bit of a brick wall in that the execution of the script will fail because the script is looking for, for example '1111.bmp' when it's actually '1111.jpg'.

We need to add something to the script that will possibly do the first part of the code adding .bmp, then if nothing is found in the folder, rather than failing and presenting us with an error message, it just automatically looks for a .jpg version instead.

Is there any way of doing this? I don't know how it would work, something like ignoring the file extension possibly?]]></description>
			<content:encoded><![CDATA[<div>Hi,<br />
<br />
We have a box label at work that we print through nicelabel software. It's hooked up to a database so when you print, you enter the barcode number in, and the image is populated by finding the image number associated with the barcode number, looking for it in a folder and adding it in. We were only dealing with .bmp files, so we had some code that would basically get the image number, add .bmp at the end of it and then look for this file in the folder.<br />
<br />
Now we've got jpgs too, we've hit a bit of a brick wall in that the execution of the script will fail because the script is looking for, for example '1111.bmp' when it's actually '1111.jpg'.<br />
<br />
We need to add something to the script that will possibly do the first part of the code adding .bmp, then if nothing is found in the folder, rather than failing and presenting us with an error message, it just automatically looks for a .jpg version instead.<br />
<br />
Is there any way of doing this? I don't know how it would work, something like ignoring the file extension possibly?</div>

]]></content:encoded>
			<category domain="http://forums.codeguru.com/forumdisplay.php?f=7">Visual C++ Programming</category>
			<dc:creator>TeachYourselfRunning</dc:creator>
			<guid isPermaLink="true">http://forums.codeguru.com/showthread.php?t=523821</guid>
		</item>
		<item>
			<title>AccessViolationException while copying data from C++ to C#</title>
			<link>http://forums.codeguru.com/showthread.php?t=523820&amp;goto=newpost</link>
			<pubDate>Wed, 16 May 2012 08:07:58 GMT</pubDate>
			<description><![CDATA[Hello!

I'm writing a multithreaded program in C#/WPF which is using program code, written in C++. I'm using MS Visual Studio 2010 and I'm building project for x64 platform, .NET 4.0.
I have 2 projects in my solution:
1. C++ project, which is built into DLL with "/clr", and has native C++ code and Visual C++ to call native C++ from C#.
2. C# project, which is drawing windows and control multithreading.

The idea is simple - native C++ program gets initial data, makes some calculations (about several seconds) and output results array with a lot of data. I need to make a lot of these calculations for various initial data. So I made it like this:
•C# parse file with initial data

•C# launches a parallel.for cycle:
--------------------------------------------------------------------------------

Code:
---------
parallelOptions.MaxDegreeOfParallelism = 8; // for 100% load on 8 cores
Parallel.For(0, data.NUM_TRAJECTORIES, parallelOptions, i => { 
// call Visual C++ to call native C++
});
---------
--------------------------------------------------------------------------------

•In unsafe ('cause I need pointers in C# to fill C# array from C++) void function C# creates an array for results:

Code:
---------
data.dataFromCPP[i] = new double[result.GetSize(), 8];        // 8 - is the number of output parameters. result.GetSize() - returns number of rows for current finished calculation
---------
•Using pointer to array, C++ fills C# array with output data:

Code:
---------
fixed (double* p = data.dataFromCPP[i])
{
        result.CopyResults(p);
}
---------
--------------------------------------------------------------------------------
And here's the function from native C++:

Code:
---------
void cSolver::copyResults(double *externalArray)
{
        for(int i = 0 ; i < resultsVector.size(); i++)
        {
                externalArray[i*8 + 0] = resultsVector[i].lat;
                externalArray[i*8 + 1] = resultsVector[i].lon;
                externalArray[i*8 + 2] = resultsVector[i].altitude;
                externalArray[i*8 + 3] = resultsVector[i].tendency;
                externalArray[i*8 + 4] = resultsVector[i].time;
                externalArray[i*8 + 5] = resultsVector[i].Vx;
                externalArray[i*8 + 6] = resultsVector[i].Vy;
                externalArray[i*8 + 7] = resultsVector[i].Vz;
        }
}
---------
The Problem:

The problem is in AccessViolationException while copying data from C++ to C#, last time it occurred on this line


Code:
---------
externalArray[i*8 + 3] = resultsVector[i].tendency;
---------
It appears rarely - I've launched program 4 times, for the first 3 times it done everything excellent, and on the fourth it stopped with this exception. But that's really bad, 'cause for 3200 calculations - it takes about 20 minutes to calculate them all. And when it is stopped on 3197' trajectory - it is reeeealy terrible...

So, can anyone help me with this problem? What am I doing wrong, and what should I do to avoid this exception.

Best regards,
Nikita Petrov.]]></description>
			<content:encoded><![CDATA[<div>Hello!<br />
<br />
I'm writing a multithreaded program in C#/WPF which is using program code, written in C++. I'm using MS Visual Studio 2010 and I'm building project for x64 platform, .NET 4.0.<br />
I have 2 projects in my solution:<br />
1. C++ project, which is built into DLL with &quot;/clr&quot;, and has native C++ code and Visual C++ to call native C++ from C#.<br />
2. C# project, which is drawing windows and control multithreading.<br />
<br />
The idea is simple - native C++ program gets initial data, makes some calculations (about several seconds) and output results array with a lot of data. I need to make a lot of these calculations for various initial data. So I made it like this:<br />
•C# parse file with initial data<br />
<br />
•C# launches a parallel.for cycle:<br />
--------------------------------------------------------------------------------<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left">parallelOptions.MaxDegreeOfParallelism = 8; // for 100% load on 8 cores<br />
Parallel.For(0, data.NUM_TRAJECTORIES, parallelOptions, i =&gt; { <br />
// call Visual C++ to call native C++<br />
});</code><hr />
</div>--------------------------------------------------------------------------------<br />
<br />
•In unsafe ('cause I need pointers in C# to fill C# array from C++) void function C# creates an array for results:<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left">data.dataFromCPP[i] = new double[result.GetSize(), 8];&nbsp; &nbsp; &nbsp; &nbsp; // 8 - is the number of output parameters. result.GetSize() - returns number of rows for current finished calculation</code><hr />
</div>•Using pointer to array, C++ fills C# array with output data:<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left">fixed (double* p = data.dataFromCPP[i])<br />
{<br />
&nbsp; &nbsp; &nbsp; &nbsp; result.CopyResults(p);<br />
}</code><hr />
</div>--------------------------------------------------------------------------------<br />
And here's the function from native C++:<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left">void cSolver::copyResults(double *externalArray)<br />
{<br />
&nbsp; &nbsp; &nbsp; &nbsp; for(int i = 0 ; i &lt; resultsVector.size(); i++)<br />
&nbsp; &nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; externalArray[i*8 + 0] = resultsVector[i].lat;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; externalArray[i*8 + 1] = resultsVector[i].lon;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; externalArray[i*8 + 2] = resultsVector[i].altitude;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; externalArray[i*8 + 3] = resultsVector[i].tendency;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; externalArray[i*8 + 4] = resultsVector[i].time;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; externalArray[i*8 + 5] = resultsVector[i].Vx;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; externalArray[i*8 + 6] = resultsVector[i].Vy;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; externalArray[i*8 + 7] = resultsVector[i].Vz;<br />
&nbsp; &nbsp; &nbsp; &nbsp; }<br />
}</code><hr />
</div><font size="3">The Problem:</font><br />
<br />
The problem is in AccessViolationException while copying data from C++ to C#, last time it occurred on this line<br />
<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left">externalArray[i*8 + 3] = resultsVector[i].tendency;</code><hr />
</div>It appears rarely - I've launched program 4 times, for the first 3 times it done everything excellent, and on the fourth it stopped with this exception. But that's really bad, 'cause for 3200 calculations - it takes about 20 minutes to calculate them all. And when it is stopped on 3197' trajectory - it is reeeealy terrible...<br />
<br />
So, can anyone help me with this problem? What am I doing wrong, and what should I do to avoid this exception.<br />
<br />
Best regards,<br />
Nikita Petrov.</div>

]]></content:encoded>
			<category domain="http://forums.codeguru.com/forumdisplay.php?f=17">Managed C++ and C++/CLI</category>
			<dc:creator>nikkitta</dc:creator>
			<guid isPermaLink="true">http://forums.codeguru.com/showthread.php?t=523820</guid>
		</item>
		<item>
			<title>Package-Applet</title>
			<link>http://forums.codeguru.com/showthread.php?t=523819&amp;goto=newpost</link>
			<pubDate>Wed, 16 May 2012 06:44:03 GMT</pubDate>
			<description><![CDATA[hi guys, i am newbie, i have following code

AppletOne.java

[code]
import java.sql.*;
import javax.swing.*;
import Package_DB.*;

public class AppletOne extends JApplet {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private Connection connection;
	ConnectToDB objConnectToDB = new ConnectToDB();

	public void init() {
		GetData();
	}

	private void GetData() {
		try {
			connection = objConnectToDB.GetConnection("localhost:3306", "test",
					"root", "root@123");
		} catch (InstantiationException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		} catch (Exception e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		} catch (Throwable e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}

		String listOfNames = "";
		try {
			listOfNames = GetaDataFromMySQLDataBase();
		} catch (SQLException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
		JOptionPane.showMessageDialog(null, listOfNames);
	}

	private String GetaDataFromMySQLDataBase() throws SQLException {
		String query = "SELECT * FROM test.test";
		String listOfNames = objConnectToDB.GetDataAsString(connection, query);
		return listOfNames;
	}
}
[code]

and 

a package

[code]
package Package_DB;

import java.sql.*;

public class ConnectToDB {
	private Connection connection;

	public static void main(String args[]) {
		System.out.print("asdasd");
		// JOptionPane.showMessageDialog(null,"listOfNames");
	}

	public Connection GetConnection(String server, String database,
			String userName, String password) throws InstantiationException,
			Exception, Throwable {

		try {
			Class.forName("com.mysql.jdbc.Driver").newInstance();
			connection = DriverManager.getConnection("jdbc:mysql://" + server
					+ "/" + database + "?user=" + userName + "&password="
					+ password);
			return connection;
		} catch (SQLException e) {
			// return e.getMessage();
			return connection;
		}

	}

	public String GetDataAsString(Connection connection, String query)
			throws SQLException {
		Statement statement = connection.createStatement();
		ResultSet rs = statement.executeQuery(query);
		String lastName = "";
		while (rs.next()) {
			lastName += rs.getString("Name") + ",";
		}
		rs.close();
		return lastName;
	}
}

[code]


while running in a eclipse, i got the data from mySQL database.. but in through command prompt i am getting following error

C:\Users\Srihari\workspace\exp1\src>javac AppletOne.java

C:\Users\Srihari\workspace\exp1\src>java AppletOne
Exception in thread "main" java.lang.NoSuchMethodError: main

C:\Users\Srihari\workspace\exp1\src>

and 


C:\Users\Srihari\workspace\exp1\src>appletviewer AppletOne.html
java.lang.ClassNotFoundException: com.mysql.jdbc.Driver
        at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:211)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
        at sun.applet.AppletClassLoader.loadClass(AppletClassLoader.java:144)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:169)
        at Package_DB.ConnectToDB.GetConnection(ConnectToDB.java:18)
        at AppletOne.GetData(AppletOne.java:20)
        at AppletOne.init(AppletOne.java:15)
        at sun.applet.AppletPanel.run(AppletPanel.java:424)
        at java.lang.Thread.run(Thread.java:662)
java.lang.NullPointerException
        at Package_DB.ConnectToDB.GetDataAsString(ConnectToDB.java:32)
        at AppletOne.GetaDataFromMySQLDataBase(AppletOne.java:45)
        at AppletOne.GetData(AppletOne.java:35)
        at AppletOne.init(AppletOne.java:15)
        at sun.applet.AppletPanel.run(AppletPanel.java:424)
        at java.lang.Thread.run(Thread.java:662)

C:\Users\Srihari\workspace\exp1\src>


and my html page look like

<html>
	<applet code="AppletOne.class" width="500" height="200"></applet>
	</applet>
</html>

i 've windows7 OS and 've only java path..

but in eclipse i added mysql-connector-java-5.1.6.jar as reference..


please help me in this...]]></description>
			<content:encoded><![CDATA[<div>hi guys, i am newbie, i have following code<br />
<br />
AppletOne.java<br />
<br />
[code]<br />
import java.sql.*;<br />
import javax.swing.*;<br />
import Package_DB.*;<br />
<br />
public class AppletOne extends JApplet {<br />
<br />
	/**<br />
	 * <br />
	 */<br />
	private static final long serialVersionUID = 1L;<br />
	private Connection connection;<br />
	ConnectToDB objConnectToDB = new ConnectToDB();<br />
<br />
	public void init() {<br />
		GetData();<br />
	}<br />
<br />
	private void GetData() {<br />
		try {<br />
			connection = objConnectToDB.GetConnection(&quot;localhost:3306&quot;, &quot;test&quot;,<br />
					&quot;root&quot;, &quot;root@123&quot;);<br />
		} catch (InstantiationException e) {<br />
			// TODO Auto-generated catch block<br />
			e.printStackTrace();<br />
		} catch (Exception e) {<br />
			// TODO Auto-generated catch block<br />
			e.printStackTrace();<br />
		} catch (Throwable e) {<br />
			// TODO Auto-generated catch block<br />
			e.printStackTrace();<br />
		}<br />
<br />
		String listOfNames = &quot;&quot;;<br />
		try {<br />
			listOfNames = GetaDataFromMySQLDataBase();<br />
		} catch (SQLException e) {<br />
			// TODO Auto-generated catch block<br />
			e.printStackTrace();<br />
		}<br />
		JOptionPane.showMessageDialog(null, listOfNames);<br />
	}<br />
<br />
	private String GetaDataFromMySQLDataBase() throws SQLException {<br />
		String query = &quot;SELECT * FROM test.test&quot;;<br />
		String listOfNames = objConnectToDB.GetDataAsString(connection, query);<br />
		return listOfNames;<br />
	}<br />
}<br />
[code]<br />
<br />
and <br />
<br />
a package<br />
<br />
[code]<br />
package Package_DB;<br />
<br />
import java.sql.*;<br />
<br />
public class ConnectToDB {<br />
	private Connection connection;<br />
<br />
	public static void main(String args[]) {<br />
		System.out.print(&quot;asdasd&quot;);<br />
		// JOptionPane.showMessageDialog(null,&quot;listOfNames&quot;);<br />
	}<br />
<br />
	public Connection GetConnection(String server, String database,<br />
			String userName, String password) throws InstantiationException,<br />
			Exception, Throwable {<br />
<br />
		try {<br />
			Class.forName(&quot;com.mysql.jdbc.Driver&quot;).newInstance();<br />
			connection = DriverManager.getConnection(&quot;jdbc:mysql://&quot; + server<br />
					+ &quot;/&quot; + database + &quot;?user=&quot; + userName + &quot;&amp;password=&quot;<br />
					+ password);<br />
			return connection;<br />
		} catch (SQLException e) {<br />
			// return e.getMessage();<br />
			return connection;<br />
		}<br />
<br />
	}<br />
<br />
	public String GetDataAsString(Connection connection, String query)<br />
			throws SQLException {<br />
		Statement statement = connection.createStatement();<br />
		ResultSet rs = statement.executeQuery(query);<br />
		String lastName = &quot;&quot;;<br />
		while (rs.next()) {<br />
			lastName += rs.getString(&quot;Name&quot;) + &quot;,&quot;;<br />
		}<br />
		rs.close();<br />
		return lastName;<br />
	}<br />
}<br />
<br />
[code]<br />
<br />
<br />
while running in a eclipse, i got the data from mySQL database.. but in through command prompt i am getting following error<br />
<br />
C:\Users\Srihari\workspace\exp1\src&gt;javac AppletOne.java<br />
<br />
C:\Users\Srihari\workspace\exp1\src&gt;java AppletOne<br />
Exception in thread &quot;main&quot; java.lang.NoSuchMethodError: main<br />
<br />
C:\Users\Srihari\workspace\exp1\src&gt;<br />
<br />
and <br />
<br />
<br />
C:\Users\Srihari\workspace\exp1\src&gt;appletviewer AppletOne.html<br />
java.lang.ClassNotFoundException: com.mysql.jdbc.Driver<br />
        at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:211)<br />
        at java.lang.ClassLoader.loadClass(ClassLoader.java:306)<br />
        at sun.applet.AppletClassLoader.loadClass(AppletClassLoader.java:144)<br />
        at java.lang.ClassLoader.loadClass(ClassLoader.java:247)<br />
        at java.lang.Class.forName0(Native Method)<br />
        at java.lang.Class.forName(Class.java:169)<br />
        at Package_DB.ConnectToDB.GetConnection(ConnectToDB.java:18)<br />
        at AppletOne.GetData(AppletOne.java:20)<br />
        at AppletOne.init(AppletOne.java:15)<br />
        at sun.applet.AppletPanel.run(AppletPanel.java:424)<br />
        at java.lang.Thread.run(Thread.java:662)<br />
java.lang.NullPointerException<br />
        at Package_DB.ConnectToDB.GetDataAsString(ConnectToDB.java:32)<br />
        at AppletOne.GetaDataFromMySQLDataBase(AppletOne.java:45)<br />
        at AppletOne.GetData(AppletOne.java:35)<br />
        at AppletOne.init(AppletOne.java:15)<br />
        at sun.applet.AppletPanel.run(AppletPanel.java:424)<br />
        at java.lang.Thread.run(Thread.java:662)<br />
<br />
C:\Users\Srihari\workspace\exp1\src&gt;<br />
<br />
<br />
and my html page look like<br />
<br />
&lt;html&gt;<br />
	&lt;applet code=&quot;AppletOne.class&quot; width=&quot;500&quot; height=&quot;200&quot;&gt;&lt;/applet&gt;<br />
	&lt;/applet&gt;<br />
&lt;/html&gt;<br />
<br />
i 've windows7 OS and 've only java path..<br />
<br />
but in eclipse i added mysql-connector-java-5.1.6.jar as reference..<br />
<br />
<br />
please help me in this...</div>

]]></content:encoded>
			<category domain="http://forums.codeguru.com/forumdisplay.php?f=5">Java Programming</category>
			<dc:creator>miriyalasrihari</dc:creator>
			<guid isPermaLink="true">http://forums.codeguru.com/showthread.php?t=523819</guid>
		</item>
		<item>
			<title>JSP / Javascript</title>
			<link>http://forums.codeguru.com/showthread.php?t=523818&amp;goto=newpost</link>
			<pubDate>Wed, 16 May 2012 06:41:37 GMT</pubDate>
			<description><![CDATA[I want to use a variable's value  which i am getting through resultset from database in jsp scriptlets in my javascipt code .

i want to display that variable in javascript .

or if you can suggest me how can i use javascript inside scriptlets]]></description>
			<content:encoded><![CDATA[<div>I want to use a variable's value  which i am getting through resultset from database in jsp scriptlets in my javascipt code .<br />
<br />
i want to display that variable in javascript .<br />
<br />
or if you can suggest me how can i use javascript inside scriptlets</div>

]]></content:encoded>
			<category domain="http://forums.codeguru.com/forumdisplay.php?f=19">General Developer Topics</category>
			<dc:creator>rahuldpandey</dc:creator>
			<guid isPermaLink="true">http://forums.codeguru.com/showthread.php?t=523818</guid>
		</item>
		<item>
			<title>Intercepting/Modifying/Viewing Packets?</title>
			<link>http://forums.codeguru.com/showthread.php?t=523817&amp;goto=newpost</link>
			<pubDate>Wed, 16 May 2012 06:37:43 GMT</pubDate>
			<description><![CDATA[Hello all!

I am new to network programming so forgive my ignorance. :)

I have a question regarding packet intercepting/viewing, etc.

I have a process that runs on my PC. This process communicates to a server using a fixed IP address (I cannot modify it). 

What I want to do is write a program that intercepts the packets going out to the server and allows me to view and or modify the packets. And then the reverse, I want to intercept the returning packets then forward them back to the process.

If I cannot change the IP address / port that the PC process uses how can I "redirect" the packets into my interceptor application? I know there is such a thing as port forwarding that you can setup with your router but I don't think what I am doing is port forwarding. (Or maybe it is?)

Basically here is what I need to do.

[Current]
PROCESS -> SERVER
SERVER->PROCESS

[NEW]
PROCESS->INTERCEPTOR->SERVER
SERVER->INTERCEPTOR->PROCESS

If I could modify the IP address that the process uses I could just change it to connect to my "interceptor." I believe that the fact that I cannot change the IP address is the clutch of the problem here.

Also note that I don't want to just "sniff" the packets. Sniffing would allow me to see the packets but I need to modify them as well.

I hope I was able to describe what I am looking to do well enough for anyone to point me in the right direction. 

Perhaps an image will help explain what I need:

Image: http://i144.photobucket.com/albums/r177/tackyjan/packet-interceptor.png 

Thanks in advance!

Jan]]></description>
			<content:encoded><![CDATA[<div>Hello all!<br />
<br />
I am new to network programming so forgive my ignorance. :)<br />
<br />
I have a question regarding packet intercepting/viewing, etc.<br />
<br />
I have a process that runs on my PC. This process communicates to a server using a fixed IP address (I cannot modify it). <br />
<br />
What I want to do is write a program that intercepts the packets going out to the server and allows me to view and or modify the packets. And then the reverse, I want to intercept the returning packets then forward them back to the process.<br />
<br />
If I cannot change the IP address / port that the PC process uses how can I &quot;redirect&quot; the packets into my interceptor application? I know there is such a thing as port forwarding that you can setup with your router but I don't think what I am doing is port forwarding. (Or maybe it is?)<br />
<br />
Basically here is what I need to do.<br />
<br />
[Current]<br />
PROCESS -&gt; SERVER<br />
SERVER-&gt;PROCESS<br />
<br />
[NEW]<br />
PROCESS-&gt;INTERCEPTOR-&gt;SERVER<br />
SERVER-&gt;INTERCEPTOR-&gt;PROCESS<br />
<br />
If I could modify the IP address that the process uses I could just change it to connect to my &quot;interceptor.&quot; I believe that the fact that I cannot change the IP address is the clutch of the problem here.<br />
<br />
Also note that I don't want to just &quot;sniff&quot; the packets. Sniffing would allow me to see the packets but I need to modify them as well.<br />
<br />
I hope I was able to describe what I am looking to do well enough for anyone to point me in the right direction. <br />
<br />
Perhaps an image will help explain what I need:<br />
<br />
<img src="http://i144.photobucket.com/albums/r177/tackyjan/packet-interceptor.png" border="0" alt="" /><br />
<br />
Thanks in advance!<br />
<br />
Jan</div>

]]></content:encoded>
			<category domain="http://forums.codeguru.com/forumdisplay.php?f=62">Network Programming</category>
			<dc:creator>tackyjan</dc:creator>
			<guid isPermaLink="true">http://forums.codeguru.com/showthread.php?t=523817</guid>
		</item>
		<item>
			<title>How to have embedded rdlc report vc++2010?</title>
			<link>http://forums.codeguru.com/showthread.php?t=523816&amp;goto=newpost</link>
			<pubDate>Wed, 16 May 2012 05:52:42 GMT</pubDate>
			<description><![CDATA[Hi, 
When I try to generate the rdlc report with enbedded manner, its giving error...But When I check it from a Local Path it's working good. Only for embedded report it's giving error... Any ideas for me?

Thanks

01. When I check the report1.rdlc properties, 

       Content  = False      ...Is it has to be true?

02. When I give the below command it's giving the error... Is it mistake?

reportViewer1->LocalReport->ReportEmbeddedResource = "MyReportProject::Report1.rdlc";

Thanks Again]]></description>
			<content:encoded><![CDATA[<div>Hi, <br />
When I try to generate the rdlc report with enbedded manner, its giving error...But When I check it from a Local Path it's working good. Only for embedded report it's giving error... Any ideas for me?<br />
<br />
Thanks<br />
<br />
01. When I check the report1.rdlc properties, <br />
<br />
       Content  = False      ...Is it has to be true?<br />
<br />
02. When I give the below command it's giving the error... Is it mistake?<br />
<br />
reportViewer1-&gt;LocalReport-&gt;ReportEmbeddedResource = &quot;MyReportProject::Report1.rdlc&quot;;<br />
<br />
Thanks Again</div>

]]></content:encoded>
			<category domain="http://forums.codeguru.com/forumdisplay.php?f=17">Managed C++ and C++/CLI</category>
			<dc:creator>MAHEY</dc:creator>
			<guid isPermaLink="true">http://forums.codeguru.com/showthread.php?t=523816</guid>
		</item>
		<item>
			<title>SqlDataAdapter UpdateCOmmand issue</title>
			<link>http://forums.codeguru.com/showthread.php?t=523815&amp;goto=newpost</link>
			<pubDate>Wed, 16 May 2012 05:21:27 GMT</pubDate>
			<description><![CDATA[Dear all

I have a question on duplicate UpdateCommand as below. How can I solve this issue?

public void ExecuteCash(byte[] data)
{
SqlConnection sqlConnection = new SqlConnection(conn);
sqlConnection.Open();
try
{
DataSet dataSet = new DataSet();
new SqlDataAdapter
{
UpdateCommand = new SqlCommand("update tbl_Cash Set ID_Staff=@ID_Staff, D_Allocate=@D_Allocate, ID_Supr=@ID_Supr, Str_Assign='1' where ID_Cash=@ID_Cash", sqlConnection), 

UpdateCommand = 
{
Parameters = 
{

{
"@ID_Staff", 
SqlDbType.NVarChar, 
10, 
"ID_Staff"
}, 


{
"@D_Allocate", 
SqlDbType.NVarChar, 
10, 
"D_Allocate"
}, 

{
"@ID_Supr", 
SqlDbType.NVarChar, 
10, 
"ID_Supr"
}, 

{
"@ID_Cash", 
SqlDbType.NVarChar, 
20, 
"ID_Cash"
}
}, 
UpdatedRowSource = UpdateRowSource.None
}, 
UpdateBatchSize = 0
}.Update(dataSet.Tables[0]);
}
catch (Exception ex)
{
throw ex;
}
finally
{
sqlConnection.Close();
}
}

When I compile on command line CSC, it gaves error stating duplicate UpdateCommand.

How can I rewrite this UpdateCommand to remove the error?

Thanks.]]></description>
			<content:encoded><![CDATA[<div>Dear all<br />
<br />
I have a question on duplicate UpdateCommand as below. How can I solve this issue?<br />
<br />
public void ExecuteCash(byte[] data)<br />
{<br />
SqlConnection sqlConnection = new SqlConnection(conn);<br />
sqlConnection.Open();<br />
try<br />
{<br />
DataSet dataSet = new DataSet();<br />
new SqlDataAdapter<br />
{<br />
UpdateCommand = new SqlCommand(&quot;update tbl_Cash Set ID_Staff=@ID_Staff, D_Allocate=@D_Allocate, ID_Supr=@ID_Supr, Str_Assign='1' where ID_Cash=@ID_Cash&quot;, sqlConnection), <br />
<br />
UpdateCommand = <br />
{<br />
Parameters = <br />
{<br />
<br />
{<br />
&quot;@ID_Staff&quot;, <br />
SqlDbType.NVarChar, <br />
10, <br />
&quot;ID_Staff&quot;<br />
}, <br />
<br />
<br />
{<br />
&quot;@D_Allocate&quot;, <br />
SqlDbType.NVarChar, <br />
10, <br />
&quot;D_Allocate&quot;<br />
}, <br />
<br />
{<br />
&quot;@ID_Supr&quot;, <br />
SqlDbType.NVarChar, <br />
10, <br />
&quot;ID_Supr&quot;<br />
}, <br />
<br />
{<br />
&quot;@ID_Cash&quot;, <br />
SqlDbType.NVarChar, <br />
20, <br />
&quot;ID_Cash&quot;<br />
}<br />
}, <br />
UpdatedRowSource = UpdateRowSource.None<br />
}, <br />
UpdateBatchSize = 0<br />
}.Update(dataSet.Tables[0]);<br />
}<br />
catch (Exception ex)<br />
{<br />
throw ex;<br />
}<br />
finally<br />
{<br />
sqlConnection.Close();<br />
}<br />
}<br />
<br />
When I compile on command line CSC, it gaves error stating duplicate UpdateCommand.<br />
<br />
How can I rewrite this UpdateCommand to remove the error?<br />
<br />
Thanks.</div>

]]></content:encoded>
			<category domain="http://forums.codeguru.com/forumdisplay.php?f=11">C-Sharp Programming</category>
			<dc:creator>tomteo99</dc:creator>
			<guid isPermaLink="true">http://forums.codeguru.com/showthread.php?t=523815</guid>
		</item>
		<item>
			<title>How to disable a checkbox in the class CListCtrl?</title>
			<link>http://forums.codeguru.com/showthread.php?t=523814&amp;goto=newpost</link>
			<pubDate>Tue, 15 May 2012 22:10:01 GMT</pubDate>
			<description>I set up checkbox style for the CListCtrl control. Now I want to disable the checkbox in the control to make checkbox read only. Is there any way I can do that? Thanks.</description>
			<content:encoded><![CDATA[<div>I set up checkbox style for the CListCtrl control. Now I want to disable the checkbox in the control to make checkbox read only. Is there any way I can do that? Thanks.</div>

]]></content:encoded>
			<category domain="http://forums.codeguru.com/forumdisplay.php?f=7">Visual C++ Programming</category>
			<dc:creator>LarryChen</dc:creator>
			<guid isPermaLink="true">http://forums.codeguru.com/showthread.php?t=523814</guid>
		</item>
		<item>
			<title>How does VOIP work ?</title>
			<link>http://forums.codeguru.com/showthread.php?t=523813&amp;goto=newpost</link>
			<pubDate>Tue, 15 May 2012 21:54:46 GMT</pubDate>
			<description><![CDATA[I have a question. I'm not really good in the field of voip apart from the fact that I know the services I like to use to call. What I want to know is from a programming side ? How does voip work ? How do you code it ? Why do every voip provider charge (as in, do they pay for every call users make ?)?]]></description>
			<content:encoded><![CDATA[<div>I have a question. I'm not really good in the field of voip apart from the fact that I know the services I like to use to call. What I want to know is from a programming side ? How does voip work ? How do you code it ? Why do every voip provider charge (as in, do they pay for every call users make ?)?</div>

]]></content:encoded>
			<category domain="http://forums.codeguru.com/forumdisplay.php?f=19">General Developer Topics</category>
			<dc:creator>thenabster</dc:creator>
			<guid isPermaLink="true">http://forums.codeguru.com/showthread.php?t=523813</guid>
		</item>
		<item>
			<title>ThermalLabel SDK 5.0 for .NET just released!</title>
			<link>http://forums.codeguru.com/showthread.php?t=523812&amp;goto=newpost</link>
			<pubDate>Tue, 15 May 2012 21:33:12 GMT</pubDate>
			<description><![CDATA[Neodynamic is proud to announce the availability of ThermalLabel SDK 5.0 for .NET Framework! (http://www.neodynamic.com/Products/Thermal-Label-SDK-NET/Thermal-Label-SDK-NET.aspx?tabid=108&prodid=11)

Neodynamic ThermalLabel SDK 5.0 for .NET is a royalty-free lightweight .NET assembly (DLL) that lets you to design barcode labels and print them to Zebra Thermal Printers (any printers supporting ZPL® or EPL® languages/emulators) by writing just pure .NET code in VB.NET or C#. The new *v5.0* brings new great features like the new *Native Printer Fonts*, the *Native Barcode Engine* and the so awaited *ThermalLabel Editor Add-on!*

*What's new in ThermalLabel SDK 5.0?*
- *New!* Native Printer Font approach used with TextItem and BarcodeItem objects. The SDK provides three TrueType font files (*.ttf) which abstract the ZPL/EPL built-in fonts boosting the performance of the printing process. These TrueType fonts are needed to simulate the built-in fonts when rendering the output label to PDF documents or image files only, and for editing TextItem or BarcodeItem objects on the ThermalLabelEditor component. 
- *New!* Native Barcode Engine approach used with BarcodeItem objects. This new barcode rendering engine generates barcode symbols by using primitive built-in ZPL and EPL commands based on our own barcode algorithms. It greatly reduces the amount of ZPL/EPL bytes sent to the printers when comparing it to the same output generated by the graphic approach. 
- *New!* Added the PrintAsGraphic property to Item-derived classes. This new property is to bypass the new "Native" features and use the graphic engine for rendering. 
- *New!* Added the DataFieldFormatString to Item-derived classes which allows you to set up the string that specifies the display format for the value of the data field. 
- *New!* Added the PropertyChanged event to Item-derived classes. 
- *New!* Added the Comments property to Item-derived classes. This property is not printable but is useful for commenting each of the items which composes a label layout. It could be used for review process and the ThermalLabelEditor nicely will display such comments as a tool tip when the mouse pointer is over the item. 
- *New!* Added the UpdateFrom method to Item-derived classes and to the Font class. It is useful for updating the properties of an object based on the properties of another object. Mainly used when working with the ThermalLabelEditor component. 
- *New!* Added Mils (1/1000 inch) to the list of supported units. 
- *New!* Added support for Native Printer Font to the Font class. 
- *New!* New MultipleSelectionItem class. It basically represents a collection of Item-derived classes which have been selected on the ThermalLabelEditor canvas by the end-user. 
- *New!* A new Visual Label Editor/Designer add-on called ThermalLabelEditor component. The ThermalLabelEditor component is a first-class label designer for .NET Windows desktop apps featuring visual aids for label design process, undo/redo engine, Cut-Copy-Paste functionality, z-ordering on items, zooming, keyboard shortcuts for well-known common actions, In-place text edition for TextItem objects and many more features. 

*Links:*
Demos (http://www.neodynamic.com/Products/Demos/Demos.aspx?tabid=109&prodid=11)
Download ThermalLabel SDK for .NET (http://www.neodynamic.com/ND/Downloads.aspx?tabid=111&prodid=11)
More Information about Neodynamic ThermalLabel SDK for .NET (http://www.neodynamic.com/Products/Thermal-Label-SDK-NET/Thermal-Label-SDK-NET.aspx?tabid=108&prodid=11)

Neodynamic
.NET Components & Controls
http://www.neodynamic.com
http://www.thermal-label.net]]></description>
			<content:encoded><![CDATA[<div>Neodynamic is proud to announce the availability of <a rel="nofollow" href="http://www.neodynamic.com/Products/Thermal-Label-SDK-NET/Thermal-Label-SDK-NET.aspx?tabid=108&amp;prodid=11" target="_blank">ThermalLabel SDK 5.0 for .NET Framework!</a><br />
<br />
Neodynamic ThermalLabel SDK 5.0 for .NET is a royalty-free lightweight .NET assembly (DLL) that lets you to design barcode labels and print them to Zebra Thermal Printers (any printers supporting ZPL® or EPL® languages/emulators) by writing just pure .NET code in VB.NET or C#. The new <b>v5.0</b> brings new great features like the new <b>Native Printer Fonts</b>, the <b>Native Barcode Engine</b> and the so awaited <b>ThermalLabel Editor Add-on!</b><br />
<br />
<b>What's new in ThermalLabel SDK 5.0?</b><br />
- <b>New!</b> Native Printer Font approach used with TextItem and BarcodeItem objects. The SDK provides three TrueType font files (*.ttf) which abstract the ZPL/EPL built-in fonts boosting the performance of the printing process. These TrueType fonts are needed to simulate the built-in fonts when rendering the output label to PDF documents or image files only, and for editing TextItem or BarcodeItem objects on the ThermalLabelEditor component. <br />
- <b>New!</b> Native Barcode Engine approach used with BarcodeItem objects. This new barcode rendering engine generates barcode symbols by using primitive built-in ZPL and EPL commands based on our own barcode algorithms. It greatly reduces the amount of ZPL/EPL bytes sent to the printers when comparing it to the same output generated by the graphic approach. <br />
- <b>New!</b> Added the PrintAsGraphic property to Item-derived classes. This new property is to bypass the new &quot;Native&quot; features and use the graphic engine for rendering. <br />
- <b>New!</b> Added the DataFieldFormatString to Item-derived classes which allows you to set up the string that specifies the display format for the value of the data field. <br />
- <b>New!</b> Added the PropertyChanged event to Item-derived classes. <br />
- <b>New!</b> Added the Comments property to Item-derived classes. This property is not printable but is useful for commenting each of the items which composes a label layout. It could be used for review process and the ThermalLabelEditor nicely will display such comments as a tool tip when the mouse pointer is over the item. <br />
- <b>New!</b> Added the UpdateFrom method to Item-derived classes and to the Font class. It is useful for updating the properties of an object based on the properties of another object. Mainly used when working with the ThermalLabelEditor component. <br />
- <b>New!</b> Added Mils (1/1000 inch) to the list of supported units. <br />
- <b>New!</b> Added support for Native Printer Font to the Font class. <br />
- <b>New!</b> New MultipleSelectionItem class. It basically represents a collection of Item-derived classes which have been selected on the ThermalLabelEditor canvas by the end-user. <br />
- <b>New!</b> A new Visual Label Editor/Designer add-on called ThermalLabelEditor component. The ThermalLabelEditor component is a first-class label designer for .NET Windows desktop apps featuring visual aids for label design process, undo/redo engine, Cut-Copy-Paste functionality, z-ordering on items, zooming, keyboard shortcuts for well-known common actions, In-place text edition for TextItem objects and many more features. <br />
<br />
<b>Links:</b><br />
<a rel="nofollow" href="http://www.neodynamic.com/Products/Demos/Demos.aspx?tabid=109&amp;prodid=11" target="_blank">Demos</a><br />
<a rel="nofollow" href="http://www.neodynamic.com/ND/Downloads.aspx?tabid=111&amp;prodid=11" target="_blank">Download ThermalLabel SDK for .NET</a><br />
<a rel="nofollow" href="http://www.neodynamic.com/Products/Thermal-Label-SDK-NET/Thermal-Label-SDK-NET.aspx?tabid=108&amp;prodid=11" target="_blank">More Information about Neodynamic ThermalLabel SDK for .NET</a><br />
<br />
Neodynamic<br />
.NET Components &amp; Controls<br />
<a rel="nofollow" href="http://www.neodynamic.com" target="_blank">http://www.neodynamic.com</a><br />
<a rel="nofollow" href="http://www.thermal-label.net" target="_blank">http://www.thermal-label.net</a></div>

]]></content:encoded>
			<category domain="http://forums.codeguru.com/forumdisplay.php?f=21"><![CDATA[Announcements, Press Releases, & News]]></category>
			<dc:creator>neodynamic</dc:creator>
			<guid isPermaLink="true">http://forums.codeguru.com/showthread.php?t=523812</guid>
		</item>
	</channel>
</rss>

