<?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[Bild in Excel laden]]></title><description><![CDATA[<p>Hallo zusammen,<br />
ich habe ein Problem und hoffe das Ihr mir weiter helfen könnt.?</p>
<p>Wie der Titel schon sagt versuche ich ein Bild aus meiner Anwendung heraus ins Excel zu laden. Folgenderweise habe ich das bis jetzt probiert:</p>
<pre><code class="language-cpp">WideString wsFilename = &quot;C:\\test.bmp&quot;;    ExcelWorksheet-&gt;Shapes-&gt;AddPicture(wsFilename.Detach(),msoTrue,msoTrue,10,10,100,100);
</code></pre>
<p>Kann mir jemand hier weiter helfen?</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/187211/bild-in-excel-laden</link><generator>RSS for Node</generator><lastBuildDate>Sat, 04 Apr 2026 11:24:13 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/187211.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 17 Jul 2007 08:05:10 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Bild in Excel laden on Tue, 17 Jul 2007 08:05:10 GMT]]></title><description><![CDATA[<p>Hallo zusammen,<br />
ich habe ein Problem und hoffe das Ihr mir weiter helfen könnt.?</p>
<p>Wie der Titel schon sagt versuche ich ein Bild aus meiner Anwendung heraus ins Excel zu laden. Folgenderweise habe ich das bis jetzt probiert:</p>
<pre><code class="language-cpp">WideString wsFilename = &quot;C:\\test.bmp&quot;;    ExcelWorksheet-&gt;Shapes-&gt;AddPicture(wsFilename.Detach(),msoTrue,msoTrue,10,10,100,100);
</code></pre>
<p>Kann mir jemand hier weiter helfen?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1326991</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1326991</guid><dc:creator><![CDATA[coder24h]]></dc:creator><pubDate>Tue, 17 Jul 2007 08:05:10 GMT</pubDate></item><item><title><![CDATA[Reply to Bild in Excel laden on Fri, 20 Jul 2007 09:53:09 GMT]]></title><description><![CDATA[<p>So gehts:</p>
<pre><code class="language-cpp">bool __fastcall TTest::SetPicture(TObject *Sender,
                                                 const AnsiString&amp; Path,
                                                 const int&amp; Left,
                                                 const int&amp; Top,
                                                 const int&amp; Height,
                                                 const int&amp; Width)
{
	bool bRet = true;

    try
    {
        WideString wsFilename = Path;
        Excel_2k::ShapePtr Shape =  ExcelWorksheet-&gt;Shapes-&gt;AddPicture(wsFilename.Detach(),msoTrue,msoTrue,Left,Top,Width, Height);
        Shape-&gt;set_Visible(msoTrue);
    }
    catch(...)
    {
        bRet = false;
    }

  return bRet;
}
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/1329100</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1329100</guid><dc:creator><![CDATA[coder24h]]></dc:creator><pubDate>Fri, 20 Jul 2007 09:53:09 GMT</pubDate></item></channel></rss>