<?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[Start-Menü programmieren - externe Programme starten]]></title><description><![CDATA[<p>Hallo Forum,</p>
<p>ich habe da ein Problem beim Programmieren mit Visual C++;<br />
Ich möchte gerne für eine Programm-CD ein Start-Menü erstellen. Meine Buttons sollen dabei 2 Arten von Befehlen ausführen:</p>
<p>1.) Explorer in einem Bestimmten Verzeichnis starten<br />
2.) Acrobat-Reader starten und eines meiner PDF-Dokumente (Anleitungen) auf der CD starten.</p>
<p>Ich hab's mit WinEXEC probiert (und den relativ operatoren .\ und ..\) aber da gibt's nen absturz wegen falsche Escape folge.</p>
<p>Auch kann dieser Befehl nur EXE dateien starten und keine PDF oder BAT bzw CMS's</p>
<p>hat da jemand eine Lösung Parat?</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/77311/start-menü-programmieren-externe-programme-starten</link><generator>RSS for Node</generator><lastBuildDate>Sun, 12 Apr 2026 14:35:28 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/77311.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 19 Jun 2004 20:46:46 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Start-Menü programmieren - externe Programme starten on Sat, 19 Jun 2004 20:46:46 GMT]]></title><description><![CDATA[<p>Hallo Forum,</p>
<p>ich habe da ein Problem beim Programmieren mit Visual C++;<br />
Ich möchte gerne für eine Programm-CD ein Start-Menü erstellen. Meine Buttons sollen dabei 2 Arten von Befehlen ausführen:</p>
<p>1.) Explorer in einem Bestimmten Verzeichnis starten<br />
2.) Acrobat-Reader starten und eines meiner PDF-Dokumente (Anleitungen) auf der CD starten.</p>
<p>Ich hab's mit WinEXEC probiert (und den relativ operatoren .\ und ..\) aber da gibt's nen absturz wegen falsche Escape folge.</p>
<p>Auch kann dieser Befehl nur EXE dateien starten und keine PDF oder BAT bzw CMS's</p>
<p>hat da jemand eine Lösung Parat?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/543944</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/543944</guid><dc:creator><![CDATA[wami]]></dc:creator><pubDate>Sat, 19 Jun 2004 20:46:46 GMT</pubDate></item><item><title><![CDATA[Reply to Start-Menü programmieren - externe Programme starten on Sat, 19 Jun 2004 21:13:29 GMT]]></title><description><![CDATA[<p>Hallo,</p>
<p>also fuer 1. sollte es mit einem einfachen</p>
<pre><code class="language-cpp">system(&quot;explorer.exe&quot;);
</code></pre>
<p>getan sein.</p>
<p>Achso, wenn du sagst, dass es ein bestimmtes Verzeichnis sein soll:<br />
Wenn du nur ein \ machst, interpretiert er das als Escape zeichenfolge.<br />
-----&gt; also nimmst du einfach 2 hintereinander. (&quot;..\\explorer.exe&quot;)</p>
<p>Achja und 2.)<br />
Wenn PDF-Files mit dem Reader assoziert sind(das sollten sie, wenn er installiert ist),dann kannst du auch tippen:</p>
<pre><code class="language-cpp">system(&quot;MeintollesPDF.pdf&quot;);
</code></pre>
<p>Und es sollte gehen.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/543958</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/543958</guid><dc:creator><![CDATA[[[global:guest]]]]></dc:creator><pubDate>Sat, 19 Jun 2004 21:13:29 GMT</pubDate></item><item><title><![CDATA[Reply to Start-Menü programmieren - externe Programme starten on Mon, 21 Jun 2004 06:22:13 GMT]]></title><description><![CDATA[<p>ich würd ShellExecute nehmen....</p>
]]></description><link>https://www.c-plusplus.net/forum/post/544622</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/544622</guid><dc:creator><![CDATA[..--..--..]]></dc:creator><pubDate>Mon, 21 Jun 2004 06:22:13 GMT</pubDate></item><item><title><![CDATA[Reply to Start-Menü programmieren - externe Programme starten on Mon, 21 Jun 2004 08:43:52 GMT]]></title><description><![CDATA[<p>wami schrieb:</p>
<blockquote>
<p>Ich hab's mit WinEXEC probiert (und den relativ operatoren .\ und ..\) aber da gibt's nen absturz wegen falsche Escape folge.</p>
</blockquote>
<p>das geht auch nicht. anstelle von \ musst du \\ setzen, da ein backslash die von dir genannte escape zeichenfolge ist (wird zum beispiel für: \n - zeilenumsprung; \t - Tabulator; usw. gebraucht)</p>
<p>mfg Emperor_L0ser</p>
]]></description><link>https://www.c-plusplus.net/forum/post/544707</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/544707</guid><dc:creator><![CDATA[Emperor_L0ser]]></dc:creator><pubDate>Mon, 21 Jun 2004 08:43:52 GMT</pubDate></item><item><title><![CDATA[Reply to Start-Menü programmieren - externe Programme starten on Sun, 29 Aug 2004 10:00:32 GMT]]></title><description><![CDATA[<p>Wie kann man die Progs dann wieder schließen?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/594319</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/594319</guid><dc:creator><![CDATA[feiadragon]]></dc:creator><pubDate>Sun, 29 Aug 2004 10:00:32 GMT</pubDate></item><item><title><![CDATA[Reply to Start-Menü programmieren - externe Programme starten on Mon, 30 Aug 2004 12:44:01 GMT]]></title><description><![CDATA[<p>Hi</p>
<p>Ich benutze</p>
<pre><code class="language-cpp">system(app.exe);
</code></pre>
<p>Gibt es eine möglichkeit ohne, dass noch ein &quot;cmd&quot;-Fenster geöffnet wird (möchte eine andere Windows-Anwendung starten.)</p>
]]></description><link>https://www.c-plusplus.net/forum/post/595258</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/595258</guid><dc:creator><![CDATA[addict]]></dc:creator><pubDate>Mon, 30 Aug 2004 12:44:01 GMT</pubDate></item><item><title><![CDATA[Reply to Start-Menü programmieren - externe Programme starten on Mon, 30 Aug 2004 12:50:04 GMT]]></title><description><![CDATA[<p>Hi</p>
<p>Ich benutze</p>
<pre><code class="language-cpp">system(app.exe);
</code></pre>
<p>Gibt es eine möglichkeit ohne, dass noch ein &quot;cmd&quot;-Fenster geöffnet wird (möchte eine andere Windows-Anwendung starten.)</p>
]]></description><link>https://www.c-plusplus.net/forum/post/595263</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/595263</guid><dc:creator><![CDATA[addict]]></dc:creator><pubDate>Mon, 30 Aug 2004 12:50:04 GMT</pubDate></item><item><title><![CDATA[Reply to Start-Menü programmieren - externe Programme starten on Mon, 30 Aug 2004 12:52:12 GMT]]></title><description><![CDATA[<p>Hallo,</p>
<p>da nimst du</p>
<pre><code class="language-cpp">ShellExecute(handle, &quot;open&quot;, &quot;app.exe&quot;, NULL, NULL, SW_HIDE);
</code></pre>
<p>MSDN</p>
<p>SW_HIDE Hides the window and activates another window.<br />
SW_MAXIMIZE Maximizes the specified window.<br />
SW_MINIMIZE Minimizes the specified window and activates the next top-level window in the z-order.<br />
SW_RESTORE Activates and displays the window. If the window is minimized or maximized, Windows restores it to its original size and position. An application should specify this flag when restoring a minimized window.<br />
SW_SHOW Activates the window and displays it in its current size and position.<br />
SW_SHOWDEFAULT Sets the show state based on the SW_ flag specified in the STARTUPINFO structure passed to the CreateProcess function by the program that started the application. An application should call ShowWindow with this flag to set the initial show state of its main window.<br />
SW_SHOWMAXIMIZED Activates the window and displays it as a maximized window.<br />
SW_SHOWMINIMIZED Activates the window and displays it as a minimized window.<br />
SW_SHOWMINNOACTIVE Displays the window as a minimized window. The active window remains active.<br />
SW_SHOWNA Displays the window in its current state. The active window remains active.<br />
SW_SHOWNOACTIVATE Displays a window in its most recent size and position. The active window remains active.<br />
SW_SHOWNORMAL Activates and displays a window. If the window is minimized or maximized, Windows restores it to its original size and position. An application should specify this flag when displaying the window for the first time.</p>
<p>einds von denen solte das sein um das komsolenfenster verschwinden zu lasen.</p>
<p>MFG TaccoGo</p>
]]></description><link>https://www.c-plusplus.net/forum/post/595267</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/595267</guid><dc:creator><![CDATA[TaccoGo]]></dc:creator><pubDate>Mon, 30 Aug 2004 12:52:12 GMT</pubDate></item><item><title><![CDATA[Reply to Start-Menü programmieren - externe Programme starten on Tue, 31 Aug 2004 09:43:27 GMT]]></title><description><![CDATA[<p>Ich habe es versucht!</p>
<p>Wenn ich aber kopilieren will kommt immer der Fehler:</p>
<pre><code class="language-cpp">error C2065: 'handle' : nichtdeklarierter Bezeichner
</code></pre>
<p>Was stimmt nicht?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/595882</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/595882</guid><dc:creator><![CDATA[addict]]></dc:creator><pubDate>Tue, 31 Aug 2004 09:43:27 GMT</pubDate></item><item><title><![CDATA[Reply to Start-Menü programmieren - externe Programme starten on Tue, 31 Aug 2004 11:17:47 GMT]]></title><description><![CDATA[<p>handle nicht deklariert? sagt doch schon die fehlermeldung!!!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/595950</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/595950</guid><dc:creator><![CDATA[bobstretch233]]></dc:creator><pubDate>Tue, 31 Aug 2004 11:17:47 GMT</pubDate></item><item><title><![CDATA[Reply to Start-Menü programmieren - externe Programme starten on Tue, 31 Aug 2004 12:42:10 GMT]]></title><description><![CDATA[<p>Hy , aus der MSDN folgt ...</p>
<p>ShellExecute Function<br />
Performs an operation on a specified file.<br />
Syntax<br />
HINSTANCE ShellExecute(</p>
<p>HWND hwnd,<br />
LPCTSTR lpOperation,<br />
LPCTSTR lpFile,<br />
LPCTSTR lpParameters,<br />
LPCTSTR lpDirectory,<br />
INT nShowCmd<br />
);</p>
<p>Parameters<br />
hwnd<br />
[in] Handle to a parent window. This window receives any message boxes that an application produces, such as error reporting.</p>
<p>d.h entweder du übergibst also ein handle oder aber du willst es eigenstädig laufen lassen und somit übergibst du für hwnd einfach 0 ...</p>
]]></description><link>https://www.c-plusplus.net/forum/post/596057</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/596057</guid><dc:creator><![CDATA[wuTangl]]></dc:creator><pubDate>Tue, 31 Aug 2004 12:42:10 GMT</pubDate></item><item><title><![CDATA[Reply to Start-Menü programmieren - externe Programme starten on Tue, 31 Aug 2004 13:18:45 GMT]]></title><description><![CDATA[<p>Es fukntioniert!<br />
Habe MSDN <strong>noch</strong> nicht installiert! Hole dies gleich nach... <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 />
Vielen Dank für die Antwort!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/596105</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/596105</guid><dc:creator><![CDATA[addict]]></dc:creator><pubDate>Tue, 31 Aug 2004 13:18:45 GMT</pubDate></item></channel></rss>