<?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[OLE Outlook - Neue Email: Problem mit Anhang]]></title><description><![CDATA[<p>Hallo!<br />
Ich steuere Outlook über OLE und erstelle ein neues MailItem. Klappt alles wunderbar. Jedoch funktioniert das Hinzufügen eines Anhanges nicht.<br />
Auszug aus dem Code</p>
<pre><code>...
MailItem = FOutlook.OleFunction (&quot;CreateItem&quot;, olMailItem);
MailItem.OlePropertyGet(&quot;Recipients&quot;).OleProcedure(&quot;Add&quot;,&quot;YourMailAddress@something.com&quot;);
MailItem.OlePropertySet(&quot;Subject&quot;, &quot;Your Subject&quot;);
MailItem.OlePropertySet(&quot;Body&quot;, &quot;Your Message&quot;);
Attachments = MailItem.OlePropertyGet(&quot;Attachments&quot;);
Attachments.OleFunction(&quot;Add&quot;, &quot;C:\Telefon.csv&quot;, olByValue, 1 , &quot;Name of Attachment&quot;); // &lt;-- diese Zeile macht Probleme
MailItem.OleProcedure(&quot;Display&quot;);
...
</code></pre>
<p>Ohne die problematische Zeile funktioniert alles. Die Datei &quot;C:\Telefon.csv&quot; existiert. Wo ist der Fehler?<br />
Danke im voraus für eine Antwort.</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/93596/ole-outlook-neue-email-problem-mit-anhang</link><generator>RSS for Node</generator><lastBuildDate>Wed, 08 Jul 2026 23:53:00 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/93596.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 30 Nov 2004 20:11:04 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to OLE Outlook - Neue Email: Problem mit Anhang on Tue, 30 Nov 2004 20:11:04 GMT]]></title><description><![CDATA[<p>Hallo!<br />
Ich steuere Outlook über OLE und erstelle ein neues MailItem. Klappt alles wunderbar. Jedoch funktioniert das Hinzufügen eines Anhanges nicht.<br />
Auszug aus dem Code</p>
<pre><code>...
MailItem = FOutlook.OleFunction (&quot;CreateItem&quot;, olMailItem);
MailItem.OlePropertyGet(&quot;Recipients&quot;).OleProcedure(&quot;Add&quot;,&quot;YourMailAddress@something.com&quot;);
MailItem.OlePropertySet(&quot;Subject&quot;, &quot;Your Subject&quot;);
MailItem.OlePropertySet(&quot;Body&quot;, &quot;Your Message&quot;);
Attachments = MailItem.OlePropertyGet(&quot;Attachments&quot;);
Attachments.OleFunction(&quot;Add&quot;, &quot;C:\Telefon.csv&quot;, olByValue, 1 , &quot;Name of Attachment&quot;); // &lt;-- diese Zeile macht Probleme
MailItem.OleProcedure(&quot;Display&quot;);
...
</code></pre>
<p>Ohne die problematische Zeile funktioniert alles. Die Datei &quot;C:\Telefon.csv&quot; existiert. Wo ist der Fehler?<br />
Danke im voraus für eine Antwort.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/663178</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/663178</guid><dc:creator><![CDATA[Gast712]]></dc:creator><pubDate>Tue, 30 Nov 2004 20:11:04 GMT</pubDate></item><item><title><![CDATA[Reply to OLE Outlook - Neue Email: Problem mit Anhang on Tue, 30 Nov 2004 22:06:48 GMT]]></title><description><![CDATA[<p>[cpp]Attachments.OleFunction(..., &quot;C:**\**Telefon.csv&quot;, ...);[/cpp]</p>
<p>Und ansonsten gilt wie immer: &quot;funktioniert nicht&quot; ist keine ausreichende Problembeschreibung.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/663242</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/663242</guid><dc:creator><![CDATA[Jansen]]></dc:creator><pubDate>Tue, 30 Nov 2004 22:06:48 GMT</pubDate></item><item><title><![CDATA[Reply to OLE Outlook - Neue Email: Problem mit Anhang on Wed, 01 Dec 2004 14:27:30 GMT]]></title><description><![CDATA[<p>Hier standen nur Frechheiten, sowie Beleidigungen die ich mir erlaubt habe zu entfernen !!!!</p>
<p>MfG<br />
KlausB</p>
]]></description><link>https://www.c-plusplus.net/forum/post/663626</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/663626</guid><dc:creator><![CDATA[Guest712]]></dc:creator><pubDate>Wed, 01 Dec 2004 14:27:30 GMT</pubDate></item></channel></rss>