<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Word Tabelle LineStyle ändern - Hilfe beim Debuggen]]></title><description><![CDATA[<p>Hi Leute,<br />
ich bin es mal wieder, ach dem ihr mir geholfen habt eine Tabelle in Word über Ole zu erstellen, muß ich euch schon wieder mit diesem Thema belasten, da ich nicht weiter komme.<br />
ich will, das die Tabellenlienie unsichtbar ist.<br />
Dazu habe ich folgendes gefunden.</p>
<pre><code>WordApplication1.Selection.Tables.Item(1).Borders.Item(wdBorderLeft).LineStyle := wdLineStyleNone
</code></pre>
<p>diesen Code habe ich versucht wie folgt umzuwandeln.</p>
<pre><code class="language-cpp">Variant wordTable1 = wordTables.OleFunction(&quot;Item&quot;,(Variant) 1);
Variant border = wordTable1.OlePropertyGet(&quot;Borders&quot;);
Variant linestyle = border.OleFunction(&quot;Item&quot;,(Variant) wdBorderLeft);
linestyle.OleFunction(&quot;LineStyle&quot;,&quot;wdLineStyleNone&quot;); //hier meckert der rum
</code></pre>
<p>kann mir jemand sagen, was an diesem Code falsch ist?<br />
Ich danke euch für eure Hilfe schon mal im vorraus.</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/60327/word-tabelle-linestyle-ändern-hilfe-beim-debuggen</link><generator>RSS for Node</generator><lastBuildDate>Fri, 10 Jul 2026 23:47:38 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/60327.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 04 Jan 2004 15:07:24 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Word Tabelle LineStyle ändern - Hilfe beim Debuggen on Sun, 04 Jan 2004 15:07:24 GMT]]></title><description><![CDATA[<p>Hi Leute,<br />
ich bin es mal wieder, ach dem ihr mir geholfen habt eine Tabelle in Word über Ole zu erstellen, muß ich euch schon wieder mit diesem Thema belasten, da ich nicht weiter komme.<br />
ich will, das die Tabellenlienie unsichtbar ist.<br />
Dazu habe ich folgendes gefunden.</p>
<pre><code>WordApplication1.Selection.Tables.Item(1).Borders.Item(wdBorderLeft).LineStyle := wdLineStyleNone
</code></pre>
<p>diesen Code habe ich versucht wie folgt umzuwandeln.</p>
<pre><code class="language-cpp">Variant wordTable1 = wordTables.OleFunction(&quot;Item&quot;,(Variant) 1);
Variant border = wordTable1.OlePropertyGet(&quot;Borders&quot;);
Variant linestyle = border.OleFunction(&quot;Item&quot;,(Variant) wdBorderLeft);
linestyle.OleFunction(&quot;LineStyle&quot;,&quot;wdLineStyleNone&quot;); //hier meckert der rum
</code></pre>
<p>kann mir jemand sagen, was an diesem Code falsch ist?<br />
Ich danke euch für eure Hilfe schon mal im vorraus.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/428475</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/428475</guid><dc:creator><![CDATA[-xXx-]]></dc:creator><pubDate>Sun, 04 Jan 2004 15:07:24 GMT</pubDate></item><item><title><![CDATA[Reply to Word Tabelle LineStyle ändern - Hilfe beim Debuggen on Sun, 04 Jan 2004 15:30:45 GMT]]></title><description><![CDATA[<p>&quot;Hier meckert der rum&quot; ist keine ausreichende Fehlermeldung oder Problembeschreibung.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/428497</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/428497</guid><dc:creator><![CDATA[Jansen]]></dc:creator><pubDate>Sun, 04 Jan 2004 15:30:45 GMT</pubDate></item><item><title><![CDATA[Reply to Word Tabelle LineStyle ändern - Hilfe beim Debuggen on Sun, 04 Jan 2004 16:15:56 GMT]]></title><description><![CDATA[<p>Die Fehlermeldung ist : &quot;Ausnahmefehler aufgetreten.&quot;</p>
]]></description><link>https://www.c-plusplus.net/forum/post/428530</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/428530</guid><dc:creator><![CDATA[-xXx-]]></dc:creator><pubDate>Sun, 04 Jan 2004 16:15:56 GMT</pubDate></item><item><title><![CDATA[Reply to Word Tabelle LineStyle ändern - Hilfe beim Debuggen on Mon, 05 Jan 2004 19:49:55 GMT]]></title><description><![CDATA[<p>kann mir keiner Helfen?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/429487</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/429487</guid><dc:creator><![CDATA[-xXx-]]></dc:creator><pubDate>Mon, 05 Jan 2004 19:49:55 GMT</pubDate></item><item><title><![CDATA[Reply to Word Tabelle LineStyle ändern - Hilfe beim Debuggen on Mon, 05 Jan 2004 20:21:02 GMT]]></title><description><![CDATA[<p>wdLineStyleNone gibt es soweit ich weiss nicht.</p>
<p>Du musst die entsprechende Konstante suchen.</p>
<p>versuch:</p>
<p>-4142</p>
]]></description><link>https://www.c-plusplus.net/forum/post/429508</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/429508</guid><dc:creator><![CDATA[AndreasW]]></dc:creator><pubDate>Mon, 05 Jan 2004 20:21:02 GMT</pubDate></item><item><title><![CDATA[Reply to Word Tabelle LineStyle ändern - Hilfe beim Debuggen on Tue, 06 Jan 2004 16:56:40 GMT]]></title><description><![CDATA[<p>Hi,<br />
das Funkt auch nicht, ich habe auch die include Dateien durchforstet aber nichts gefunden, was mich zum Ziel gebracht hat. In der Word_2k.h stehen zwar die Begriffe wdBorderLeft, wdLineStyleNone und sind auch als Type Definiert, aber, wenn ich die *.h-Datei einbinden und darauf zugreifen will bringt das nichts.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/430083</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/430083</guid><dc:creator><![CDATA[-xXx-]]></dc:creator><pubDate>Tue, 06 Jan 2004 16:56:40 GMT</pubDate></item><item><title><![CDATA[Reply to Word Tabelle LineStyle ändern - Hilfe beim Debuggen on Tue, 06 Jan 2004 19:58:20 GMT]]></title><description><![CDATA[<p>&quot;... bringt das nichts&quot; ist keine ausreichende Fehlermeldung oder Problembeschreibung.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/430221</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/430221</guid><dc:creator><![CDATA[Jansen]]></dc:creator><pubDate>Tue, 06 Jan 2004 19:58:20 GMT</pubDate></item><item><title><![CDATA[Reply to Word Tabelle LineStyle ändern - Hilfe beim Debuggen on Wed, 07 Jan 2004 21:01:41 GMT]]></title><description><![CDATA[<p>Hi Leute, den Tipp von Andreas, habe ich mir noch mal zu Herzen genommen und habe meine Fehler gefunden, der Richtige Code lautet:</p>
<pre><code class="language-cpp">//--*.cpp---------------------------------------------------------------------

#include &lt;vcl.h&gt;
#include &lt;utilcls.h&gt;
#pragma hdrstop

#include &quot;Unit1.h&quot;
//---------------------------------------------------------------------------
#pragma package(smart_init)
#pragma resource &quot;*.dfm&quot;
TForm1 *Form1;

//---Variant Variabeln-------------------------------------------------------
Variant word,documents,doc,Tables,Selection,Range;
//---------------------------------------------------------------------------
__fastcall TForm1::TForm1(TComponent* Owner)
        : TForm(Owner)
{
}
//---------------------------------------------------------------------------

void __fastcall TForm1::ConnectClick(TObject *Sender)
{
//---MS Word connecten-----------------------
word = CreateOleObject(&quot;Word.Application&quot;);
word.OlePropertySet(&quot;Visible&quot;,1);
documents = word.OlePropertyGet(&quot;Documents&quot;);
documents.OleProcedure(&quot;Add&quot;);
doc = word.OlePropertyGet(&quot;ActiveDocument&quot;);
}
//---------------------------------------------------------------------------
void __fastcall TForm1::TabelleClick(TObject *Sender)
{
//---Tabelle zeichnen--------------------------------------
Tables = doc.OlePropertyGet(&quot;Tables&quot;);
Selection = word.OlePropertyGet(&quot;Selection&quot;);
Range = Selection.OlePropertyGet(&quot;Range&quot;);
Tables.OleProcedure(&quot;Add&quot;, Range, (Variant) 3,(Variant) 5);
}
//---------------------------------------------------------------------------
void __fastcall TForm1::TabellenlinienClick(TObject *Sender)
{
//---Rahmenlinie bearbeiten-----------------------------------------
Variant wordTable1 = Tables.OleFunction(&quot;Item&quot;,(Variant) 1);
Variant border = wordTable1.OlePropertyGet(&quot;Borders&quot;);
Variant Test = border.OleFunction(&quot;Item&quot;,(Variant) 0xFFFFFFFE); // wdBorderLeft = 0xFFFFFFFE
Test.OlePropertySet(&quot;LineStyle&quot;,(Variant) 0); // wdLineStyleNone = 0
}
//---------------------------------------------------------------------------
</code></pre>
<pre><code class="language-cpp">//---------*.h---------------------------------------------------------------

#ifndef Unit1H
#define Unit1H
//---------------------------------------------------------------------------
#include &lt;Classes.hpp&gt;
#include &lt;Controls.hpp&gt;
#include &lt;StdCtrls.hpp&gt;
#include &lt;Forms.hpp&gt;
#include &lt;OleServer.hpp&gt;
//---------------------------------------------------------------------------
class TForm1 : public TForm
{
__published:	// IDE-managed Components
        TButton *Connect;
        TButton *Tabellenlinien;
        TButton *Tabelle;
        void __fastcall ConnectClick(TObject *Sender);
        void __fastcall TabelleClick(TObject *Sender);
        void __fastcall TabellenlinienClick(TObject *Sender);
private:	// User declarations
public:		// User declarations
        __fastcall TForm1(TComponent* Owner);
};
//---------------------------------------------------------------------------
extern PACKAGE TForm1 *Form1;
//---------------------------------------------------------------------------
#endif
</code></pre>
<p><strong>Also Danke noch mal für eure Hilfe.</strong></p>
]]></description><link>https://www.c-plusplus.net/forum/post/431195</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/431195</guid><dc:creator><![CDATA[-xXx-]]></dc:creator><pubDate>Wed, 07 Jan 2004 21:01:41 GMT</pubDate></item><item><title><![CDATA[Reply to Word Tabelle LineStyle ändern - Hilfe beim Debuggen on Tue, 21 Dec 2004 18:21:41 GMT]]></title><description><![CDATA[<p>Hallo xXx,</p>
<p>hast du auch ein Möglichkeit gefunden die Tabelle mit Daten zu füllen.</p>
<p>Bzw. aus einer Datenbank auszulesen und die einzelnen Zellen zu füllen?<br />
Wäre super wenn du schreiben würdest, bin nämlich mit meinem Latein am Ende.</p>
<p>Danke!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/678187</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/678187</guid><dc:creator><![CDATA[benny_1]]></dc:creator><pubDate>Tue, 21 Dec 2004 18:21:41 GMT</pubDate></item></channel></rss>