<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>EntwicklerForum.org &#187; C, C++, Objective-C</title>
	<atom:link href="http://www.entwicklerforum.org/category/c/feed" rel="self" type="application/rss+xml" />
	<link>http://www.entwicklerforum.org</link>
	<description>Tipps und Tricks für Entwickler</description>
	<lastBuildDate>Fri, 09 Dec 2011 17:54:27 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>C# Funktion mit unbekannter Anzahl von Parametern ausf&#252;hren</title>
		<link>http://www.entwicklerforum.org/c-funktion-mit-unbekannter-anzahl-von-parametern-ausfuehren</link>
		<comments>http://www.entwicklerforum.org/c-funktion-mit-unbekannter-anzahl-von-parametern-ausfuehren#comments</comments>
		<pubDate>Mon, 28 Jul 2008 08:55:09 +0000</pubDate>
		<dc:creator>Michal Sodomka</dc:creator>
				<category><![CDATA[C, C++, Objective-C]]></category>
		<category><![CDATA[Objective-C]]></category>

		<guid isPermaLink="false">http://www.entwicklerforum.org/?p=124</guid>
		<description><![CDATA[Wie kann man in C# eine Funktion ausf&#252;hren wenn man vorher nicht 100% weisst wieviel Parametrn die Funktion bekommt ? Das ist ja eine komische Frage aber C# hat darauf eine Antwort. static void Main(string[] args) { Foo(10, 20, 30); Foo(1,2,3,4,5,6,7,8); Foo(99,98); } static void Foo(params int[] numbers) { foreach (int i in numbers) { [...]]]></description>
			<content:encoded><![CDATA[<p>Wie kann man in C# eine Funktion ausf&#252;hren wenn man vorher nicht 100% weisst wieviel Parametrn die Funktion bekommt ? <img src='http://www.entwicklerforum.org/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />  Das ist ja eine komische Frage aber C# hat darauf eine Antwort.</p>
<p><span id="more-124"></span>static void Main(string[] args)<br />
{<br />
Foo(10, 20, 30);<br />
Foo(1,2,3,4,5,6,7,8);<br />
Foo(99,98);<br />
}</p>
<p>static void Foo(params int[] numbers)<br />
{<br />
foreach (int i in numbers)<br />
{<br />
Console.WriteLine(i);<br />
}<br />
}</p>
]]></content:encoded>
			<wfw:commentRss>http://www.entwicklerforum.org/c-funktion-mit-unbekannter-anzahl-von-parametern-ausfuehren/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Anwendung nur einmal starten unter C#</title>
		<link>http://www.entwicklerforum.org/anwendung-nur-einmal-starten-unter-c</link>
		<comments>http://www.entwicklerforum.org/anwendung-nur-einmal-starten-unter-c#comments</comments>
		<pubDate>Thu, 24 Jul 2008 16:50:31 +0000</pubDate>
		<dc:creator>Michael Jacoby</dc:creator>
				<category><![CDATA[.Net / ASP.Net / C#]]></category>
		<category><![CDATA[C, C++, Objective-C]]></category>
		<category><![CDATA[Objective-C]]></category>

		<guid isPermaLink="false">http://www.entwicklerforum.org/?p=123</guid>
		<description><![CDATA[Bei der Entwicklung meiner Projektarbeit bin ich auf folgende Problemstellung gesto&#223;en: Wie schaffe ich es zu verhindern dass meine Applikation nur einmal gestartet werden kann? Das ist aber nicht nicht alles! Ferner soll bei dem Versuch meine Applikation ein zweites Mal zu starten ein Event in der bestehenden Applikation ausgel&#246;st werden. Und zu guter Letzt [...]]]></description>
			<content:encoded><![CDATA[<p>Bei der Entwicklung meiner Projektarbeit bin ich auf folgende Problemstellung gesto&#223;en:<br />
Wie schaffe ich es zu verhindern dass meine Applikation nur einmal gestartet werden kann?<br />
Das ist aber nicht nicht alles! Ferner soll bei dem Versuch meine Applikation ein zweites Mal zu starten ein Event in der bestehenden Applikation ausgel&#246;st werden. Und zu guter Letzt soll dieses Event auch noch die beim Startversuch an die Applikation &#252;bergebenen Parameter zum Auswerten bereitstellen.</p>
<p><span id="more-123"></span>Die L&#246;sung ist eigentlich relativ simple, aber nicht auf den ersten Blick zu finden, denn sie verbirgt sich im Namespace <em>Microsoft.VisualBasic</em>.</p>
<p>Die Klasse <em>WindowsFormsApplicationBase</em> ist es die Properties wie <em>IsSingleInstance</em> oder <em>ShutdownStyle</em> sowie das wichtige Event <em>OnStartupNextInstance(StartupNextInstanceEventArgs eventArgs)</em> bereitstellt.</p>
<p>Wichtig ist die Assembly <em>Microsoft.VisualBasic.dll</em> einzubinden. (bei mir beispielsweise zu finden unter <em>C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Microsoft.VisualBasic.dll</em>)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.entwicklerforum.org/anwendung-nur-einmal-starten-unter-c/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>3D/2D Dock &#8211; Applikation f&#252;r Leopard</title>
		<link>http://www.entwicklerforum.org/3d2d-dock-applikation-fuer-leopard</link>
		<comments>http://www.entwicklerforum.org/3d2d-dock-applikation-fuer-leopard#comments</comments>
		<pubDate>Thu, 08 Nov 2007 13:12:58 +0000</pubDate>
		<dc:creator>Dennis Müller</dc:creator>
				<category><![CDATA[C, C++, Objective-C]]></category>
		<category><![CDATA[OS - Betriebssysteme]]></category>
		<category><![CDATA[Apple]]></category>
		<category><![CDATA[Leopard]]></category>

		<guid isPermaLink="false">http://www.entwicklerforum.org/3d2d-dock-applikation-fuer-leopard</guid>
		<description><![CDATA[Gestern Nacht habe ich kurz eine Applikation geschrieben mit der man mit einem Mausklick zwischen 3D und 2D Dock umschalten kann. Mehr Infos und den Download gibts unter MacGarden Software. F&#252;r User die der Shell nicht m&#228;chtig sind ist es ganz nett das ganze per mausklick zu machen.]]></description>
			<content:encoded><![CDATA[<p>Gestern Nacht habe ich kurz eine Applikation geschrieben mit der man mit einem Mausklick zwischen 3D und 2D Dock umschalten kann.<br />
 Mehr Infos und den Download gibts unter <a href="http://www.mac-garden.com/software">MacGarden Software</a>.<br />
 F&#252;r User die der Shell nicht m&#228;chtig sind ist es ganz nett das ganze per mausklick zu machen.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.entwicklerforum.org/3d2d-dock-applikation-fuer-leopard/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Excel-Dateien in DataSet laden</title>
		<link>http://www.entwicklerforum.org/excel-dateien-in-dataset-laden</link>
		<comments>http://www.entwicklerforum.org/excel-dateien-in-dataset-laden#comments</comments>
		<pubDate>Thu, 11 Oct 2007 16:27:08 +0000</pubDate>
		<dc:creator>Michael Jacoby</dc:creator>
				<category><![CDATA[.Net / ASP.Net / C#]]></category>
		<category><![CDATA[Allgemein / Web 2.0]]></category>
		<category><![CDATA[C, C++, Objective-C]]></category>

		<guid isPermaLink="false">http://www.entwicklerforum.org/excel-dateien-in-dataset-laden</guid>
		<description><![CDATA[private DataSet LadeExcelInDataSet&#40;&#41; &#123; DataSet dsReturn = new DataSet&#40;&#41;; if &#40;dlgOpen.ShowDialog&#40;&#41; == DialogResult.OK&#41; &#60;span id=&#34;more-78&#34;&#62;&#60;/span&#62; &#123; // Excel als Application initialisieren Microsoft.Office.Interop.Excel.ApplicationClass app = new ApplicationClass&#40;&#41;; // Workbook Objekt &#246;ffnen Microsoft.Office.Interop.Excel.Workbook workBook = app.Workbooks.Open&#40;dlgOpen.FileName, 0, true, 5, &#34;&#34;, &#34;&#34;, true, Microsoft.Office.Interop.Excel.XlPlatform.xlWindows, &#34;\t&#34;, false, false, 0, true, 1, 0&#41;; // Aktives Worksheet ausw&#228;hlen Microsoft.Office.Interop.Excel.Worksheet workSheet = [...]]]></description>
			<content:encoded><![CDATA[
<div class="wp_syntax"><div class="code"><pre class="csharp" style="font-family:monospace;"><span style="color: #0600FF; font-weight: bold;">private</span> DataSet LadeExcelInDataSet<span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span>
<span style="color: #008000;">&#123;</span>
    DataSet dsReturn <span style="color: #008000;">=</span> <span style="color: #008000;">new</span> DataSet<span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
    <span style="color: #0600FF; font-weight: bold;">if</span> <span style="color: #008000;">&#40;</span>dlgOpen<span style="color: #008000;">.</span><span style="color: #0000FF;">ShowDialog</span><span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span> <span style="color: #008000;">==</span> DialogResult<span style="color: #008000;">.</span><span style="color: #0000FF;">OK</span><span style="color: #008000;">&#41;</span>
  <span style="color: #008000;">&lt;</span>span id<span style="color: #008000;">=</span><span style="color: #666666;">&quot;more-78&quot;</span><span style="color: #008000;">&gt;&lt;/</span>span<span style="color: #008000;">&gt;</span>  <span style="color: #008000;">&#123;</span>
        <span style="color: #008080; font-style: italic;">// Excel als Application initialisieren</span>
        Microsoft<span style="color: #008000;">.</span><span style="color: #0000FF;">Office</span><span style="color: #008000;">.</span><span style="color: #0000FF;">Interop</span><span style="color: #008000;">.</span><span style="color: #0000FF;">Excel</span><span style="color: #008000;">.</span><span style="color: #0000FF;">ApplicationClass</span> app <span style="color: #008000;">=</span> <span style="color: #008000;">new</span> ApplicationClass<span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
        <span style="color: #008080; font-style: italic;">// Workbook Objekt öffnen</span>
        Microsoft<span style="color: #008000;">.</span><span style="color: #0000FF;">Office</span><span style="color: #008000;">.</span><span style="color: #0000FF;">Interop</span><span style="color: #008000;">.</span><span style="color: #0000FF;">Excel</span><span style="color: #008000;">.</span><span style="color: #0000FF;">Workbook</span> workBook <span style="color: #008000;">=</span> app<span style="color: #008000;">.</span><span style="color: #0000FF;">Workbooks</span><span style="color: #008000;">.</span><span style="color: #0000FF;">Open</span><span style="color: #008000;">&#40;</span>dlgOpen<span style="color: #008000;">.</span><span style="color: #0000FF;">FileName</span>,
                                                     <span style="color: #FF0000;">0</span>,
                                                     <span style="color: #0600FF; font-weight: bold;">true</span>,
                                                     <span style="color: #FF0000;">5</span>,
                                                     <span style="color: #666666;">&quot;&quot;</span>,
                                                     <span style="color: #666666;">&quot;&quot;</span>,
                                                     <span style="color: #0600FF; font-weight: bold;">true</span>,
                                                     Microsoft<span style="color: #008000;">.</span><span style="color: #0000FF;">Office</span><span style="color: #008000;">.</span><span style="color: #0000FF;">Interop</span><span style="color: #008000;">.</span><span style="color: #0000FF;">Excel</span><span style="color: #008000;">.</span><span style="color: #0000FF;">XlPlatform</span><span style="color: #008000;">.</span><span style="color: #0000FF;">xlWindows</span>,
                                                     <span style="color: #666666;">&quot;<span style="color: #008080; font-weight: bold;">\t</span>&quot;</span>,
                                                     <span style="color: #0600FF; font-weight: bold;">false</span>,
                                                     <span style="color: #0600FF; font-weight: bold;">false</span>,
                                                     <span style="color: #FF0000;">0</span>,
                                                     <span style="color: #0600FF; font-weight: bold;">true</span>,
                                                     <span style="color: #FF0000;">1</span>,
                                                     <span style="color: #FF0000;">0</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
        <span style="color: #008080; font-style: italic;">// Aktives Worksheet auswählen</span>
        Microsoft<span style="color: #008000;">.</span><span style="color: #0000FF;">Office</span><span style="color: #008000;">.</span><span style="color: #0000FF;">Interop</span><span style="color: #008000;">.</span><span style="color: #0000FF;">Excel</span><span style="color: #008000;">.</span><span style="color: #0000FF;">Worksheet</span> workSheet <span style="color: #008000;">=</span> <span style="color: #008000;">&#40;</span>Microsoft<span style="color: #008000;">.</span><span style="color: #0000FF;">Office</span><span style="color: #008000;">.</span><span style="color: #0000FF;">Interop</span><span style="color: #008000;">.</span><span style="color: #0000FF;">Excel</span><span style="color: #008000;">.</span><span style="color: #0000FF;">Worksheet</span><span style="color: #008000;">&#41;</span>workBook<span style="color: #008000;">.</span><span style="color: #0000FF;">ActiveSheet</span><span style="color: #008000;">;</span>
        <span style="color: #008080; font-style: italic;">// DataTable erstellen</span>
        dsReturn<span style="color: #008000;">.</span><span style="color: #0000FF;">Tables</span><span style="color: #008000;">.</span><span style="color: #0000FF;">Add</span><span style="color: #008000;">&#40;</span><span style="color: #008000;">new</span> <span style="color: #000000;">System.<span style="color: #0000FF;">Data</span></span><span style="color: #008000;">.</span><span style="color: #0000FF;">DataTable</span><span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
        <span style="color: #6666cc; font-weight: bold;">int</span> intColumnCount <span style="color: #008000;">=</span> <span style="color: #FF0000;">0</span><span style="color: #008000;">;</span>
        <span style="color: #008080; font-style: italic;">// Spalten aus Excel in DataSet anlegen (beginnend mit 1!)</span>
        <span style="color: #008080; font-style: italic;">// in der 1. Zeile stehen die Überschriften</span>
        <span style="color: #0600FF; font-weight: bold;">try</span>
        <span style="color: #008000;">&#123;</span>
            <span style="color: #0600FF; font-weight: bold;">for</span> <span style="color: #008000;">&#40;</span><span style="color: #6666cc; font-weight: bold;">int</span> x <span style="color: #008000;">=</span> <span style="color: #FF0000;">1</span><span style="color: #008000;">;</span> x <span style="color: #008000;">&amp;</span>lt<span style="color: #008000;">;=</span> workSheet<span style="color: #008000;">.</span><span style="color: #0000FF;">Columns</span><span style="color: #008000;">.</span><span style="color: #0000FF;">Count</span><span style="color: #008000;">;</span> x<span style="color: #008000;">++</span><span style="color: #008000;">&#41;</span>
            <span style="color: #008000;">&#123;</span>
                <span style="color: #0600FF; font-weight: bold;">if</span> <span style="color: #008000;">&#40;</span><span style="color: #008000;">&#40;</span><span style="color: #008000;">&#40;</span>Microsoft<span style="color: #008000;">.</span><span style="color: #0000FF;">Office</span><span style="color: #008000;">.</span><span style="color: #0000FF;">Interop</span><span style="color: #008000;">.</span><span style="color: #0000FF;">Excel</span><span style="color: #008000;">.</span><span style="color: #0000FF;">Range</span><span style="color: #008000;">&#41;</span>workSheet<span style="color: #008000;">.</span><span style="color: #0000FF;">Cells</span><span style="color: #008000;">&#91;</span><span style="color: #FF0000;">1</span>, x<span style="color: #008000;">&#93;</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">.</span><span style="color: #0000FF;">Value2</span> <span style="color: #008000;">==</span> <span style="color: #0600FF; font-weight: bold;">null</span><span style="color: #008000;">&#41;</span>
                <span style="color: #008000;">&#123;</span>
                    <span style="color: #0600FF; font-weight: bold;">break</span><span style="color: #008000;">;</span>
                <span style="color: #008000;">&#125;</span>
                DataColumn colNew <span style="color: #008000;">=</span> <span style="color: #008000;">new</span> DataColumn<span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
                colNew<span style="color: #008000;">.</span><span style="color: #0000FF;">ColumnName</span> <span style="color: #008000;">=</span> <span style="color: #008000;">&#40;</span><span style="color: #008000;">&#40;</span>Microsoft<span style="color: #008000;">.</span><span style="color: #0000FF;">Office</span><span style="color: #008000;">.</span><span style="color: #0000FF;">Interop</span><span style="color: #008000;">.</span><span style="color: #0000FF;">Excel</span><span style="color: #008000;">.</span><span style="color: #0000FF;">Range</span><span style="color: #008000;">&#41;</span>workSheet<span style="color: #008000;">.</span><span style="color: #0000FF;">Cells</span><span style="color: #008000;">&#91;</span><span style="color: #FF0000;">1</span>, x<span style="color: #008000;">&#93;</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">.</span><span style="color: #0000FF;">Value2</span><span style="color: #008000;">.</span><span style="color: #0000FF;">ToString</span><span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
                colNew<span style="color: #008000;">.</span><span style="color: #0000FF;">Caption</span> <span style="color: #008000;">=</span> <span style="color: #008000;">&#40;</span><span style="color: #008000;">&#40;</span>Microsoft<span style="color: #008000;">.</span><span style="color: #0000FF;">Office</span><span style="color: #008000;">.</span><span style="color: #0000FF;">Interop</span><span style="color: #008000;">.</span><span style="color: #0000FF;">Excel</span><span style="color: #008000;">.</span><span style="color: #0000FF;">Range</span><span style="color: #008000;">&#41;</span>workSheet<span style="color: #008000;">.</span><span style="color: #0000FF;">Cells</span><span style="color: #008000;">&#91;</span><span style="color: #FF0000;">1</span>, x<span style="color: #008000;">&#93;</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">.</span><span style="color: #0000FF;">Value2</span><span style="color: #008000;">.</span><span style="color: #0000FF;">ToString</span><span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
                dsReturn<span style="color: #008000;">.</span><span style="color: #0000FF;">Tables</span><span style="color: #008000;">&#91;</span><span style="color: #FF0000;">0</span><span style="color: #008000;">&#93;</span><span style="color: #008000;">.</span><span style="color: #0000FF;">Columns</span><span style="color: #008000;">.</span><span style="color: #0000FF;">Add</span><span style="color: #008000;">&#40;</span>colNew<span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
                intColumnCount<span style="color: #008000;">++;</span>
            <span style="color: #008000;">&#125;</span>
            <span style="color: #008080; font-style: italic;">// Ab Zeile 2 Daten auslesen</span>
            <span style="color: #6666cc; font-weight: bold;">int</span> rowIndex <span style="color: #008000;">=</span> <span style="color: #FF0000;">2</span><span style="color: #008000;">;</span>
            <span style="color: #008080; font-style: italic;">// Alle Datensätze ab Zeile einlesen</span>
            <span style="color: #0600FF; font-weight: bold;">while</span> <span style="color: #008000;">&#40;</span><span style="color: #008000;">&#40;</span><span style="color: #008000;">&#40;</span>Microsoft<span style="color: #008000;">.</span><span style="color: #0000FF;">Office</span><span style="color: #008000;">.</span><span style="color: #0000FF;">Interop</span><span style="color: #008000;">.</span><span style="color: #0000FF;">Excel</span><span style="color: #008000;">.</span><span style="color: #0000FF;">Range</span><span style="color: #008000;">&#41;</span>workSheet<span style="color: #008000;">.</span><span style="color: #0000FF;">Cells</span><span style="color: #008000;">&#91;</span>rowIndex, <span style="color: #FF0000;">1</span><span style="color: #008000;">&#93;</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">.</span><span style="color: #0000FF;">Value2</span> <span style="color: #008000;">!=</span> <span style="color: #0600FF; font-weight: bold;">null</span><span style="color: #008000;">&#41;</span>
            <span style="color: #008000;">&#123;</span>
                DataRow drNew <span style="color: #008000;">=</span> dsReturn<span style="color: #008000;">.</span><span style="color: #0000FF;">Tables</span><span style="color: #008000;">&#91;</span><span style="color: #FF0000;">0</span><span style="color: #008000;">&#93;</span><span style="color: #008000;">.</span><span style="color: #0000FF;">NewRow</span><span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
                <span style="color: #008080; font-style: italic;">// für jede Zeile jede Spalte auslesen</span>
                <span style="color: #0600FF; font-weight: bold;">for</span> <span style="color: #008000;">&#40;</span><span style="color: #6666cc; font-weight: bold;">int</span> x <span style="color: #008000;">=</span> <span style="color: #FF0000;">1</span><span style="color: #008000;">;</span> x <span style="color: #008000;">&amp;</span>lt<span style="color: #008000;">;=</span> intColumnCount<span style="color: #008000;">;</span> x<span style="color: #008000;">++</span><span style="color: #008000;">&#41;</span>
                <span style="color: #008000;">&#123;</span>
                    <span style="color: #0600FF; font-weight: bold;">if</span> <span style="color: #008000;">&#40;</span><span style="color: #008000;">&#40;</span><span style="color: #008000;">&#40;</span>Microsoft<span style="color: #008000;">.</span><span style="color: #0000FF;">Office</span><span style="color: #008000;">.</span><span style="color: #0000FF;">Interop</span><span style="color: #008000;">.</span><span style="color: #0000FF;">Excel</span><span style="color: #008000;">.</span><span style="color: #0000FF;">Range</span><span style="color: #008000;">&#41;</span>workSheet<span style="color: #008000;">.</span><span style="color: #0000FF;">Cells</span><span style="color: #008000;">&#91;</span>rowIndex, x<span style="color: #008000;">&#93;</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">.</span><span style="color: #0000FF;">Value2</span> <span style="color: #008000;">==</span> <span style="color: #0600FF; font-weight: bold;">null</span><span style="color: #008000;">&#41;</span>
                    <span style="color: #008000;">&#123;</span>
                        drNew<span style="color: #008000;">&#91;</span>x <span style="color: #008000;">-</span> <span style="color: #FF0000;">1</span><span style="color: #008000;">&#93;</span> <span style="color: #008000;">=</span> DBNull<span style="color: #008000;">.</span><span style="color: #0000FF;">Value</span><span style="color: #008000;">;</span>
                        <span style="color: #0600FF; font-weight: bold;">continue</span><span style="color: #008000;">;</span>
                    <span style="color: #008000;">&#125;</span>
                    drNew<span style="color: #008000;">&#91;</span>x <span style="color: #008000;">-</span> <span style="color: #FF0000;">1</span><span style="color: #008000;">&#93;</span> <span style="color: #008000;">=</span> <span style="color: #008000;">&#40;</span><span style="color: #008000;">&#40;</span>Microsoft<span style="color: #008000;">.</span><span style="color: #0000FF;">Office</span><span style="color: #008000;">.</span><span style="color: #0000FF;">Interop</span><span style="color: #008000;">.</span><span style="color: #0000FF;">Excel</span><span style="color: #008000;">.</span><span style="color: #0000FF;">Range</span><span style="color: #008000;">&#41;</span>workSheet<span style="color: #008000;">.</span><span style="color: #0000FF;">Cells</span><span style="color: #008000;">&#91;</span>rowIndex, x<span style="color: #008000;">&#93;</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">.</span><span style="color: #0000FF;">Value2</span><span style="color: #008000;">.</span><span style="color: #0000FF;">ToString</span><span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
                <span style="color: #008000;">&#125;</span>
                dsReturn<span style="color: #008000;">.</span><span style="color: #0000FF;">Tables</span><span style="color: #008000;">&#91;</span><span style="color: #FF0000;">0</span><span style="color: #008000;">&#93;</span><span style="color: #008000;">.</span><span style="color: #0000FF;">Rows</span><span style="color: #008000;">.</span><span style="color: #0000FF;">Add</span><span style="color: #008000;">&#40;</span>drNew<span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
                rowIndex<span style="color: #008000;">++;</span>
            <span style="color: #008000;">&#125;</span>
            dsReturn<span style="color: #008000;">.</span><span style="color: #0000FF;">Tables</span><span style="color: #008000;">&#91;</span><span style="color: #FF0000;">0</span><span style="color: #008000;">&#93;</span><span style="color: #008000;">.</span><span style="color: #0000FF;">AcceptChanges</span><span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
        <span style="color: #008000;">&#125;</span>
        <span style="color: #0600FF; font-weight: bold;">catch</span> <span style="color: #008000;">&#40;</span>Exception ex<span style="color: #008000;">&#41;</span>
        <span style="color: #008000;">&#123;</span>
            MessageBox<span style="color: #008000;">.</span><span style="color: #0000FF;">Show</span><span style="color: #008000;">&#40;</span><span style="color: #666666;">&quot;Fehler beim Einlesen der Excel-Datei <span style="color: #008080; font-weight: bold;">\n</span>&quot;</span> <span style="color: #008000;">+</span> ex<span style="color: #008000;">.</span><span style="color: #0000FF;">Message</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
        <span style="color: #008000;">&#125;</span>
    <span style="color: #008000;">&#125;</span>
    <span style="color: #0600FF; font-weight: bold;">return</span> dsReturn<span style="color: #008000;">;</span>
<span style="color: #008000;">&#125;</span></pre></div></div>

<p>Und eine Beispiel-Implementation zum Laden einer Excel-Datei in ein GridView der Firma DevExpress</p>

<div class="wp_syntax"><div class="code"><pre class="csharp" style="font-family:monospace;">DataSet dsAusExcel <span style="color: #008000;">=</span> LadeExcelInDataSet<span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
BindingSource bsDummie <span style="color: #008000;">=</span> <span style="color: #008000;">new</span> BindingSource<span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
bsDummie<span style="color: #008000;">.</span><span style="color: #0000FF;">DataSource</span> <span style="color: #008000;">=</span> dsAusExcel<span style="color: #008000;">;</span>
bsDummie<span style="color: #008000;">.</span><span style="color: #0000FF;">DataMember</span> <span style="color: #008000;">=</span> dsAusExcel<span style="color: #008000;">.</span><span style="color: #0000FF;">Tables</span><span style="color: #008000;">&#91;</span><span style="color: #FF0000;">0</span><span style="color: #008000;">&#93;</span><span style="color: #008000;">.</span><span style="color: #0000FF;">TableName</span><span style="color: #008000;">;</span>
grdUpdate<span style="color: #008000;">.</span><span style="color: #0000FF;">DataSource</span> <span style="color: #008000;">=</span> bsDummie<span style="color: #008000;">;</span></pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://www.entwicklerforum.org/excel-dateien-in-dataset-laden/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>log4Net</title>
		<link>http://www.entwicklerforum.org/log4net</link>
		<comments>http://www.entwicklerforum.org/log4net#comments</comments>
		<pubDate>Fri, 21 Sep 2007 14:35:11 +0000</pubDate>
		<dc:creator>Michal Sodomka</dc:creator>
				<category><![CDATA[.Net / ASP.Net / C#]]></category>
		<category><![CDATA[C, C++, Objective-C]]></category>

		<guid isPermaLink="false">http://www.entwicklerforum.org/log4net</guid>
		<description><![CDATA[Jeder Entwickler braucht manchmal eine Funktionalit&#228;t die in einer Anwendung alles protokollieren kann (z.B. Debuginfos, Warnings, Errors etc.) und genau das bietet Log4Net an. Ein Tutorial zum Thema Log4Net gibt es hier]]></description>
			<content:encoded><![CDATA[<p>Jeder Entwickler braucht manchmal eine Funktionalit&#228;t die in einer Anwendung alles protokollieren kann (z.B. Debuginfos, Warnings, Errors etc.) und genau das bietet Log4Net an.</p>
<p>Ein Tutorial zum Thema Log4Net gibt es <a href="http://www.ondotnet.com/pub/a/dotnet/2003/06/16/log4net.html"> hier</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.entwicklerforum.org/log4net/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Multithreaded Speicherverwaltung beim GCC</title>
		<link>http://www.entwicklerforum.org/multithreaded-speicherverwaltung-beim-gcc</link>
		<comments>http://www.entwicklerforum.org/multithreaded-speicherverwaltung-beim-gcc#comments</comments>
		<pubDate>Fri, 21 Sep 2007 07:09:26 +0000</pubDate>
		<dc:creator>Dennis Müller</dc:creator>
				<category><![CDATA[C, C++, Objective-C]]></category>
		<category><![CDATA[OS - Betriebssysteme]]></category>

		<guid isPermaLink="false">http://www.entwicklerforum.org/multithreaded-speicherverwaltung-beim-gcc</guid>
		<description><![CDATA[Wer unter C, Objective-C oder C++ mit dem GCC Compiler entwickelt sollte sich mal anschauen was Google unter dem Namen tcmalloc ver&#246;ffentlicht hat. Das ist eine Multithreaded Implementation des Speicherverwaltungstools malloc. Es soll erhebliche geschwindigkeitsvorteile bringen bei Applikationen die mit mehreren Threads arbeiten. Aufmerksam bin ich drauf geworden durch das DevRadio des Chaos Computer Clubs [...]]]></description>
			<content:encoded><![CDATA[<p>Wer unter C, Objective-C oder C++ mit dem GCC Compiler entwickelt sollte sich mal anschauen was Google unter dem Namen <a href="http://code.google.com/p/google-perftools/wiki/GooglePerformanceTools">tcmalloc</a> ver&#246;ffentlicht hat.</p>
<p>Das ist eine Multithreaded Implementation des Speicherverwaltungstools malloc. Es soll erhebliche geschwindigkeitsvorteile bringen bei Applikationen die mit mehreren Threads arbeiten. Aufmerksam bin ich drauf geworden durch das <a href="http://ulm.ccc.de/dev/radio/detail?id=92">DevRadio</a> des Chaos Computer Clubs Ulm.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.entwicklerforum.org/multithreaded-speicherverwaltung-beim-gcc/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WebService mit WebServiceStudio testen</title>
		<link>http://www.entwicklerforum.org/webservicestudio-ein-tool-zum-testen-einer-webservice</link>
		<comments>http://www.entwicklerforum.org/webservicestudio-ein-tool-zum-testen-einer-webservice#comments</comments>
		<pubDate>Thu, 20 Sep 2007 09:16:16 +0000</pubDate>
		<dc:creator>Michal Sodomka</dc:creator>
				<category><![CDATA[.Net / ASP.Net / C#]]></category>
		<category><![CDATA[C, C++, Objective-C]]></category>
		<category><![CDATA[Webservice]]></category>

		<guid isPermaLink="false">http://www.entwicklerforum.org/?p=69</guid>
		<description><![CDATA[Mit diesem Tool kann man sehr einfach WebServices testen. Es besteht die M&#246;glichkeit alle WebServices und deren Funktioneninteraktiv zu testen. Ein Beispiel Das WebService beinhaltet 2 Funktionen: HelloWorld() -liefert nur ein String &#8220;Hello World&#8221; zur&#252;ck BuildSum(int intA, int intB) &#8211; liefert A + B zur&#252;ck So kann man die Signaturen detailiert sehen und beide Funktionen [...]]]></description>
			<content:encoded><![CDATA[<p>Mit diesem Tool kann man sehr einfach WebServices testen. Es besteht die M&#246;glichkeit alle WebServices und deren Funktioneninteraktiv zu testen.</p>
<p><strong>Ein Beispiel</strong></p>
<p><strong>Das WebService beinhaltet 2 Funktionen:</strong></p>
<p><strong><span id="more-69"></span><br />
</strong></p>
<ul>
<li><strong>HelloWorld() -liefert nur ein String &#8220;Hello World&#8221; zur&#252;ck</strong></li>
</ul>
<ul>
<li><strong>BuildSum(int intA, int intB)  &#8211; liefert A + B zur&#252;ck</strong></li>
</ul>
<p>So kann man die Signaturen detailiert sehen und beide Funktionen interaktiv testen. Wie man sehen kann, ist es alles &#252;bersichtlich, einfach und besser als Standard von Microsoft.</p>
<p><a title="WebServiceStudio" rel="attachment wp-att-70" href="http://www2.entwicklerforum.org/webservicestudio-ein-tool-zum-testen-einer-webservice/webservicestudio"><img src="http://www.entwicklerforum.org/wp-content/uploads/2007/09/webservice1.thumbnail.jpg" alt="WebServiceStudio" /></a></p>
<p>Was jeder SW-Entwickler braucht ist nat&#252;rlich die REQUEST / RESPONSE Informationen</p>
<p><a title="WebServiceStudio" rel="attachment wp-att-71" href="http://www2.entwicklerforum.org/webservicestudio-ein-tool-zum-testen-einer-webservice/webservicestudio-2"><img src="http://www.entwicklerforum.org/wp-content/uploads/2007/09/webservice2.thumbnail.jpg" alt="WebServiceStudio" /></a></p>
<p>..und nat&#252;rlich das wichtigste &#8211; WSDL</p>
<p><a title="WebServiceStudio" rel="attachment wp-att-72" href="http://www2.entwicklerforum.org/webservicestudio-ein-tool-zum-testen-einer-webservice/webservicestudio-3"><img src="http://www.entwicklerforum.org/wp-content/uploads/2007/09/webservice3.thumbnail.jpg" alt="WebServiceStudio" /></a></p>
<p>Das Tool ist hier zu finden:</p>
<p>http://www.gotdotnet.com/Community/UserSamples/Details.aspx?SampleGuid=65A1D4EA-0F7A-41BD-8494-E916EBC4159C</p>
]]></content:encoded>
			<wfw:commentRss>http://www.entwicklerforum.org/webservicestudio-ein-tool-zum-testen-einer-webservice/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CSV Parsen und ins lokale Addressbuch schreiben</title>
		<link>http://www.entwicklerforum.org/csv-parsen-und-ins-lokale-addressbuch-schreiben</link>
		<comments>http://www.entwicklerforum.org/csv-parsen-und-ins-lokale-addressbuch-schreiben#comments</comments>
		<pubDate>Mon, 17 Sep 2007 09:56:41 +0000</pubDate>
		<dc:creator>Dennis Müller</dc:creator>
				<category><![CDATA[C, C++, Objective-C]]></category>
		<category><![CDATA[OS - Betriebssysteme]]></category>

		<guid isPermaLink="false">http://www.entwicklerforum.org/?p=63</guid>
		<description><![CDATA[Anbei ein Beispielcode wie man eine CSV Zeile parst und diese ins lokale Addressbuch des Benutzers speichert: #import &#34;AdressController.h&#34; #import &#34;AddressBook/ABAddressBook.h&#34; &#60;span id=&#34;more-63&#34;&#62;&#60;/span&#62; @implementation AdressController &#160; - &#40;IBAction&#41;addAdress:&#40;id&#41;sender &#123; NSString *strName; strName = &#91;Namefield stringValue&#93;; //VALUE DES EINGABEFELDS &#160; ABAddressBook *addressBook; ABPerson *newPerson; &#160; addressBook = &#91;ABAddressBook sharedAddressBook&#93;; //LOKALES ADRESSBUCH &#160; /* CSV PARSING BOF [...]]]></description>
			<content:encoded><![CDATA[<p>Anbei ein Beispielcode wie man eine CSV Zeile parst und diese ins lokale Addressbuch des Benutzers speichert:</p>
<p><code> </code></p>

<div class="wp_syntax"><div class="code"><pre class="c" style="font-family:monospace;"><span style="color: #339933;">#import &quot;AdressController.h&quot;</span>
<span style="color: #339933;">#import &quot;AddressBook/ABAddressBook.h&quot;</span>
<span style="color: #339933;">&lt;</span>span id<span style="color: #339933;">=</span><span style="color: #ff0000;">&quot;more-63&quot;</span><span style="color: #339933;">&gt;&lt;/</span>span<span style="color: #339933;">&gt;</span>
@implementation AdressController
&nbsp;
<span style="color: #339933;">-</span> <span style="color: #009900;">&#40;</span>IBAction<span style="color: #009900;">&#41;</span>addAdress<span style="color: #339933;">:</span><span style="color: #009900;">&#40;</span>id<span style="color: #009900;">&#41;</span>sender
<span style="color: #009900;">&#123;</span>
	NSString <span style="color: #339933;">*</span>strName<span style="color: #339933;">;</span>
	strName <span style="color: #339933;">=</span> <span style="color: #009900;">&#91;</span>Namefield stringValue<span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">//VALUE DES EINGABEFELDS</span>
&nbsp;
	ABAddressBook <span style="color: #339933;">*</span>addressBook<span style="color: #339933;">;</span>
	ABPerson <span style="color: #339933;">*</span>newPerson<span style="color: #339933;">;</span>
&nbsp;
	addressBook <span style="color: #339933;">=</span> <span style="color: #009900;">&#91;</span>ABAddressBook sharedAddressBook<span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">//LOKALES ADRESSBUCH</span>
&nbsp;
	<span style="color: #808080; font-style: italic;">/* CSV PARSING BOF */</span>
	NSString <span style="color: #339933;">*</span>csvTest <span style="color: #339933;">=</span> @<span style="color: #ff0000;">&quot;dennis;müller&quot;</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">//BEISPIEL CSV ZEILE</span>
	NSString <span style="color: #339933;">*</span>separatorString <span style="color: #339933;">=</span> @<span style="color: #ff0000;">&quot;;&quot;</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">//TRENNZEICHEN DEFINIEREN</span>
&nbsp;
	NSScanner <span style="color: #339933;">*</span>csvScanner <span style="color: #339933;">=</span> <span style="color: #009900;">&#91;</span>NSScanner scannerWithString<span style="color: #339933;">:</span>csvTest<span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">//CSV PARSER</span>
&nbsp;
	<span style="color: #993333;">int</span> anInt<span style="color: #339933;">;</span>
	<span style="color: #009900;">&#91;</span>csvScanner scanInt<span style="color: #339933;">:&amp;</span>amp<span style="color: #339933;">;</span>anInt<span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">//ZÄHLER ÜBERGEBEN FÜR DIE SCANLOCATION</span>
&nbsp;
	NSString <span style="color: #339933;">*</span>name<span style="color: #339933;">;</span>
	<span style="color: #009900;">&#91;</span>csvScanner scanUpToString<span style="color: #339933;">:</span>separatorString intoString<span style="color: #339933;">:&amp;</span>amp<span style="color: #339933;">;</span>name<span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">//NAME EINLESEN</span>
&nbsp;
	NSString <span style="color: #339933;">*</span>vorname<span style="color: #339933;">;</span>
	vorname <span style="color: #339933;">=</span> <span style="color: #009900;">&#91;</span><span style="color: #009900;">&#91;</span>csvScanner string<span style="color: #009900;">&#93;</span> substringFromIndex<span style="color: #339933;">:</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#91;</span>csvScanner scanLocation<span style="color: #009900;">&#93;</span><span style="color: #339933;">+</span><span style="color: #0000dd;">1</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">//VORNAME EINLESEN</span>
	<span style="color: #808080; font-style: italic;">/* CSV PARSING EOF */</span>
&nbsp;
	<span style="color: #808080; font-style: italic;">/* CSV ZEILE EINFÜGEN BOF */</span>
	newPerson <span style="color: #339933;">=</span> <span style="color: #009900;">&#91;</span><span style="color: #009900;">&#91;</span>ABPerson alloc<span style="color: #009900;">&#93;</span> init<span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">//SPEICHER RESERVIEREN FÜR DIE ABPerson</span>
&nbsp;
	<span style="color: #009900;">&#91;</span>newPerson setValue<span style="color: #339933;">:</span>name forProperty<span style="color: #339933;">:</span>kABFirstNameProperty<span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
	<span style="color: #009900;">&#91;</span>newPerson setValue<span style="color: #339933;">:</span>vorname forProperty<span style="color: #339933;">:</span>kABLastNameProperty<span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
	<span style="color: #009900;">&#91;</span>addressBook addRecord<span style="color: #339933;">:</span>newPerson<span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
	<span style="color: #009900;">&#91;</span>addressBook save<span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
&nbsp;
	<span style="color: #009900;">&#91;</span>newPerson release<span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">// SPEICHER FÜR ABPerson freigeben</span>
	<span style="color: #808080; font-style: italic;">/* CSV ZEILE EINFÜGEN EOF */</span>
<span style="color: #009900;">&#125;</span>
&nbsp;
@end</pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://www.entwicklerforum.org/csv-parsen-und-ins-lokale-addressbuch-schreiben/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Submit mit der Entertaste einer Komponente exakt zuordnen</title>
		<link>http://www.entwicklerforum.org/submit-mit-der-entertaste-einer-komponente-exakt-zuordnen</link>
		<comments>http://www.entwicklerforum.org/submit-mit-der-entertaste-einer-komponente-exakt-zuordnen#comments</comments>
		<pubDate>Fri, 25 May 2007 10:16:11 +0000</pubDate>
		<dc:creator>Dennis Müller</dc:creator>
				<category><![CDATA[.Net / ASP.Net / C#]]></category>
		<category><![CDATA[C, C++, Objective-C]]></category>

		<guid isPermaLink="false">http://www.entwicklerforum.org/wordpress/?p=23</guid>
		<description><![CDATA[Ich stand vor dem Problem das ich in einer Apllikation in einem bereich mehrere Imagebuttons und Textboxes hatte. Jetzt konnte ich leider nicht genau zuordnen bei welchem Textfeld mit dr&#252;cken der Entertaste welcher Button ausgel&#246;st wird. Die erste m&#246;glichkeit die ich gefunden habe um dieses problem zu l&#246;sen war folgende: Man umgibt das Textfeld und [...]]]></description>
			<content:encoded><![CDATA[<p>Ich stand vor dem Problem das ich in einer Apllikation in einem bereich mehrere Imagebuttons und Textboxes hatte. Jetzt konnte ich leider nicht genau zuordnen bei welchem Textfeld mit dr&#252;cken der Entertaste welcher Button ausgel&#246;st wird.<br />
Die erste m&#246;glichkeit die ich gefunden habe um dieses problem zu l&#246;sen war folgende:</p>
<p><span id="more-23"></span>Man umgibt das Textfeld und den Button mit einem Panel und weist dem Panel die DefaultButton eigenschaft zu.</p>
<p>Jetzt ist aber das Problem aufgetreten das wenn man viele Controls der art auf einer seite hat es nicht mehr funktioniert. Dort habe ich dann folgende L&#246;sung gefunden. Diesen Code bindet man beim onLoad der Page ein:</p>

<div class="wp_syntax"><div class="code"><pre class="csharp" style="font-family:monospace;">textbox<span style="color: #008000;">.</span><span style="color: #0000FF;">Attributes</span><span style="color: #008000;">.</span><span style="color: #0000FF;">Add</span><span style="color: #008000;">&#40;</span><span style="color: #666666;">&quot;onKeyPress&quot;</span>, <span style="color: #666666;">&quot;javascript:if (event.keyCode == 13) __doPostBack('&quot;</span> <span style="color: #008000;">+</span> button<span style="color: #008000;">.</span><span style="color: #0000FF;">UniqueID</span> <span style="color: #008000;">+</span> <span style="color: #666666;">&quot;','')&quot;</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span></pre></div></div>

<p>So hat dann alles Super funktioniert <img src='http://www.entwicklerforum.org/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /><br />
Sollte auch mit anderen Controls funktionieren.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.entwicklerforum.org/submit-mit-der-entertaste-einer-komponente-exakt-zuordnen/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Umwandeln von RTF in PlainText</title>
		<link>http://www.entwicklerforum.org/umwandeln-von-rtf-in-plaintext</link>
		<comments>http://www.entwicklerforum.org/umwandeln-von-rtf-in-plaintext#comments</comments>
		<pubDate>Tue, 22 May 2007 10:19:45 +0000</pubDate>
		<dc:creator>Michael Jacoby</dc:creator>
				<category><![CDATA[.Net / ASP.Net / C#]]></category>
		<category><![CDATA[C, C++, Objective-C]]></category>

		<guid isPermaLink="false">http://www.entwicklerforum.org/wordpress/?p=16</guid>
		<description><![CDATA[Man nehme eine RichTextBox-Komponente, schreibe den RTF-Text in die Rtf Eigenschaft der Komponente und lese den PlainText aus der Text Eigenschaft aus. private string ConvertRTFToTXT&#40;string strRTF&#41; &#123; RichTextBox edtDummie = new RichTextBox&#40;&#41;; edtDummie.Rtf = strRTF return edtDummie.Text; &#125;]]></description>
			<content:encoded><![CDATA[<p>Man nehme eine RichTextBox-Komponente, schreibe den RTF-Text in die Rtf Eigenschaft der Komponente und lese den PlainText aus der Text Eigenschaft aus.</p>

<div class="wp_syntax"><div class="code"><pre class="csharp" style="font-family:monospace;"><span style="color: #0600FF; font-weight: bold;">private</span> <span style="color: #6666cc; font-weight: bold;">string</span> ConvertRTFToTXT<span style="color: #008000;">&#40;</span><span style="color: #6666cc; font-weight: bold;">string</span> strRTF<span style="color: #008000;">&#41;</span>
<span style="color: #008000;">&#123;</span>
    RichTextBox edtDummie <span style="color: #008000;">=</span> <span style="color: #008000;">new</span> RichTextBox<span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
    edtDummie<span style="color: #008000;">.</span><span style="color: #0000FF;">Rtf</span> <span style="color: #008000;">=</span> strRTF
    <span style="color: #0600FF; font-weight: bold;">return</span> edtDummie<span style="color: #008000;">.</span><span style="color: #0000FF;">Text</span><span style="color: #008000;">;</span>
<span style="color: #008000;">&#125;</span></pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://www.entwicklerforum.org/umwandeln-von-rtf-in-plaintext/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

