<?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[Programme öffnen]]></title><description><![CDATA[<p>hallo,</p>
<p>Habe folgendes Problem.</p>
<p>Ich habe mir ein Programm gebastelt womit ich keine Verknüpfung mehr brauche sondern von einem Programm alles ausführe.<br />
Zur Zeit geht aber nur Paint, Notepad, Rechner und halt sachen die von anfang an im system32 ordner waren.<br />
Ich benutze diesen Code hier:</p>
<p>if (strPgmName == &quot;PAINT&quot;)<br />
WinExec(&quot;mspaint.exe&quot;,SW_SHOW);</p>
<p>Wenn ich also jetzt z.B von meiner <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f628.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--fearful_face"
      title="D:"
      alt="😨"
    /> Platte etwas ausführen will geht es nicht wieso?????</p>
<p>Kann mir da einer helfen</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/54593/programme-öffnen</link><generator>RSS for Node</generator><lastBuildDate>Mon, 01 Jun 2026 19:29:29 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/54593.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 08 Nov 2003 19:24:47 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Programme öffnen on Sat, 08 Nov 2003 19:24:47 GMT]]></title><description><![CDATA[<p>hallo,</p>
<p>Habe folgendes Problem.</p>
<p>Ich habe mir ein Programm gebastelt womit ich keine Verknüpfung mehr brauche sondern von einem Programm alles ausführe.<br />
Zur Zeit geht aber nur Paint, Notepad, Rechner und halt sachen die von anfang an im system32 ordner waren.<br />
Ich benutze diesen Code hier:</p>
<p>if (strPgmName == &quot;PAINT&quot;)<br />
WinExec(&quot;mspaint.exe&quot;,SW_SHOW);</p>
<p>Wenn ich also jetzt z.B von meiner <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f628.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--fearful_face"
      title="D:"
      alt="😨"
    /> Platte etwas ausführen will geht es nicht wieso?????</p>
<p>Kann mir da einer helfen</p>
]]></description><link>https://www.c-plusplus.net/forum/post/389808</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/389808</guid><dc:creator><![CDATA[swee18t]]></dc:creator><pubDate>Sat, 08 Nov 2003 19:24:47 GMT</pubDate></item><item><title><![CDATA[Reply to Programme öffnen on Sat, 08 Nov 2003 19:46:51 GMT]]></title><description><![CDATA[<p>vielleicht solltest du ihm den pfad angeben ?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/389818</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/389818</guid><dc:creator><![CDATA[blablablabla]]></dc:creator><pubDate>Sat, 08 Nov 2003 19:46:51 GMT</pubDate></item><item><title><![CDATA[Reply to Programme öffnen on Sat, 08 Nov 2003 19:50:36 GMT]]></title><description><![CDATA[<p>ja das habe ich auch schon ausprobiert aber es funktioniert trotzdem nicht.</p>
<p>Ich habe mir also eine Dropdownliste gemacht mit der Auswahl und daneben ein Button und über diesen button soll er mir das richtige programm dann öffnen welches ich ausgewählt habe.</p>
<p>Wenn ich eine Pfad eingebe sagt der mir zwar keinen fehler aber er öffnet es dann nicht über diesen button.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/389821</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/389821</guid><dc:creator><![CDATA[swee18t]]></dc:creator><pubDate>Sat, 08 Nov 2003 19:50:36 GMT</pubDate></item><item><title><![CDATA[Reply to Programme öffnen on Sat, 08 Nov 2003 19:57:46 GMT]]></title><description><![CDATA[<p>Ist das Beispiel vielleicht aus &quot;Visual C++ in 21 Tagen&quot;, Tag 2? <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f609.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--winking_face"
      title=";)"
      alt="😉"
    /><br />
Hast Du überprüft ob du wirklich UpdateData() und strPgmName.MakeUpper() aufrufst?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/389824</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/389824</guid><dc:creator><![CDATA[Der Michel]]></dc:creator><pubDate>Sat, 08 Nov 2003 19:57:46 GMT</pubDate></item><item><title><![CDATA[Reply to Programme öffnen on Sat, 08 Nov 2003 20:12:15 GMT]]></title><description><![CDATA[<p>void CTag02Dlg::OnRunpgm()<br />
{<br />
// TODO: Code für die Behandlungsroutine der Steuerelement-Benachrichtigung hier einfügen<br />
UpdateData(TRUE);</p>
<p>CString strPgmName;<br />
strPgmName = m_strProgToRun;<br />
strPgmName.MakeUpper();</p>
<p>if (strPgmName == &quot;PAINT&quot;)<br />
WinExec(&quot;mspaint.exe&quot;,SW_SHOW);<br />
if (strPgmName == &quot;EDITOR&quot;)<br />
WinExec(&quot;Notepad.exe&quot;,SW_SHOW);<br />
if (strPgmName == &quot;SOLITÄR&quot;)<br />
WinExec(&quot;sol.exe&quot;,SW_SHOW);<br />
if (strPgmName == &quot;RECHNER&quot;)<br />
WinExec(&quot;calc.exe&quot;,SW_SHOW);<br />
if (strPgmName == &quot;WORDPAD&quot;)<br />
WinExec(&quot;wordpad.exe&quot;,SW_SHOW);<br />
}</p>
<p>aslo das is der genaue code den ich jetzt drin habe und ich würd halt gerne andere programme als vorgeschrieben einfügen geht aber nicht.</p>
<p>Ähm ja ist aus dem buch Visual C++ in 21 tagen</p>
]]></description><link>https://www.c-plusplus.net/forum/post/389834</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/389834</guid><dc:creator><![CDATA[swee18t]]></dc:creator><pubDate>Sat, 08 Nov 2003 20:12:15 GMT</pubDate></item><item><title><![CDATA[Reply to Programme öffnen on Sat, 08 Nov 2003 20:25:44 GMT]]></title><description><![CDATA[<p>Dazu musst du den kompletten Pfad angeben, ansonsten weiss Windows ja nicht was genau du starten willst.</p>
<p>z.B.:</p>
<pre><code class="language-cpp">if (strPgmName == &quot;WINAMP&quot;) 
   WinExec(&quot;C:\\Programme\\Winamp\\winamp.exe&quot;,SW_SHOW);
</code></pre>
<p>Gruß,<br />
Michel</p>
]]></description><link>https://www.c-plusplus.net/forum/post/389838</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/389838</guid><dc:creator><![CDATA[Der Michel]]></dc:creator><pubDate>Sat, 08 Nov 2003 20:25:44 GMT</pubDate></item><item><title><![CDATA[Reply to Programme öffnen on Sat, 08 Nov 2003 20:27:40 GMT]]></title><description><![CDATA[<p>warum muss ich denn nen doppel slash machen????</p>
]]></description><link>https://www.c-plusplus.net/forum/post/389840</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/389840</guid><dc:creator><![CDATA[swee18t]]></dc:creator><pubDate>Sat, 08 Nov 2003 20:27:40 GMT</pubDate></item><item><title><![CDATA[Reply to Programme öffnen on Sat, 08 Nov 2003 20:30:22 GMT]]></title><description><![CDATA[<p>aber cool danke funktioniert.</p>
<p>Aber trotzdem wieso nen doppleslash?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/389842</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/389842</guid><dc:creator><![CDATA[swee18t]]></dc:creator><pubDate>Sat, 08 Nov 2003 20:30:22 GMT</pubDate></item><item><title><![CDATA[Reply to Programme öffnen on Sat, 08 Nov 2003 20:36:23 GMT]]></title><description><![CDATA[<p>Weil der erste Slash in einem String unter C++ eine spezielle Funktion kennzeichnet.</p>
<p>zB: \n entspricht einem Zeilenumbruch</p>
<p>Daher ist der erste \ eigentlich wertlos, damit wirklich ein Backslash dabei raus kommt, braucht man den ersten zur Kennzeichnung und den zweiten als eigentliches Zeichen, vereinfacht erklärt.</p>
<p>PS: So sieht man sich wieder bzw. spricht. <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f609.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--winking_face"
      title=";)"
      alt="😉"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/389848</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/389848</guid><dc:creator><![CDATA[CrazyOwl]]></dc:creator><pubDate>Sat, 08 Nov 2003 20:36:23 GMT</pubDate></item><item><title><![CDATA[Reply to Programme öffnen on Sat, 08 Nov 2003 22:45:07 GMT]]></title><description><![CDATA[<p>hä??? wie so sieht man sich wieder kenn ich dich????<br />
aber hab es kapiert wieso nen doppelslash<br />
danke</p>
]]></description><link>https://www.c-plusplus.net/forum/post/389911</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/389911</guid><dc:creator><![CDATA[swee18t]]></dc:creator><pubDate>Sat, 08 Nov 2003 22:45:07 GMT</pubDate></item><item><title><![CDATA[Reply to Programme öffnen on Sat, 08 Nov 2003 22:58:00 GMT]]></title><description><![CDATA[<p>swee18t schrieb:</p>
<blockquote>
<p>hä??? wie so sieht man sich wieder kenn ich dich????</p>
</blockquote>
<p>Das hab ich mir jetzt gedacht. <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f603.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--grinning_face_with_big_eyes"
      title=":D"
      alt="😃"
    /><br />
Hab jetzt leider die ICQ-History nicht mehr.<br />
Aber wenn du dich erinnerst, ich bin derjenige der sich gestern bei dir gemeldet hat wegen dem von dir (irrtümlicherweise) erhaltenen ICQ-Request. <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f609.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--winking_face"
      title=";)"
      alt="😉"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/389918</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/389918</guid><dc:creator><![CDATA[CrazyOwl]]></dc:creator><pubDate>Sat, 08 Nov 2003 22:58:00 GMT</pubDate></item><item><title><![CDATA[Reply to Programme öffnen on Sun, 09 Nov 2003 09:23:04 GMT]]></title><description><![CDATA[<p>CrazyOwl schrieb:</p>
<blockquote>
<p>zB: \n entspricht einem Zeilenumbruch</p>
</blockquote>
<p>Escape-Sequenzen oder?? <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f921.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--clown_face"
      title=":clown:"
      alt="🤡"
    /> (Also auch *<em>\*</em> etc.)</p>
<p>mfg, the flyingCoder.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/389980</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/389980</guid><dc:creator><![CDATA[flyingCoder]]></dc:creator><pubDate>Sun, 09 Nov 2003 09:23:04 GMT</pubDate></item><item><title><![CDATA[Reply to Programme öffnen on Sun, 09 Nov 2003 13:56:41 GMT]]></title><description><![CDATA[<p>hehe ja kann mich erinnern weiss wer du bist.... mein freund hat dich in der ICQ Liste ich glaube martin oder so!!!<br />
Falls ich mich jetzt nicht irre.</p>
<p>Wusste gar nicht das du dich mit C++ auskennst, hätt ich dich ja direkt fragen können.LOL</p>
]]></description><link>https://www.c-plusplus.net/forum/post/390144</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/390144</guid><dc:creator><![CDATA[swee18t]]></dc:creator><pubDate>Sun, 09 Nov 2003 13:56:41 GMT</pubDate></item><item><title><![CDATA[Reply to Programme öffnen on Sun, 09 Nov 2003 13:57:27 GMT]]></title><description><![CDATA[<p>achja und danke an alle die mir geholfen haben funktioniert wunderbar alles....</p>
<p>by swee18t</p>
]]></description><link>https://www.c-plusplus.net/forum/post/390145</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/390145</guid><dc:creator><![CDATA[swee18t]]></dc:creator><pubDate>Sun, 09 Nov 2003 13:57:27 GMT</pubDate></item><item><title><![CDATA[Reply to Programme öffnen on Sun, 09 Nov 2003 17:35:20 GMT]]></title><description><![CDATA[<p>swee18t schrieb:</p>
<blockquote>
<p>ich glaube martin oder so!!!<br />
Falls ich mich jetzt nicht irre.</p>
</blockquote>
<p>genau <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f642.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--slightly_smiling_face"
      title=":)"
      alt="🙂"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/390265</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/390265</guid><dc:creator><![CDATA[CrazyOwl]]></dc:creator><pubDate>Sun, 09 Nov 2003 17:35:20 GMT</pubDate></item></channel></rss>